Hi guys,
Since 1.4.0 released on Kamailio, I've been testing it on my R&D
server. With the introduction of RLS, I'm trying to implement this
module along with presence on my box, however, I'm having this error
messages whenever rls_handle_subscribe() been called.
------------------------------------------------------------------------
Aug 14 00:06:03 localhost /sbin/kamailio[5139]: INFO:
[sip:davidloh@192.168.72.128](192.168.72.1) - [eyeBeam release 1100l
stamp 46319] entered
Aug 14 00:06:03 localhost /sbin/kamailio[5139]: DBG: Request [SUBSCRIBE]
from [sip:davidloh@192.168.72.128] (192.168.72.1)
Aug 14 00:06:03 localhost /sbin/kamailio[5139]:
_ERROR:db_mysql:db_mysql_submit_query: driver error on query: Unknown
column 'str_doc_col' in 'field list'_
Aug 14 00:06:03 localhost /sbin/kamailio[5139]: ERROR:core:db_do_query:
error while submitting query
Aug 14 00:06:03 localhost /sbin/kamailio[5139]:
ERROR:rls:get_resource_list: while querying table xcap for
[uri]=sip:davidloh@192.168.72.128
Aug 14 00:06:03 localhost /sbin/kamailio[5139]:
ERROR:rls:rls_handle_subscribe: while attepmting to get a resource list
Aug 14 00:06:03 localhost /sbin/kamailio[5139]:
ERROR:rls:rls_handle_subscribe: occured in rls_handle_subscribe
------------------------------------------------------------------------
Have been google around for the solution but couldn't find any.
Appreciate if anyone could enlighten me on this.
Meanwhile, I was wondering if any of could enlighten me on how to
get Kamailio + Presence + RLS works? No matter how I configure, SIP
client (eyeBeam) seems not able to pull out any buddies-list/anything
right from XCAP (integrated XCAP from Kamailio). Following is my
configuration (unnecessary part have been striped)
------------------------------------------------------------------------
loadmodule "sl.so"
loadmodule "tm.so"
loadmodule "db_mysql.so"
loadmodule "presence.so"
loadmodule "presence_xml.so"
modparam("presence_xml", "force_active", 1)
modparam("presence_xml", "xcap_table", "xcap")
modparam("presence_xml", "pidf_manipulation", 0)
modparam("presence_xml", "integrated_xcap_server", 1)
modparam("presence", "presentity_table", "presentity")
modparam("presence", "active_watchers_table", "active_watchers")
modparam("presence", "watchers_table", "watchers")
modparam("presence", "clean_period", 100)
modparam("presence", "server_address", "sip:192.168.72.128:5060")
loadmodule "imc.so"
loadmodule "mi_xmlrpc.so"
modparam("mi_xmlrpc", "log_file", "/var/log/kamailio-xmlrpc.log")
modparam("mi_xmlrpc", "port", 8080)
loadmodule "pua.so"
loadmodule "rls.so"
modparam("rls", "integrated_xcap_server", 1)
modparam("rls", "xcap_root", "http://192.168.72.128/xcap-root:8080")
modparam("rls", "rls_event", "presence")
modparam("rls", "to_presence_code", 10)
loadmodule "xcap_client.so"
modparam("xcap_client", "xcap_table", "xcap")
modparam("xcap_client", "query_period", 50)
modparam("presence|presence_xml|imc|pua\rls", "db_url",
"mysql://myuserid:mypassword@localhost/kamailio")
...........
route[0] {
....
if (is_method("NOTIFY")) {
pua_update_contact();
route(4);
} else if (is_method("PUBLISH|SUBSCRIBE")) {
route(5);
}
route[5] {
if (!t_newtran()) {
sl_reply_error();
exit;
};
if(is_method("PUBLISH")) {
handle_publish();
t_release();
} else if( is_method("SUBSCRIBE")) {
$var(ret_code) = rls_handle_subscribe();
if($var(ret_code)==10) {
handle_subscribe();
}
t_release();
} else if(is_method("NOTIFY")) {
rls_handle_notify();
xlog("L_INFO", "DBG: RLS handle_notify()");
}
exit;
}
------------------------------------------------------------------------
Did I missed anything ?
Thanks,
David Loh
Hello,
I just need a confirmation.
We have Kamailio 1.3 running in production and it is working fine.
But we received some reports from our OAM team that sometimes they want to
set a non-numeric prefix at carrierroute::scan_prefix (like 'abc.') and this
seems to not work. I have no complete details but it seems
cr_user_rewrite_uri will fail if scan_prefix holds a non-numeric prefix.
So I just like to know if scan_prefix is supposed to work with non-numeric
prefixes or not.
Regards,
takeshi
Hello all,
I'm looking for an updated sample of "ser.cfg" who can help me about the use
of Radius for authentication.
Since release 2.0.0, it seems the function "www_challenge" does not exist
...
If anyone has a config part concerning Register + Auth with Radius, it could
be very helpfull !
In second point, I just wanna know if a database is always needed for
multi-domains environment ?
I've some problems with functions like lookup_domain.
Many thanks,
Samuel MULLER
I'm using uac_redirect module to handle redirect and accounting from
openser. Redirect works fine so as cdr but I'm not getting how to write
redirect reason in cdr. I didn't find any way to find and store redirect
reason(call forward, busy, no answer) in CDR. Does anyone know how to do it?
Hi
I am trying to run new kamailio 1.4 but have this errors:
*Aug 11 12:56:44 [20808] ERROR:uri_db:mod_init: Invalid table version of the
subscriber table
Aug 11 12:56:44 [20808] ERROR:core:init_mod: failed to initialize module
uri_db
Aug 11 12:56:44 [20808] ERROR:core:main: error while initializing modules*
I have created new database 'kamailio' using kamdbctl and 'version' table
has this values:
table_name: subscriber
table_version: 6
any idea?
rafael
PS: same problem with opensips 1.4...
Hello,
On 08/12/08 16:39, Adam Linford wrote:
> Good stuff!
>
> I think that, for the most part, the business and technical facets of
> the organisation should remain fairly distinct. The board needs
> representation with regards to technical direction (and should have
> this input from the organisations official 'members' under my
> understanding of the current proposal), but its purpose should be to
> keep developers free to code, and users free to use, safe in the
> knowledge that resources will be made available (where neccessary) for
> the project to achieve its objectives (both long and short term).
yes, there are going to be no restrictions in usage or coding, but have
an organization with legal framework behind that can take care of
trademarks, manage resources and administration of the project.
>
> We could make non-executive positions on the board available.
A good suggestion.
> These should be unbiased people.. perhaps invite some big names in the
> SIP field, that can provide an independent review of the boards
> activities, as well as assisting the board in its role. This is a
> tried and tested directorial structure that would also appeal to the
> corporate world, which in turn might make it easier to achieve
> corporate sponsorship/contributions/membership (as well as adoption of
> the software in industry!).
>
> I don't think an executive committee is needed within the board.. the
> board itself should suffice. If it doesn't, we don't have the right
> board. I would suggest keeping the main board size small (5-8) to
> keep it agile whilst maintaining good representation of members
I think would be good to have some clear positions so people should know
who to address to when comes to dealing with the foundation. Also, by
this, people can allocate the proper time in their schedule for the
tasks. We may avoid in this way some members expecting the others to do
some work.
>
> Election rules need discussing.. duration of term for board and also
> the achievement of 'member' status.. we dont want potential developers
> discouraged from working with us in the traditional open source model
> because they would have too much responsibility placed on them to be
> 'active members'.
Being an active member is just free will. But we want to avoid being a
member with voting right just by paying some money. That meber should
show interest and contribute to the project in a positive manner.
Indeed, this needs to be addressed.
>
> Frequency of meetings etc are all relatively easy decisions that can
> be deferred to the board once i elected.
Yes, I believe the same.
Cheers,
Daniel
>
> Cheers,
> Adam
>
> On 12 Aug 2008, at 12:16, Daniel-Constantin Mierla wrote:
>
>> Hello everybody,
>>
>> I think it is the time to move forward with project management
>> structure. During last days there were talks and discussions on the
>> lists, the solution to make the project independent and long term
>> trustable is to create a foundation.
>>
>> We made a draft of purpose and organization structure and we want to get
>> your comments.
>>
>> http://www.kamailio.net/dokuwiki/doku.php/admin:foundation-draft
>>
>> For the statute we are looking at similar cases of foundations around
>> open source projects. Considering the developer population and
>> contributors, I find as good and reliable place to register the
>> foundation to be Germany.
>>
>> There is still long way to go and a lot to discuss:
>>
>> *
>>
>> membership fees
>>
>> *
>>
>> how one can become a full member (associate member can be anyone
>> that is friend of the project and pays the membership fee)
>>
>> *
>>
>> how a member loses the board or full member rights
>>
>> *
>>
>> how the board is supervised
>>
>> o
>>
>> when and how the reports of the board are presented
>>
>> o
>>
>> when and how the general assembly meeting takes place
>>
>> o
>>
>> how the reports are approved by full members
>>
>> *
>>
>> how to change the statute over time
>>
>> ... and perhaps more, but if we start and put some effort we can have it
>> ready in reasonable time, avoiding trust and reliability issues in long
>> term.
>>
>> Let's have debates here and contribute the results to the wiki.
>>
>> Cheers,
>> Daniel
>>
>> --
>> Daniel-Constantin Mierla
>> http://www.asipto.com
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users(a)lists.kamailio.org
>> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
>
--
Daniel-Constantin Mierla
http://www.asipto.com
Hello again,
The uac_replace_from issue led me to another problem. The branch_route is not
always called even though I set it using t_on_branch everytime from
REQUEST_ROUTE and FAILURE_ROUTE. The failing scenario is as follows:
The call is routed to 2 domains (A,B) each with 2 SRV records (1,2).
t_on_branch
relay domainA
branch domainA-1 - timeout
branch domainA-2 - 480
failure route
append_branch
t_on_branch
relay domainB
branch domainB-1 - timeout
branch domainB-2 - 200 OK ==> this branch doesn't call the branch_route
Any idea's ?
--
Greetings,
Alex Hermann
hello sir
i'm bimbim, student from indonesia
now i'm trying to finish my final project
my final project is about SER
i have trouble with that
when i start /etc/init.d/ser start there is an error with assigning addres
below is the configuration of my ser
------------------------------------------------------------------------------------------------------------------------
cnc9@cnc9-desktop:/var/run/ser$ sudo /etc/init.d/ser start
Starting ser: serListening on
udp: 10.14.200.95 [10.14.200.95]:5060
udp: 2001:660:4701:1:0:0:0:1 [2001:660:4701:1:0:0:0:1]:5060
udp: sip4.sipv6.net [10.14.200.101]:5060
udp: sip6.sipv6.net [2001:660:4701:1:0:0:0:2]:5060
tcp: 10.14.200.95 [10.14.200.95]:5060
tcp: 2001:660:4701:1:0:0:0:1 [2001:660:4701:1:0:0:0:1]:5060
tcp: sip4.sipv6.net [10.14.200.101]:5060
tcp: sip6.sipv6.net [2001:660:4701:1:0:0:0:2]:5060
Aliases:
tcp: localhost:5060
tcp: cnc9-desktop.local:5060
udp: localhost:5060
udp: cnc9-desktop.local:5060
stateless - initializing
0(0) .
cnc9@cnc9-desktop:/var/run/ser$ Maxfwd module- initializing
textops - initializing
0(0) INFO: udp_init: SO_RCVBUF is initially 109568
0(0) INFO: udp_init: SO_RCVBUF is finally 219136
0(0) INFO: udp_init: SO_RCVBUF is initially 109568
0(0) INFO: udp_init: SO_RCVBUF is finally 219136
0(0) INFO: udp_init: SO_RCVBUF is initially 109568
0(0) INFO: udp_init: SO_RCVBUF is finally 219136
* 0(0) ERROR: udp_init: bind(6, 0x80f8d7c, 16) on 10.14.200.101: Cannot
assign requested address*
------------------------------------------------------------------------------------------------------------------------
i also attached my ser.cfg
i hope you can help me resolve this problem
thank you
Hello,
i'm still fighting with the very annoying lump model that OpenSER uses. I need
to send out INVITE's with different From headers in a failover situation.
More specifically I need to send out each step -original request and
failure_routes- with a different From header. If any request forks (parallel
or serial due to DNS SRV or registered contacts), it needs to keep current
(same) the replacement From on all branches.
I tried the following:
try 1:
REQUEST_ROUTE:
uac_replace_from(a)
t_relay();
FAILURE_ROUTE:
append_branch()
uac_replace_from(b)
t_relay()
the second uac_replace_from always produces garbage in the From
try 2:
REQUEST_ROUTE:
t_newtran()
uac_replace_from(a)
t_relay();
FAILURE_ROUTE:
append_branch()
uac_replace_from(b)
t_relay()
Now the second uac_replace_from is correct, but when the first t_relay() does
dns based failover, the original from is used for the second branch instead
of the replacement.
If the response code is locally generated 408, the second uac_replace_from
produces garabage too.
Is someone aware of a working solution for this (very common) situation?
--
Greetings,
Alex Hermann