[SR-Users] A general SIP question

2013-06-14 Thread Gang Wang
Hi, I'm new to SIP server. I have a task on hand and try to research for a solution. I need to develop a service emulator for handling RCS requests. is It possible to use Kamailio SIP server to handle GSMA's RCS-Standards compliant requests? Please point me to the right doc/tutorials. Thanks i

Re: [SR-Users] memcache problem - reporting protocol error

2013-06-14 Thread Henning Westerholt
Am Freitag, 7. Juni 2013, 12:07:00 schrieb Charles Chance: > Yes, that should work fine. > > Cheers, Hello Dragos, just one thing to add - if you find any issues with the master version of the module, please report to our developer list that we could take a look. Best regards, Henning Westerh

Re: [SR-Users] Is single line Via with multiple entries allowed?

2013-06-14 Thread Mino Haluz
Thank you Daniel, even though it was not related, I set it to 1, and error disappeared. I read RFC about 503 and could not find info, that 503 should be remapped to 500.. On Fri, Jun 14, 2013 at 5:46 PM, Daniel-Constantin Mierla wrote: > Hello, > > they are not related, the warning is usually

Re: [SR-Users] Is single line Via with multiple entries allowed?

2013-06-14 Thread Daniel-Constantin Mierla
Hello, they are not related, the warning is usually for requests, but is harmless anyhow. Changing 503 in 500 is from RFC specs, but you can disable it: http://kamailio.org/docs/modules/stable/modules/tm.html#remap_503_500 Cheers, Daniel On 6/14/13 5:42 PM, Mino Haluz wrote: Hi, I'm strug

Re: [SR-Users] Is single line Via with multiple entries allowed?

2013-06-14 Thread Alex Balashov
Yes. That is not the source of your error. Mino Haluz wrote: >Hi, > >I'm struggling to solve one problem with 503 reply code. > >Kamailio receives 503 and changes it to 500, with error in log > >WARNING: script writer didn't release transaction > >I inspected incoming 503 (from Cisco gateway),

[SR-Users] Is single line Via with multiple entries allowed?

2013-06-14 Thread Mino Haluz
Hi, I'm struggling to solve one problem with 503 reply code. Kamailio receives 503 and changes it to 500, with error in log WARNING: script writer didn't release transaction I inspected incoming 503 (from Cisco gateway), everything seems to be ok except for Via: SIP/2.0/UDP localip:5060;branch

[SR-Users] Error with ACK from SIPML5

2013-06-14 Thread Jayesh Nambiar
Hello All, I have a setup which is SIPML5 -> Kamailio(Websocket) -> Freeswitch. All I am trying to do is initiate a call from SIPML5 and Play a Music file from freeswitch. This works, but the call hangs up after 30 seconds due to ACK timeout from from the SIPML5. What I can see is the SIPML5 from

Re: [SR-Users] location() vs registered()

2013-06-14 Thread Victor V. Kustov
Hello, Olle! >> Whats difference between registered("location") and >> lookup("location")? >THe first one returns TRUE if an AOR is registred. thanks. if (!lookup("location",$dlg_var(callee)) && !lookup("location",$dlg_var(caller))) route(TRANSIT); why i get error: loading modules under /usr

Re: [SR-Users] Regd. S-CSCF

2013-06-14 Thread Camille Oudot
Le Fri, 14 Jun 2013 17:06:14 +0530, Shankar a écrit : > I am new to Kamailio. I need a sample S-CSCF config file to test and > understand. Please help. Hi Sankar, you will find samples for P, I and S-CSCF in the kamailio repository in the 'examples' dir: http://git.sip-router.org/cgi-bin/gitwe

Re: [SR-Users] Regarding Instant messaging using TCP on Kamailio 3.3

2013-06-14 Thread Sunil Chandrasekharan
Hi All, I have set up Kamailio 3.3 on Ubuntu machine.I created two user test 1 and test 2. I could use Presence and also i was able to register to Kamailio server and exchange presence status with each other. Details- I used TCP protocol . testing methods - Linphone, I am able to register succe

Re: [SR-Users] app_python module fails with "AttributeError: init_modules() has failed"

2013-06-14 Thread phil lemelin
Is there anything I can do to help with pinpointing the failure ? I have 2 different installations where I can compile kamailio 4.0.2 ( CentOS 6 where app_python fails and Ubuntu 12.10 where app_python works ). Best regards, On Fri, Jun 14, 2013 at 8:10 AM, Konstantin M. wrote: > Ok, I can con

[SR-Users] Proposal for dialog: DLG_STATE_EARLY

2013-06-14 Thread Halina Nowak
These modifications were implementated for dialogs having PRACK and UPDATE --- a/modules/dialog/dlg_handlers.cFri Jun 14 13:45:41 2013 +0200 +++ b/modules/dialog/dlg_handlers.cFri Jun 14 13:55:24 2013 +0200 @@ -1249,16 +1249,18 @@ } if ( (event==DLG_EVENT_REQ || event==DLG_EVEN

Re: [SR-Users] app_python module fails with "AttributeError: init_modules() has failed"

2013-06-14 Thread Konstantin M.
Ok, I can confirm, something is not good there. Not sure what exactly but I will look at this as soon as possible and push a fix if needs. 2013/6/13 phil lemelin > Good day people, > > I downloaded the source code for Kamailio on my CentOS 6 server and did > the following : > > Modified the mod

[SR-Users] dialog: cseq

2013-06-14 Thread Halina Nowak
Proposal for cseq: cseq numbering: --- a/modules/dialog/dlg_handlers.cWed Apr 03 13:33:38 2013 +0200 +++ b/modules/dialog/dlg_handlers.cFri Jun 14 13:39:47 2013 +0200 @@ -220,7 +220,7 @@ cseq = (get_cseq(msg))->number; } else { /* use the same as in request */ -

Re: [SR-Users] ds_is_from_list does not work in my code

2013-06-14 Thread Daniel-Constantin Mierla
Hello, if the port is set in the dispatcher URIs, then it is used in comparison as well. Cheers, Daniel On 6/13/13 4:44 PM, Mino Haluz wrote: Hi, what this function in fact does? It only compares host from dispatcher list and $si ? or it compares with source port as well ? I'm distributi

[SR-Users] Regd. S-CSCF

2013-06-14 Thread Shankar
Hi, I am new to Kamailio. I need a sample S-CSCF config file to test and understand. Please help. Regards, Shankar ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-route

[SR-Users] Regarding Instant messaging using TCP on Kamailio 3.3

2013-06-14 Thread Sunil Chandrasekharan
Hi All, I have set up Kamailio 3.3 on Ubuntu machine.I created two user test 1 and test 2. I could use Presence and also i was able to register to Kamailio server and exchange presence status with each other. Details- I used TCP protocol . testing methods - Linphone, a sample application. I am

Re: [SR-Users] kamailio and virtual IP

2013-06-14 Thread Mino Haluz
Ok, this works, but dispatcher module keeps on sending OPTIONS from non-existent interface and it generates lots of errors, that I do not like much :) These two hosts share one dispatcher table, so I cannot set it to active non-probing mode. On Fri, Jun 14, 2013 at 10:56 AM, Alex Balashov wrote:

Re: [SR-Users] kamailio and virtual IP

2013-06-14 Thread Alex Balashov
Hello Mino, On 06/14/2013 04:53 AM, Mino Haluz wrote: If I bind to non-existent IP address, than there is problem with sending OPTIONS. Perhaps this can help? echo 1 > /proc/sys/net/ipv4/ip_nonlocal_bind This will allow you to bind to IPs that don't correspond to any existing interfaces

Re: [SR-Users] kamailio and virtual IP

2013-06-14 Thread Mino Haluz
I am always witnessing the fact, that administration of 3rd party HA software cost you more problems, than coding your own system which you understand deeply. That's why I've done RPC services in python which do the job for me and works in much more flexible way, than manual editing of XML files o

Re: [SR-Users] location() vs registered()

2013-06-14 Thread Olle E. Johansson
14 jun 2013 kl. 10:33 skrev "Victor V. Kustov" : > Hi all! > > Whats difference between registered("location") and lookup("location")? THe first one returns TRUE if an AOR is registred. The second one - lookup - changes the destination set of the current request based on the registred contacts

[SR-Users] location() vs registered()

2013-06-14 Thread Victor V. Kustov
Hi all! Whats difference between registered("location") and lookup("location")? -- WBR, Victor JID: coy...@bks.tv JID: coy...@bryansktel.ru I use FREE operation system: 3.9.4-calculate GNU/Linux ___ SIP Express Router (SER) and Kamailio (OpenSE

Re: [SR-Users] config test

2013-06-14 Thread Victor V. Kustov
Hello, Mino Haluz! >kamailio -c > > OK thank you. -- WBR, Victor JID: coy...@bks.tv JID: coy...@bryansktel.ru I use FREE operation system: 3.9.4-calculate GNU/Linux ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-

[SR-Users] kamailio and virtual IP

2013-06-14 Thread phillman25
Hi Mino I have set up this scenario using heartbeat on both hosts and it works wonderfully. Regards Phillip Message: 1 Date: Fri, 14 Jun 2013 08:15:28 +0200 From: Mino Haluz To: "SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users Mailing List" Subject: [SR-Use

Re: [SR-Users] config test

2013-06-14 Thread Mino Haluz
kamailio -c On Fri, Jun 14, 2013 at 9:29 AM, Victor V. Kustov wrote: > Hi all! > > Is check config without restart possible? > > -- > WBR, Victor > JID: coy...@bks.tv > JID: coy...@bryansktel.ru > I use FREE operation system: 3.9.4-calculate GNU/Linux > >

[SR-Users] config test

2013-06-14 Thread Victor V. Kustov
Hi all! Is check config without restart possible? -- WBR, Victor JID: coy...@bks.tv JID: coy...@bryansktel.ru I use FREE operation system: 3.9.4-calculate GNU/Linux ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-u