Re: [SR-Users] Hi Daniel.

2012-03-16 Thread graham
I am no Daniel, but here is a stab at it ... The pseudo variable ³oP² maybe something you can do a quick if/else on? Taken from http://www.kamailio.org/dokuwiki/doku.php/pseudovariables:1.5.x : Transport protocol of SIP request original URI $oP - reference to transport protocol of

Re: [SR-Users] Presence in Kamailio

2012-03-16 Thread Andreas Granig
Hi, On 03/16/2012 10:03 PM, Faisal Rehman wrote: > Yeah Kamailio is a purely SIP Server but as you have clearly mentioned > that the Kamailio XMPP module is a stand-alone XMPP server, with no > requirement for another XMPP server in the system; that is why I am > using this module to get the stand

Re: [SR-Users] Presence in Kamailio

2012-03-16 Thread Faisal Rehman
Hi Daniel, Yeah Kamailio is a purely SIP Server but as you have clearly mentioned that the Kamailio XMPP module is a stand-alone XMPP server, with no requirement for another XMPP server in the system; that is why I am using this module to get the stand-alone functionality of Kamailio XMPP serve

Re: [SR-Users] DRouting cause Kamailio 3.2 to stop

2012-03-16 Thread Daniel-Constantin Mierla
Hello, finally I had the time to look at the documents you sent. The problem is that you have recursive execution of do_routing("0") from do_routing("0"). This happens because you have route[4] like: route[4] { if (!do_routing("0")) { send_reply("503", "No Rules matching the URI");

[SR-Users] Hi Daniel.

2012-03-16 Thread Andres Collazos
thanks for all the support for all this years. Can you please help me to know if there is any way to route sip calls based on transport protocol, for example a call incoming on tcp i will assign a route and if a call comes in udp i will assign a different route. my scenario is calls coming from

Re: [SR-Users] Again problems with ACK and Bye

2012-03-16 Thread Daniel-Constantin Mierla
Hello, On 3/16/12 4:43 PM, Stoyan Mihaylov wrote: In wireshark, there are 2 fields - Source and Destination. I am curious if there are variables in Kamailio which can show me those values. are you looking for $si (source ip) and $Ri (received ip)? System: MYIP - IP of kamailio sip.mydomain.co

Re: [SR-Users] [kamailio 3.1.2] timer issue

2012-03-16 Thread Daniel-Constantin Mierla
Hello, On 3/16/12 2:52 PM, Ravi DHIRAJLAL wrote: Hi Daniel we've installed kamailio 3.1.2 but we have a problem in some type of calls towards IVR machine : an INVITE is replied after a few seconds by 183 session progress starting from that 183, the caller hears a (waiting) message and can c

Re: [SR-Users] add_contact_alias and handle_ruri_alias vs fix_nated_contact

2012-03-16 Thread Klaus Darilion
On 16.03.2012 17:14, yufei.tao wrote: Hi I have been using fix_nated_register/fix_nated_contact for NAT traversal and all worked fine. I've come across add_contact_alias and handle_ruri_alias: http://sip-router.org/wiki/tutorials/alias-example where it says: "The benefits of using add_contact

[SR-Users] add_contact_alias and handle_ruri_alias vs fix_nated_contact

2012-03-16 Thread yufei.tao
Hi I have been using fix_nated_register/fix_nated_contact for NAT traversal and all worked fine. I've come across add_contact_alias and handle_ruri_alias: http://sip-router.org/wiki/tutorials/alias-example where it says: "The benefits of using add_contact_alias() and handle_ruri_alias() functions

[SR-Users] Again problems with ACK and Bye

2012-03-16 Thread Stoyan Mihaylov
In wireshark, there are 2 fields - Source and Destination. I am curious if there are variables in Kamailio which can show me those values. System: MYIP - IP of kamailio sip.mydomain.com - address of kamailio User (Imsdroid for Android) ->Kamailio->Asterisk->Kamailio (same) ->Other user. Problem -

[SR-Users] [kamailio 3.1.2] timer issue

2012-03-16 Thread Ravi DHIRAJLAL
Hi Daniel we've installed kamailio 3.1.2 but we have a problem in some type of calls towards IVR machine : an INVITE is replied after a few seconds by 183 session progress starting from that 183, the caller hears a (waiting) message and can choose between several options by sending DTMF tones

Re: [SR-Users] define-check for dlg_var doesn't work

2012-03-16 Thread Daniel-Constantin Mierla
Hello, On 3/16/12 10:56 AM, Sven Knoblich wrote: Hi Daniel, i just hit reply so no one else got my answer. I have done the fix for master and 3.2. all fine, thanks for taking time to test, commit and backport. Cheers, Daniel Thanks for you help, Sven Am 15.03.2012 23:16, schrieb Daniel-C

Re: [SR-Users] define-check for dlg_var doesn't work

2012-03-16 Thread Sven Knoblich
Hi Daniel, i just hit reply so no one else got my answer. I have done the fix for master and 3.2. Thanks for you help, Sven Am 15.03.2012 23:16, schrieb Daniel-Constantin Mierla: Hello, from the code, I see that if the value does not exists, the get-function for dlg_var is just returning 0.

Re: [SR-Users] define-check for dlg_var doesn't work

2012-03-16 Thread Daniel-Constantin Mierla
On 3/16/12 10:25 AM, Sven Knoblich wrote: Thanks Daniel, this solves the problem. I will fix it for master and cherry pick it for 3.2 as well. ok -- keeping the list cc-ed will allow people reading the thread on users to see the final results. Cheers, Daniel Bye Sven Am 15.03.2012 23:1

Re: [SR-Users] ser.cofig

2012-03-16 Thread SamyGo
shouldn't it be like if(is_method("REGISTER")) and the next thing you're requiring is always in the sample configuration file just search ofr the code area where REGISTERs are handled. save("location"); is the function which saves the authenticated user in openser DB. On Thu, Mar 15, 2012 at

Re: [SR-Users] Needed Modules Functions

2012-03-16 Thread Vineet Menon
this link might be of your help http://www.kamailio.org/wiki/cookbooks/3.2.x/core Regards, Vineet Menon On 16 March 2012 12:50, Marwan Idriss wrote: > Greeting, > > I need a detailed modules explanation and their function > > Regards > > Marwan > > __

Re: [SR-Users] Kamailio consumes memory

2012-03-16 Thread Martin Tichatschek
Thanks for your suggestions, I finally found my problem. I used a xml file for the SIPp were no branch parameter was included in the VIA header (which is not RFC compliant). With such messages the Kamailio 3.x.x seems to have problems whereas Kamailio 1.5.0 is doing fine. I will protect my Kam

[SR-Users] Needed Modules Functions

2012-03-16 Thread Marwan Idriss
Greeting, I need a detailed modules explanation and their function Regards Marwan ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

[SR-Users] ser.cofig

2012-03-16 Thread Marwan Idriss
Greeting, I want to do the following : if (method=="REGISTER") { then save the message received in the ser database } Regards Marwan ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://l