[SR-Users] 404", "Not Found location"

2016-06-14 Thread Sébastien Brice
Hi guys when i try to register i have route[LOCATION] that returns "404 Not Found location" due to this statement: $avp(oexten) = $rU; if (!lookup("location")) { $var(rc) = $rc; route(TOVOICEMAIL); t_newtran(); swit

[SR-Users] Kamailio + ToS

2016-06-14 Thread Marcelo Bonin
Hello, I need to know what are the available parameters to set ToS on Kamailio. I couldn't found much information about that, only this https://www.kamailio.org/wiki/cookbooks/4.0.x/core#tos but there is no reference for the available parameters. Thanks, Marcelo. _

[SR-Users] HTTP query at the end of a phone call

2016-06-14 Thread Jay Li
Dear All, I'd like to send a HTTP call to a HTTP server whenever a call routed through a Kamailio server ends. By looking at the document, seems I should use http_query() function in the utils module. I wonder which route function I should put the http_query()  in assuming we use the default kam

[SR-Users] uac.reg_refresh not removing records from memory

2016-06-14 Thread DanB
Hey Guys, I was wondering if there is any dynamic way today to remove a single registration out of memory (and implicitly to force un-REGISTER) Eg: I add one record using uac.reg_refresh (which works fine) but after removing the record from the database and executing uac.reg_refresh again, the

Re: [SR-Users] Kamailio consult CNAM server through SIP Subscribe.

2016-06-14 Thread José Seabra
Hi Olle and Daniel, Thank you for your replies, After receive your msg I looked again to my script and i found the problem. I didn't configure the correct failure_route block and the failure route configured didn't print any msg on the logs, so I thought that it wasn't entering on failure route.

Re: [SR-Users] Kamailio consult CNAM server through SIP Subscribe.

2016-06-14 Thread Daniel-Constantin Mierla
Hello, indeed, the failure_route setting should work for the SUBSCRIBE received locally. Be sure the default timeout for TM (set in modparam) is less than the then one you set for the received SUBSCRIBE (set it with t_set_fr()), to be sure that the original uac_req transaction doesn't timeout befo

Re: [SR-Users] kamailio TLS mod_register failed

2016-06-14 Thread Daniel-Constantin Mierla
Hello, are you providing -m command line parameter? If not, can you try adding it (e.g., -m 64) to the command starting kamailio, like: kamailio -m 64 ... Using kamctl is not really recommended to start kamailio. Cheers, Daniel On 14/06/16 13:21, wanmon wanmon wrote: > > kamctl start > ERROR

Re: [SR-Users] Kamailio consult CNAM server through SIP Subscribe.

2016-06-14 Thread Olle E. Johansson
> On 14 Jun 2016, at 15:45, José Seabra wrote: > > Hello, > > Regarding to this implementation, I'm sending SIP Subscribe message from > uac_req_send function to CNAM server but it is unavailable and Kamailio > doesn't receive any reply from CNAM server, What I'm noticing is that > kamailio

Re: [SR-Users] Kamailio consult CNAM server through SIP Subscribe.

2016-06-14 Thread José Seabra
Hello, Regarding to this implementation, I'm sending SIP Subscribe message from uac_req_send function to CNAM server but it is unavailable and Kamailio doesn't receive any reply from CNAM server, What I'm noticing is that kamailio is retransmitting the SIP Subscribe msg until get "408 request time

Re: [SR-Users] kamailio TLS mod_register failed

2016-06-14 Thread wanmon wanmon
  kamctl start ERROR: PID file /var/run/kamailio.pid does not exist -- Kamailio start failed   2016-06-14T13:29:39.269439+02:00 host kamailio: DEBUG: [cfg.y:1619]: yyparse(): loading modules under /usr/local/lib64/kamailio/modules/ 2016-06-14T13:29:39.270075+02:00 host kamailio: DEBUG: [cfg

Re: [SR-Users] question about RTPengine

2016-06-14 Thread Dmitry
Hi when I try to remove these extra SDP line I insert the following code to the script:in INTERNAL_REPLY onreply_route if($T_reply_code=="200")        {             if(has_body("application/sdp"))            {xlog("L_INFO", "RTPENGINE received internal reply $T_reply_code $rr SD

Re: [SR-Users] kamailio TLS mod_register failed

2016-06-14 Thread Daniel-Constantin Mierla
Set debug=3 in kamailio.cfg and send all log messages from the moment kamailio is started. Cheers, Daniel On 13/06/16 15:50, wanmon wanmon wrote: > > still same error: > > > *2016-06-13T16:02:54.359934+02:00 host kamailio: ERROR: tls > [tls_init.c:490]: tls_pre_init(): Unable to set the m

Re: [SR-Users] IP TOS

2016-06-14 Thread Daniel-Constantin Mierla
Good to know being confirmed -- you can add to the wiki core cookbook more details about this parameter, if you feel it is helpful. Cheers, Daniel On 14/06/16 05:16, Daniel W. Graham wrote: > > Confirmed working, thanks! > > > > -dan > > > > *From:*sr-users [mailto:sr-users-boun...@lists.sip

[SR-Users] Fwd: [Free-RTC] GSoC progress, more mentors?

2016-06-14 Thread Daniel Pocock
This report was sent to the Free-RTC list https://lists.fsfe.org/mailman/listinfo/free-rtc Most of the projects have an emphasis on SIP If anybody wants to facilitate testing the new Telepathy/Empathy SIP connection manager code against Kamailio or other SIP proxies, registrars and presence ser