Re: [SR-Users] Relaying ACK to Asterisk

2014-09-25 Thread Igor Potjevlesch
Hello Andres, He looks like this: alias=sip.domain.tld:5060 I also tried to add Alias=:5060 and :4060 The only difference I seen in the debug is this line: > DEBUG: [forward.c:448]: check_self(): check_self: host != me. The line was not present if I set aliases with :4060. But the behaviour loo

[SR-Users] Unconditional Call forwarding

2014-09-25 Thread Rajesh Sharma
Hi . I have installed Kamailio 4.1.6 and basic registration and proxy server functionalities are working fine. Now I want to simulate a Unconditional call forwarding scenario with 181-Call is being forwarded is reported to originator from server. Thanks ___

[SR-Users] Kamailio With RTP proxy BYE not receiving

2014-09-25 Thread balu
Hi I am using kamailio with rtp proxy module. I have 2 questions /issues . 1. When caller or callee ends the call the other end call is not disocnnecting . UA is pjsip based and behind NAT router. Present call flow is pjsipUA (LAN_ip)->Router (Publicip)>Kamailio_with_RTP proxy---

Re: [SR-Users] Relaying ACK to Asterisk

2014-09-25 Thread Klaus Darilion
Something is going wrong here: On 24.09.2014 18:41, Igor Potjevlesch wrote: > DEBUG: rr [loose.c:90]: is_preloaded(): is_preloaded: No That's correct. The ACK is not pre-loaded (with a route set). Checking first local URI (either alias= or listen= statement) > DEBUG: [socket_info.c:583]: grep_s

Re: [SR-Users] Relaying ACK to Asterisk

2014-09-25 Thread Igor Potjevlesch
Hello Klaus, Thank you for the translation ;) Here is the config: /* add local domain aliases */ alias=sip.domain.tld /* uncomment and configure the following line if you want Kamailio to bind on a specific interface/port/proto (default bind on all available) */ listen=udp:IP_KAMAILIO/ASTERIS

Re: [SR-Users] Relaying ACK to Asterisk

2014-09-25 Thread Igor Potjevlesch
I just identified that if "IP_KAMAILIO/ASTERISK" is set into domain table, the issue occured. If I delete this entry, the ACK is properly relayed. The thing is that I use domain table for this check in REQ_INIT: if (!has_totag()) { if (!is_uri_host_local()) {

Re: [SR-Users] Relaying ACK to Asterisk

2014-09-25 Thread Andres
On 9/25/14, 9:17 AM, Igor Potjevlesch wrote: I just identified that if "IP_KAMAILIO/ASTERISK" is set into domain table, As I said before, what you need to use is IP_KAMAILIO/ASTERISK:5060. If you use it without the port, it will match also when directed to your Asterisk server residing on the

[SR-Users] tm.t_uac_wait documentation?

2014-09-25 Thread Juha Heinanen
i could not find any documentation about tm.t_uac_wait rpc command. is it documented somewhere? -- juha ___ 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

[SR-Users] R: Re: RTPPROXY & BRANCH

2014-09-25 Thread Marino Mileti
Because I've more than 1 client behind NAT (1,2,3 mobile phones) and I would like to reach all of them in parallel mode. I can't use for all of them same ports because all mobile clients have early media (the receive video media before they answer) So at the moment this scenario is not possible

Re: [SR-Users] R: Re: RTPPROXY & BRANCH

2014-09-25 Thread Frank Carmickle
On Sep 25, 2014, at 10:09 AM, Marino Mileti wrote: > Because I've more than 1 client behind NAT (1,2,3 mobile phones) and I would > like to reach all of them in parallel mode. I can't use for all of them same > ports because all mobile clients have early media (the receive video media > befor

[SR-Users] Bash Code Injection and 'exec' module

2014-09-25 Thread Seudin Kasumovic
Hi kamailio users, we are witnesses of new discovered bug in bash: Bash Code Injection Vulnerability via Specially Crafted Environment Variables (CVE-2014-6271) https://access.redhat.com/node/1200223 As exec module exports all SIP headers in environment so it's was easy to push bash command. Th

[SR-Users] R: Re: R: Re: RTPPROXY & BRANCH

2014-09-25 Thread Marino Mileti
No no. The video will be sent by the caller user to all the callees. I'l try to explain better. My scenario is: - A make a call to a group... B & C are group member...so Kamailio is able to call them in parallel using alias.. - B & C receive the INVITEs & replies with two separate 183 with SDP

Re: [SR-Users] Bash Code Injection and 'exec' module

2014-09-25 Thread Seudin Kasumovic
sorry, I attached wrong patch in previous post here is new with fixed body length comparison. On Thu, Sep 25, 2014 at 4:40 PM, Seudin Kasumovic < seudin.kasumo...@gmail.com> wrote: > Hi kamailio users, > > we are witnesses of new discovered bug in bash: Bash Code Injection > Vulnerability via S

Re: [SR-Users] Bash Code Injection and 'exec' module

2014-09-25 Thread Daniel-Constantin Mierla
Hi Seudin, thanks for heads up for vulnerabilities out there affecting us and the patch! One comment regarding the patch, I see this comparison: if (!strncmp(w->u.hf->body.s,"() {",MIN(w->u.hf->body.len,2))) { and I see as being compared of size 4 string. Missing something? Cheers, Daniel

Re: [SR-Users] Bash Code Injection and 'exec' module

2014-09-25 Thread Daniel-Constantin Mierla
OK, ignore my previous email then... Thanks again, Daniel On 25/09/14 16:51, Seudin Kasumovic wrote: sorry, I attached wrong patch in previous post here is new with fixed body length comparison. On Thu, Sep 25, 2014 at 4:40 PM, Seudin Kasumovic mailto:seudin.kasumo...@gmail.com>> wrote:

Re: [SR-Users] Bash Code Injection and 'exec' module

2014-09-25 Thread Daniel-Constantin Mierla
You patch was pushed to master, 4.1 and 4.0 branches. In addition, I pushed a patch with a new module parameter that could disable the escape of the sensitive header part, just in case would be needed by people who know what they do. Not documented in readme, as probably should be removed rath

Re: [SR-Users] tm.t_uac_wait documentation?

2014-09-25 Thread Daniel-Constantin Mierla
The rpc commands supposed to have documentation in the code, so you can do: kamcmd help tm.t_uac_wait There should be a char* array with doc strings when registering the command in sources. But while not a really bad idea, it is not easy to access and a bit odd place to add enhanced documenta

Re: [SR-Users] Relaying ACK to Asterisk

2014-09-25 Thread Igor Potjevlesch
Yes you're right. But many SIP requests come with R-URI sip: without the port. So the test "is_from_local" fails. Regards, Igor. -Message d'origine- De : sr-users-boun...@lists.sip-router.org [mailto:sr-users-boun...@lists.sip-router.org] De la part de Andres Envoyé : jeudi 25 septembre

[SR-Users] rtpengine with rejected re-invites to new RTP ports

2014-09-25 Thread Jeff Pyle
Hello, Given the following scenario with Kamailio and rtpengine in the middle: - call establishes with G.711 RTP - b-leg re-invites to T.38, indicating a different port number then he is using for G.711 - a-leg refuses the re-invite with a 488 - call continues using G.711 on original port num

Re: [SR-Users] R: Re: R: Re: RTPPROXY & BRANCH

2014-09-25 Thread Frank Carmickle
On Sep 25, 2014, at 10:41 AM, Marino Mileti wrote: > > No no. The video will be sent by the caller user to all the callees. > > I'l try to explain better. My scenario is: > > - A make a call to a group... B & C are group member...so Kamailio is able to > call them in parallel using alias..

Re: [SR-Users] tm.t_uac_wait documentation?

2014-09-25 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > The rpc commands supposed to have documentation in the code, so you > can do: > > kamcmd help tm.t_uac_wait i did figure that out, but help text is not comprehensive. for example, it appears that host !! of contact uri in headers is replaced by ip address of

[SR-Users] kamailio call limit

2014-09-25 Thread Yuriy Gorlichenko
Hello. I try to test with SIPp my stak of kamailio->asterisk. I run SIPp with 200 calls/sec and see only 68 at maximum active calls at server. When I set 500 calls/sec with limit 1000 I see 68 active connections again. So when I try test SIPp to asterisk without Kam i see wright maximum of active

[SR-Users] Kamailio server crashing

2014-09-25 Thread aawaise
Hello, I installed kamailio and replaced kamailio.cfg with a customized kamailio.cfg and replaced kamctlrc file also. And restarted the kamailio server. Server gets started ok and after a minute or two, I get the error, " '/usr/local/kamailio/sbin' doesnot belong to any package ". I am facing thi

[SR-Users] tm.t_uac_wait does not use advertise address

2014-09-25 Thread Juha Heinanen
based on more tests, it appears that tm.t_uac_wait does not use advertise address (if given on listen line) when it substitutes !! (SUBST_CHARs) in request headers. i'll open a bug report on it. -- juha ___ SIP Express Router (SER) and Kamailio (OpenSE