Re: [OpenSIPS-Users] msg:len is too large
On Tue, Sep 13, 2011 at 9:02 PM, vivid333 wrote: > ** > hello: > > Why OpenSips returns 513? is that SIP Message Buffer is too > large/or full ? is that mean that include previous message? > below is opensips.cfg: > > I'm not entirely sure where your trace is coming from, but typically you run into this if you relay the call without modifying the RURI; thus causing a huge loop. The stacked vias make the packet larger and larger until you hit the msg too big limit. You may not see this on a normal trace, you might have to watch on the loopback interface. -Brett ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] msg:len is too large
hello: Why OpenSips returns 513? is that SIP Message Buffer is too large/or full ? is that mean that include previous message? below is opensips.cfg: route { if (!mf_process_maxfwd_header("70")) { sl_send_reply("483","Too Many Hops..."); exit; }; ###when a message comes, I print $ml, if (msg:len >= 2048 ) { *sl_send_reply("513", "Message too big...");* exit; }; if (method == "OPTIONS") { sl_send_reply("200", "OK"); return; }; } Wireshark Capture: OPTIONS sip:+14089664381@74.3.165.159 SIP/2.0 *406Bytes* Via: SIP/2.0/UDP 10.191.132.71:1087;rport;branch=z9hG4bK1218259554 From: ;tag=829085183 To: "+14089664381" Call-ID: 277470534 CSeq: 20 OPTIONS Accept: application/sdp Max-Forwards: 70 User-Agent: FafaYou/1.0 (SingFafa/1.1) Content-Length: 0 SIP/2.0 200 OK Via: SIP/2.0/UDP 10.191.132.71:1087;rport=3247;branch=z9hG4bK1218259554;received=117.136.0.214 From: ;tag=829085183 To: "+14089664381" ;tag=36ab34ed4546465d12e494a13d8598e2.9cde Call-ID: 277470534 CSeq: 20 OPTIONS Server: OpenSIPS (1.6.4-2-notls (x86_64/linux)) Content-Length: 0 OPTIONS sip:+14089664381@74.3.165.159 SIP/2.0 ***406Bytes* Via: SIP/2.0/UDP 10.191.132.71:1087;rport;branch=z9hG4bK1218259554 From: ;tag=829085183 To: "+14089664381" Call-ID: 277470534 CSeq: 20 OPTIONS Accept: application/sdp Max-Forwards: 70 User-Agent: FafaYou/1.0 (SingFafa/1.1) Content-Length: 0 SIP/2.0 200 OK Via: SIP/2.0/UDP 10.191.132.71:1087;rport=3247;branch=z9hG4bK1218259554;received=117.136.0.214 From: ;tag=829085183 To: "+14089664381" ;tag=36ab34ed4546465d12e494a13d8598e2.9cde Call-ID: 277470534 CSeq: 20 OPTIONS Server: OpenSIPS (1.6.4-2-notls (x86_64/linux)) Content-Length: 0 INVITE sip:+14089664381@74.3.165.159 SIP/2.0 * 8**06Bytes* Via: SIP/2.0/UDP 10.191.132.71:1087;rport;branch=z9hG4bK954496617 From: ;tag=2053583849 To: "+14089664381" Call-ID: 343535350 CSeq: 20 INVITE Contact: Content-Type: application/sdp Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO Max-Forwards: 70 User-Agent: FafaYou/1.0 (SingFafa/1.1) Subject: Phone call Content-Length: 238 v=0 o=+8615811008009 123456 654321 IN IP4 10.191.132.71 s=A conversation c=IN IP4 10.191.132.71 b=AS:256 t=0 0 m=audio 7076 RTP/AVP 114 101 a=rtpmap:114 AMR/8000/1 a=rtpmap:101 telephone-event/8000/1 a=fmtp:101 0-11 a=sendrecv SIP/2.0 100 Giving a try Via: SIP/2.0/UDP 10.191.132.71:1087;rport=3247;branch=z9hG4bK954496617;received=117.136.0.214 From: ;tag=2053583849 To: "+14089664381" Call-ID: 343535350 CSeq: 20 INVITE Server: OpenSIPS (1.6.4-2-notls (x86_64/linux)) Content-Length: 0 *SIP/2.0 513 Message too big... * Via: SIP/2.0/UDP 10.191.132.71:1087;received=117.136.0.214;rport=3247;branch=z9hG4bK954496617 From: ;tag=2053583849 To: "+14089664381" ;tag=36ab34ed4546465d12e494a13d8598e2.f51e Call-ID: 343535350 CSeq: 20 INVITE Server: OpenSIPS (1.6.4-2-notls (x86_64/linux)) Content-Length: 0 I really don't know the reason. Looking forword to have your reply. Thanking for your helps in advance. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] OpenSips B2B and MediaProxy
I use the dispatcher module to send the call to the callee server, so basically on the first instance I have to include another group for my dispatcher, wich will be the B2B, and when the call goes into the B2B instance use the other dispatcher group to send the call to the callee server? I am right? So code will be like this Caller:192.168.0.1 Proxy:192.168.0.10 SBC:192.168.0.11 Callee:192.168.0.12 So Scenario will be like this: Caller will send call to proxy, proxy will send the call using disptacher.list to 1 sip:192.168.0.11:5060 wich will be the SBC SBC will take the call and apply top hidding and then send the call using disptacher.list to 2 sip:192.168.0.12:5060 I am right? On Tue, Sep 13, 2011 at 8:56 PM, wrote: > Yes. So the B2B can share the same Subscriber database that the Proxy uses > and if the callee is in that database then the B2B sends the signaling back > to the Proxy after executing the b2b function. Else the B2B sends the > signaling to the PSTN after executing the b2b function. > > On Sep 13, 2011 7:48pm, Wilmar Campos wrote: > > Understood the media part!!!So when it comes to signaling, call will come > from caller->proxy... proxy will send call to b2b as provider? and b2b must > know were is the callee? > > > > > > Thanks, > > > > > > Wil > > > > On Tue, Sep 13, 2011 at 8:41 PM, duane.lar...@gmail.com> wrote: > > > > > > B2B module will not handle any media. Only Mediaproxy. So when it comes > to mediaproxy you will have this > > > > > > > > > > > > Caller Mediaproxy Callee > > > > > > > > > > > > On Sep 13, 2011 7:37pm, Wilmar Campos wilmar.cam...@gmail.com> wrote: > > > > > > > Can you explain the media flow scenario? > > > > > > > > > > > > > > My current scenario is: > > > > > > > Call: > > > > > > > client->proxy->final client. > > > > > > > Media: > > > > > > > Client->mediaP->Final client. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I want to clarify that I am taken this scenario cause I am getting RTCP > statistics from the mediaP and to the final client, so I do not want to have > a B2B in the middle handleling media cause it will break the RTPC that I am > taken from my mediaP to the Final Client host. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Thanks, > > > > > > > > > > > > > > > > > > > > > WIll > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Tue, Sep 13, 2011 at 7:06 PM, Duane Larson duane.lar...@gmail.com> > wrote: > > > > > > > > > > > > > > > > > > > > > > > > > > > > It should be client > proxy > b2b > end point. The proxy should do all > your route logic and then pass it on to b2b. The b2b can be on the same box > as the proxy, but I went ahead and separated them. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Sep 13, 2011 5:31 PM, wilmar.cam...@gmail.com> wrote:> Hi, thanks > for your response, is there any specific call flow I have to follow? > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Client- b2- proxy-end client? > > > > > > > > > > > > > > > > Or it can be > > > > > > > > > > > > > > > > Client b2b end client?? > > > > > > > > > > > > > > > > Please point me to the right direction.. > > > > > > > > > > > > > > > > Thanks, > > > > > > > > > > > > > > > > Wilmar > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Sent via BlackBerry from T-Mobile > > > > > > > > > > > > > > > > -Original Message- > > > > > > > > From: duane.lar...@gmail.com > > > > > > > > Sender: users-boun...@lists.opensips.org > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Date: Tue, 13 Sep 2011 22:07:38 > > > > > > > > > > > > To: OpenSIPS users mailling listus...@lists.opensips.org> > > > > > > > > Reply-To: OpenSIPS users mailling list users@lists.opensips.org> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Subject: Re: [OpenSIPS-Users] OpenSips B2B and MediaProxy > > > > > > > > > > > > > > > > ___ > > > > > > > > Users mailing list > > > > > > > > Users@lists.opensips.org > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ___ > > > > > > > > > > > > > > > > > > > > > > Users mailing list > > > > > > > > > > > > > > > > > > > > > > Users@lists.opensips.org > > > > > > > > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > Wilmar Campos > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ___ > > > > > > Users mailing list > > > > > > Users@
Re: [OpenSIPS-Users] Strange performance problem
2011/9/13 Alejandro Ríos > Hi all, > > I'm running a sipp load test to an opensips instance on a 16 core, 8GB ram > blade server. It's only 100 simultaneous calls, at 10 calls per second, and > I'm getting lots of retransmissions from the sipp UAC. > I'll give you the same advice I gave someone else just a sec ago. Check your syslog config and see if you are set up for async writes. Turn logging off completely on opensips and see if that changes anything. I've seen bad logging configs bring perfectly capable systems to it's knees. -Brett ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] OpenSips B2B and MediaProxy
Yes. So the B2B can share the same Subscriber database that the Proxy uses and if the callee is in that database then the B2B sends the signaling back to the Proxy after executing the b2b function. Else the B2B sends the signaling to the PSTN after executing the b2b function. On Sep 13, 2011 7:48pm, Wilmar Campos wrote: Understood the media part!!!So when it comes to signaling, call will come from caller->proxy... proxy will send call to b2b as provider? and b2b must know were is the callee? Thanks, Wil On Tue, Sep 13, 2011 at 8:41 PM, duane.lar...@gmail.com> wrote: B2B module will not handle any media. Only Mediaproxy. So when it comes to mediaproxy you will have this Caller Mediaproxy Callee On Sep 13, 2011 7:37pm, Wilmar Campos wilmar.cam...@gmail.com> wrote: > Can you explain the media flow scenario? > > My current scenario is: > Call: > client->proxy->final client. > Media: > Client->mediaP->Final client. > > > > > I want to clarify that I am taken this scenario cause I am getting RTCP statistics from the mediaP and to the final client, so I do not want to have a B2B in the middle handleling media cause it will break the RTPC that I am taken from my mediaP to the Final Client host. > > > > > Thanks, > > > WIll > > > > > On Tue, Sep 13, 2011 at 7:06 PM, Duane Larson duane.lar...@gmail.com> wrote: > > > > It should be client > proxy > b2b > end point. The proxy should do all your route logic and then pass it on to b2b. The b2b can be on the same box as the proxy, but I went ahead and separated them. > > > > > On Sep 13, 2011 5:31 PM, wilmar.cam...@gmail.com> wrote:> Hi, thanks for your response, is there any specific call flow I have to follow? > > > > > > > > Client- b2- proxy-end client? > > > > Or it can be > > > > Client b2b end client?? > > > > Please point me to the right direction.. > > > > Thanks, > > > > Wilmar > > > > > > > > Sent via BlackBerry from T-Mobile > > > > -Original Message- > > From: duane.lar...@gmail.com > > Sender: users-boun...@lists.opensips.org > > > > > > Date: Tue, 13 Sep 2011 22:07:38 > > To: OpenSIPS users mailling listus...@lists.opensips.org> > > Reply-To: OpenSIPS users mailling list users@lists.opensips.org> > > > > > > Subject: Re: [OpenSIPS-Users] OpenSips B2B and MediaProxy > > > > ___ > > Users mailing list > > Users@lists.opensips.org > > > > > > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > > > > > > ___ > > > > Users mailing list > > > > Users@lists.opensips.org > > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > > > > > > > > > > -- > Wilmar Campos > > > > > > ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users -- Wilmar Campos ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] OpenSips B2B and MediaProxy
Understood the media part!!! So when it comes to signaling, call will come from caller->proxy... proxy will send call to b2b as provider? and b2b must know were is the callee? Thanks, Wil On Tue, Sep 13, 2011 at 8:41 PM, wrote: > B2B module will not handle any media. Only Mediaproxy. So when it comes to > mediaproxy you will have this > > Caller <-> Mediaproxy <-> Callee > > On Sep 13, 2011 7:37pm, Wilmar Campos wrote: > > Can you explain the media flow scenario? > > > > My current scenario is: > > Call: > > client->proxy->final client. > > Media: > > Client->mediaP->Final client. > > > > > > > > > > I want to clarify that I am taken this scenario cause I am getting RTCP > statistics from the mediaP and to the final client, so I do not want to have > a B2B in the middle handleling media cause it will break the RTPC that I am > taken from my mediaP to the Final Client host. > > > > > > > > > > Thanks, > > > > > > WIll > > > > > > > > > > On Tue, Sep 13, 2011 at 7:06 PM, Duane Larson duane.lar...@gmail.com> > wrote: > > > > > > > > It should be client > proxy > b2b > end point. The proxy should do all > your route logic and then pass it on to b2b. The b2b can be on the same box > as the proxy, but I went ahead and separated them. > > > > > > > > > > On Sep 13, 2011 5:31 PM, wilmar.cam...@gmail.com> wrote:> Hi, thanks for > your response, is there any specific call flow I have to follow? > > > > > > > > > > > > > > Client- b2- proxy-end client? > > > > > > Or it can be > > > > > > Client b2b end client?? > > > > > > Please point me to the right direction.. > > > > > > Thanks, > > > > > > Wilmar > > > > > > > > > > > > > > Sent via BlackBerry from T-Mobile > > > > > > -Original Message- > > > From: duane.lar...@gmail.com > > > Sender: users-boun...@lists.opensips.org > > > > > > > > > > > Date: Tue, 13 Sep 2011 22:07:38 > > > To: OpenSIPS users mailling listus...@lists.opensips.org> > > > Reply-To: OpenSIPS users mailling list users@lists.opensips.org> > > > > > > > > > > > Subject: Re: [OpenSIPS-Users] OpenSips B2B and MediaProxy > > > > > > ___ > > > Users mailing list > > > Users@lists.opensips.org > > > > > > > > > > > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > > > > > > > > > > ___ > > > > > > > Users mailing list > > > > > > > Users@lists.opensips.org > > > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > > > > > > > > > > > > > > > > > > > > > > -- > > Wilmar Campos > > > > > > > > > > > > > > ___ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > -- Wilmar Campos ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] OpenSips B2B and MediaProxy
B2B module will not handle any media. Only Mediaproxy. So when it comes to mediaproxy you will have this Caller <-> Mediaproxy <-> Callee On Sep 13, 2011 7:37pm, Wilmar Campos wrote: Can you explain the media flow scenario? My current scenario is: Call: client->proxy->final client. Media: Client->mediaP->Final client. I want to clarify that I am taken this scenario cause I am getting RTCP statistics from the mediaP and to the final client, so I do not want to have a B2B in the middle handleling media cause it will break the RTPC that I am taken from my mediaP to the Final Client host. Thanks, WIll On Tue, Sep 13, 2011 at 7:06 PM, Duane Larson duane.lar...@gmail.com> wrote: It should be client > proxy > b2b > end point. The proxy should do all your route logic and then pass it on to b2b. The b2b can be on the same box as the proxy, but I went ahead and separated them. On Sep 13, 2011 5:31 PM, wilmar.cam...@gmail.com> wrote:> Hi, thanks for your response, is there any specific call flow I have to follow? > > Client- b2- proxy-end client? > > Or it can be > > Client b2b end client?? > > Please point me to the right direction.. > > Thanks, > > Wilmar > > Sent via BlackBerry from T-Mobile > > -Original Message- > From: duane.lar...@gmail.com > Sender: users-boun...@lists.opensips.org > Date: Tue, 13 Sep 2011 22:07:38 > To: OpenSIPS users mailling listus...@lists.opensips.org> > Reply-To: OpenSIPS users mailling list users@lists.opensips.org> > Subject: Re: [OpenSIPS-Users] OpenSips B2B and MediaProxy > > ___ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > > ___ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users -- Wilmar Campos ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] OpenSips B2B and MediaProxy
Can you explain the media flow scenario? My current scenario is: Call: client->proxy->final client. Media: Client->mediaP->Final client. I want to clarify that I am taken this scenario cause I am getting RTCP statistics from the mediaP and to the final client, so I do not want to have a B2B in the middle handleling media cause it will break the RTPC that I am taken from my mediaP to the Final Client host. Thanks, WIll On Tue, Sep 13, 2011 at 7:06 PM, Duane Larson wrote: > It should be client > proxy > b2b > end point. The proxy should do all > your route logic and then pass it on to b2b. The b2b can be on the same box > as the proxy, but I went ahead and separated them. > On Sep 13, 2011 5:31 PM, wrote: > > Hi, thanks for your response, is there any specific call flow I have to > follow? > > > > Client- b2- proxy-end client? > > > > Or it can be > > > > Client b2b end client?? > > > > Please point me to the right direction.. > > > > Thanks, > > > > Wilmar > > > > Sent via BlackBerry from T-Mobile > > > > -Original Message- > > From: duane.lar...@gmail.com > > Sender: users-boun...@lists.opensips.org > > Date: Tue, 13 Sep 2011 22:07:38 > > To: OpenSIPS users mailling list > > Reply-To: OpenSIPS users mailling list > > Subject: Re: [OpenSIPS-Users] OpenSips B2B and MediaProxy > > > > ___ > > Users mailing list > > Users@lists.opensips.org > > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > > > > > > ___ > > Users mailing list > > Users@lists.opensips.org > > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > -- Wilmar Campos ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] Strange performance problem
Hi all, I'm running a sipp load test to an opensips instance on a 16 core, 8GB ram blade server. It's only 100 simultaneous calls, at 10 calls per second, and I'm getting lots of retransmissions from the sipp UAC. The strange thing is that I've tested the same exact scenario on another server, an online VPS and on a local vmware virtual machine on my laptop, using the same Centos 5.6 distro, the same simple opensips config, sipp version, etc., and the load test runs perfect on those other boxes. I've already tested on other two identical blades to discard hardware issues. I've also discarded network issues, by running both opensips and sipp on the same localhost IP. I also ran tcpdump, and opensips using strace, and the INVITES seem to get to Opensips, but somehow it can't process the requests in a timely fashion. Any ideas on what I should be looking for to troubleshoot this? Thanks, Alejandro. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] OpenSips B2B and MediaProxy
It should be client > proxy > b2b > end point. The proxy should do all your route logic and then pass it on to b2b. The b2b can be on the same box as the proxy, but I went ahead and separated them. On Sep 13, 2011 5:31 PM, wrote: > Hi, thanks for your response, is there any specific call flow I have to follow? > > Client- b2- proxy-end client? > > Or it can be > > Client b2b end client?? > > Please point me to the right direction.. > > Thanks, > > Wilmar > > Sent via BlackBerry from T-Mobile > > -Original Message- > From: duane.lar...@gmail.com > Sender: users-boun...@lists.opensips.org > Date: Tue, 13 Sep 2011 22:07:38 > To: OpenSIPS users mailling list > Reply-To: OpenSIPS users mailling list > Subject: Re: [OpenSIPS-Users] OpenSips B2B and MediaProxy > > ___ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > > ___ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] OpenSips B2B and MediaProxy
Your call must go through both opensips servers (if you want to have both b2b and mediaproxy functionality). The NATed clients should "see" only the mediaproxy server. Regards, Ovidiu Sas On Tue, Sep 13, 2011 at 6:31 PM, wrote: > Hi, thanks for your response, is there any specific call flow I have to > follow? > > Client- b2- proxy-end client? > > Or it can be > > Client b2b end client?? > > Please point me to the right direction.. > > Thanks, > > Wilmar > > Sent via BlackBerry from T-Mobile > > -Original Message- > From: duane.lar...@gmail.com > Sender: users-boun...@lists.opensips.org > Date: Tue, 13 Sep 2011 22:07:38 > To: OpenSIPS users mailling list > Reply-To: OpenSIPS users mailling list > Subject: Re: [OpenSIPS-Users] OpenSips B2B and MediaProxy > > ___ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > > ___ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] OpenSips B2B and MediaProxy
Hi, thanks for your response, is there any specific call flow I have to follow? Client- b2- proxy-end client? Or it can be Client b2b end client?? Please point me to the right direction.. Thanks, Wilmar Sent via BlackBerry from T-Mobile -Original Message- From: duane.lar...@gmail.com Sender: users-boun...@lists.opensips.org Date: Tue, 13 Sep 2011 22:07:38 To: OpenSIPS users mailling list Reply-To: OpenSIPS users mailling list Subject: Re: [OpenSIPS-Users] OpenSips B2B and MediaProxy ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] OpenSips B2B and MediaProxy
Yeah you can do that. I currently have a three different servers OpenSIPS B2BUA OpenSIPS Proxy Mediaproxy Everything works. On Sep 13, 2011 4:28pm, Wilmar Campos wrote: Hi,I would like to know if the scenario for B2B and MediaProxy is possible. I would like to do topology hidding but handle the media over a MediaProxyserver to be able to get no only SipTraces but MediaTraces. Thanks!!! -- Will ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] Two Basic question
Hello everybody, I'm beginning with OpenSIPs and I have two basic question. How can i delete predefinided users 1000 and 1001? If my network look like: opensips with pubblic IP and all extensions behind a NAT. Do I have to always use a mediaproxy (or rtpproxy)? Thank you in advance. - Bakko ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] OpenSips B2B and MediaProxy
Hi, I would like to know if the scenario for B2B and MediaProxy is possible. I would like to do topology hidding but handle the media over a MediaProxyserver to be able to get no only SipTraces but MediaTraces. Thanks!!! -- Will ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] OpenSIPS 1.7.0 Topology Hiding and NAT Traversal
Hi, make two sessions of opensips config. One that handle NAT and another for topology hiding. Dani On Tue, Sep 13, 2011 at 7:30 PM, Jeremy Childs wrote: > I'm having a problem with the dialog module's topology hiding when a UA > is behind a NAT. > > If I call > > if (nat_uac_test()) { > fix_nated_contact(); > } > topology_hiding(); > > The Contact header is rewritten twice - once by fix_nated_contact() and > again by topology_hiding(). This results in an invalid contact header. > > Is there an obvious way I'm missing that could make these two modules > coexist, or is the best solution to add NAT knowledge to dlg_tophiding.c? > This seems like a lot of code to duplicate. > > ___ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > -- Dani Popa ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] need step by step guide lines for media proxy installation
You really should play around with this so that you can better learn how OpenSIPS and Mediaproxy work. There are a couple of different ways you could do this. On Sep 13, 2011 2:05pm, Akib Sayyed wrote: someone please paste working configuration of opensips.cfg and please highlight the media proxy essential area. or just paste your config. thanks in advance On Tue, Sep 13, 2011 at 2:58 AM, Brett Nemeroff br...@nemeroff.com> wrote: On Mon, Sep 12, 2011 at 10:57 AM, Akib Sayyed akibsay...@gmail.com> wrote: yah but even if radius gives error mediaproxy should work If you have included an erroneous configuration for radius it will prevent anything from working properly. Debuging is irrelevant if you have other parts of your configuration that are broken. Remove the offending components; then lets see what's wrong. -Brett ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users -- Akib Sayyed Matrix-Shell akibsay...@gmail.com akibsay...@matrixshell.com Mob:- +91-966-514-2243 ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] methods= from register contact
Hi all, What does it mean methods=0x1F6F from register contact when i see it with opensipsctl ul show, and how can i decode it ? Contact:: ;q=;expires=525;flags=0x0;cflags=0x0;socket=;methods=0x1F6F;user_agent= Thanks, -- Dani Popa ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] need step by step guide lines for media proxy installation
someone please paste working configuration of opensips.cfg and please highlight the media proxy essential area. or just paste your config. thanks in advance On Tue, Sep 13, 2011 at 2:58 AM, Brett Nemeroff wrote: > On Mon, Sep 12, 2011 at 10:57 AM, Akib Sayyed wrote: > >> yah but even if radius gives error mediaproxy should work >> > > If you have included an erroneous configuration for radius it will prevent > anything from working properly. Debuging is irrelevant if you have other > parts of your configuration that are broken. Remove the offending > components; then lets see what's wrong. > -Brett > > > > ___ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > -- Akib Sayyed Matrix-Shell akibsay...@gmail.com akibsay...@matrixshell.com Mob:- +91-966-514-2243 ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] Session-Expires with incoming calls from GW with client with no Session timers
Hello all, Being trying hard to get the SST to work with a gateway Cisco A5300. Although it seemed to be working all the way, last week I found out it wasn't. You see, when recieving a call via gateway to a user (that doesn't support Session timers) in OpenSIPs, the first negotiation regarding the Invitegoes out OK, with OpenSIPs adding the Session-Expires to the "200 OK" reply because the client doesn't support Session-Expires ( supported: timer ). So now we have a placed call with a Session-Expires of 1800 because that's what Cisco has by default. After 15 minutes ( half of the 1800 seconds defined above ), Cisco does a Re-Invite that goes out OK but for some reason OpenSIPs doesn't add the Session-Expires header in the "200 OK" reply from the client. That way Cisco doesn't know that it needs to do the Re-Invite and then the call only endures for more 1800 seconds ( 30 minutes ). At the end of the 30 minutes OpenSIPs sends Byes to the Gateway and the client because of the session-timeout. In my way of thinking OpenSIPs should add the Session-Expires header even if it's a Re-Invite, right? I tryed to add the header "manually" and all but couldn't find a way that on the onreply_route identify the Re-Invite and with that adding the Session-Expires header. My OpenSIPs script is available here: http://pastebin.com/Q2TUuUWq Can somebody give me a hand on this? :) Thanks, Joel Oliveira -- View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Session-Expires-with-incoming-calls-from-GW-with-client-with-no-Session-timers-tp6788671p6788671.html Sent from the OpenSIPS - Users mailing list archive at Nabble.com. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] OpenSIPS 1.7.0 Topology Hiding and NAT Traversal
I'm having a problem with the dialog module's topology hiding when a UA is behind a NAT. If I call if (nat_uac_test()) { fix_nated_contact(); } topology_hiding(); The Contact header is rewritten twice - once by fix_nated_contact() and again by topology_hiding(). This results in an invalid contact header. Is there an obvious way I'm missing that could make these two modules coexist, or is the best solution to add NAT knowledge to dlg_tophiding.c? This seems like a lot of code to duplicate. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Possible MYQL B2B problem?
No. You need to upgrade to 1.7.0. Regards, Ovidiu Sas On Tue, Sep 13, 2011 at 11:39 AM, Lee Archer wrote: > Hi all, is there any way I can avoid using the DB for B2B with 1.6.4? > > Regards > > Lee > > -Original Message- > From: users-boun...@lists.opensips.org > [mailto:users-boun...@lists.opensips.org] On Behalf Of Lee Archer > Sent: 09 September 2011 15:03 > To: OpenSIPS users mailling list > Subject: Re: [OpenSIPS-Users] Possible MYQL B2B problem? > > I'm using 1.6 and I don't think this works. > > Regards > > Lee > > -Original Message- > From: users-boun...@lists.opensips.org > [mailto:users-boun...@lists.opensips.org] On Behalf Of Ovidiu Sas > Sent: 09 September 2011 14:02 > To: OpenSIPS users mailling list > Subject: Re: [OpenSIPS-Users] Possible MYQL B2B problem? > > The db mode can be controlled via a module parameter: > http://www.opensips.org/html/docs/modules/1.7.x/b2b_entities.html#id250115 > http://www.opensips.org/html/docs/modules/1.7.x/b2b_logic.html#id250404 > > Regards, > Ovidiu Sas > > On Fri, Sep 9, 2011 at 12:36 AM, Lee Archer wrote: >> Hi Ovidiu, could I not use a database for this and each server would do it >> locally? >> >> Regards >> >> Lee >> >> -Original Message- >> From: users-boun...@lists.opensips.org >> [mailto:users-boun...@lists.opensips.org] On Behalf Of Lee Archer >> Sent: 08 September 2011 17:22 >> To: OpenSIPS users mailling list >> Subject: Re: [OpenSIPS-Users] Possible MYQL B2B problem? >> >> Thanks for the explanation. So does this problem cause any calls to drop? >> I haven't restarted the server or made any changes to the b2b tables so >> don't quite understand how this could have happened. >> >> Regards >> >> Lee >> >> -Original Message- >> From: users-boun...@lists.opensips.org >> [mailto:users-boun...@lists.opensips.org] On Behalf Of Ovidiu Sas >> Sent: 08 September 2011 16:22 >> To: OpenSIPS users mailling list >> Subject: Re: [OpenSIPS-Users] Possible MYQL B2B problem? >> >> There is an issue with the b2b_logic module. >> If a b2b_logic context is saved in the db and the b2b_entities corresponding >> to the b2b_logic contexts are lost, the db is not properly cleaned up. >> When a new call comes in, a b2b_logic context is created and it may have the >> same key as the saved old b2b_logic context in the db. >> When a db operation is performed on that call (like inserting a new >> b2b_logic context with the same id as the one in the db) the operation fails >> and you see those errors. >> >> It might be possible that you arrived in this scenario after an opensips >> crash that left the db out of synch. >> When opensips was restarted, the b2b_logic context failed to load but it was >> not cleaned up in the db. >> >> In your case, you should see that you have in b2b_logic table a context with >> si_key='414.0'. >> You will need to manually delete that one from the db. >> >> When opensips starts, there are ERROR logs for this kind of situation: >> ERROR:b2b_entities:b2b_restore_logic_info: No dialog found for key >> [bk2bk.287.95] >> WARNING:b2b_logic:b2bl_add_tuple: Failed to restore logic info for >> tuple:entity [644.0][0] >> ERROR:b2b_entities:b2b_restore_logic_info: No dialog found for key >> [bk2bk.132.8088290] >> WARNING:b2b_logic:b2bl_add_tuple: Failed to restore logic info for >> tuple:entity [644.0][1] >> >> In this case, the b2b_logic context should be removed from the db because >> the restoration failed. >> >> >> Please open a bug report about this. >> >> >> Regards, >> Ovidiu Sas >> >> On Thu, Sep 8, 2011 at 4:03 AM, Lee Archer wrote: >>> Hi all, I am using the b2b entities and logic modules and keep seeing >>> the following in the log: >>> >>> /usr/local/sbin/opensips[2642]: >>> CRITICAL:db_mysql:wrapper_single_mysql_real_query: driver error (1062): >>> Duplicate entry '414.0' for key 2 >>> /usr/local/sbin/opensips[2642]: ERROR:core:db_do_insert: error while >>> submitting query >>> /usr/local/sbin/opensips[2642]: ERROR:b2b_logic:b2b_logic_dump: Sql >>> insert failed >>> >>> Is it something to worry about and what problems could I encounter? >>> I've done some searching but haven't found much hence the question to the >>> group. >>> Is it correct to assume the call will be dropped? >>> >>> Thanks >>> >>> Lee >>> >>> ___ >>> Users mailing list >>> Users@lists.opensips.org >>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >>> >>> >> >> ___ >> Users mailing list >> Users@lists.opensips.org >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> >> ___ >> Users mailing list >> Users@lists.opensips.org >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> >> ___ >> Users mailing list >> Users@lists.opensips.org >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> > > __
Re: [OpenSIPS-Users] Possible MYQL B2B problem?
Hi all, is there any way I can avoid using the DB for B2B with 1.6.4? Regards Lee -Original Message- From: users-boun...@lists.opensips.org [mailto:users-boun...@lists.opensips.org] On Behalf Of Lee Archer Sent: 09 September 2011 15:03 To: OpenSIPS users mailling list Subject: Re: [OpenSIPS-Users] Possible MYQL B2B problem? I'm using 1.6 and I don't think this works. Regards Lee -Original Message- From: users-boun...@lists.opensips.org [mailto:users-boun...@lists.opensips.org] On Behalf Of Ovidiu Sas Sent: 09 September 2011 14:02 To: OpenSIPS users mailling list Subject: Re: [OpenSIPS-Users] Possible MYQL B2B problem? The db mode can be controlled via a module parameter: http://www.opensips.org/html/docs/modules/1.7.x/b2b_entities.html#id250115 http://www.opensips.org/html/docs/modules/1.7.x/b2b_logic.html#id250404 Regards, Ovidiu Sas On Fri, Sep 9, 2011 at 12:36 AM, Lee Archer wrote: > Hi Ovidiu, could I not use a database for this and each server would do it > locally? > > Regards > > Lee > > -Original Message- > From: users-boun...@lists.opensips.org > [mailto:users-boun...@lists.opensips.org] On Behalf Of Lee Archer > Sent: 08 September 2011 17:22 > To: OpenSIPS users mailling list > Subject: Re: [OpenSIPS-Users] Possible MYQL B2B problem? > > Thanks for the explanation. So does this problem cause any calls to drop? I > haven't restarted the server or made any changes to the b2b tables so don't > quite understand how this could have happened. > > Regards > > Lee > > -Original Message- > From: users-boun...@lists.opensips.org > [mailto:users-boun...@lists.opensips.org] On Behalf Of Ovidiu Sas > Sent: 08 September 2011 16:22 > To: OpenSIPS users mailling list > Subject: Re: [OpenSIPS-Users] Possible MYQL B2B problem? > > There is an issue with the b2b_logic module. > If a b2b_logic context is saved in the db and the b2b_entities corresponding > to the b2b_logic contexts are lost, the db is not properly cleaned up. > When a new call comes in, a b2b_logic context is created and it may have the > same key as the saved old b2b_logic context in the db. > When a db operation is performed on that call (like inserting a new b2b_logic > context with the same id as the one in the db) the operation fails and you > see those errors. > > It might be possible that you arrived in this scenario after an opensips > crash that left the db out of synch. > When opensips was restarted, the b2b_logic context failed to load but it was > not cleaned up in the db. > > In your case, you should see that you have in b2b_logic table a context with > si_key='414.0'. > You will need to manually delete that one from the db. > > When opensips starts, there are ERROR logs for this kind of situation: > ERROR:b2b_entities:b2b_restore_logic_info: No dialog found for key > [bk2bk.287.95] > WARNING:b2b_logic:b2bl_add_tuple: Failed to restore logic info for > tuple:entity [644.0][0] > ERROR:b2b_entities:b2b_restore_logic_info: No dialog found for key > [bk2bk.132.8088290] > WARNING:b2b_logic:b2bl_add_tuple: Failed to restore logic info for > tuple:entity [644.0][1] > > In this case, the b2b_logic context should be removed from the db because the > restoration failed. > > > Please open a bug report about this. > > > Regards, > Ovidiu Sas > > On Thu, Sep 8, 2011 at 4:03 AM, Lee Archer wrote: >> Hi all, I am using the b2b entities and logic modules and keep seeing >> the following in the log: >> >> /usr/local/sbin/opensips[2642]: >> CRITICAL:db_mysql:wrapper_single_mysql_real_query: driver error (1062): >> Duplicate entry '414.0' for key 2 >> /usr/local/sbin/opensips[2642]: ERROR:core:db_do_insert: error while >> submitting query >> /usr/local/sbin/opensips[2642]: ERROR:b2b_logic:b2b_logic_dump: Sql >> insert failed >> >> Is it something to worry about and what problems could I encounter? >> I've done some searching but haven't found much hence the question to the >> group. >> Is it correct to assume the call will be dropped? >> >> Thanks >> >> Lee >> >> ___ >> Users mailing list >> Users@lists.opensips.org >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> >> > > ___ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > ___ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > ___ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Load Balancing Using OpenSIPS
Hi Andrew, Okay thanks I hope it will help me, by the way did you implement standard load balancing (with Database), I am just asking because I may need your help in the coming days. I am working on load balancing involving PSTN. Regards, Faisal Rehman From: Andrew Pogrebennyk To: Faisal Rehman ; OpenSIPS users mailling list Sent: Tuesday, September 13, 2011 1:12 PM Subject: Re: [OpenSIPS-Users] Load Balancing Using OpenSIPS On 09/13/2011 10:05 AM, Faisal Rehman wrote: > > Thanks for your prompt response, yeah I have seen that table specified > only for the load balancing work in opensips database, but I got a task > to do load balancing without any database involvement, so is that > something I can do? In that case you would have to hardcode the IP addresses in the config file which is not very nice. Alternatively, you could use a simple file-based dbtext database like: id(int,auto) setid(int) destination(str) priority(int) flags(int) description(str) 1:1:sip\:10.0.0.1\:5060:1:0:box1 2:2:sip\:10.0.0.2\:5060:1:0:box2 OpenSIPS works with that just like with a normal SQL DB. Regards, Andrew___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] opensips rtpproxy and nat traversal for invite without register
Ovidiu Sas wrote: > > Check if Avaya has support for SIP Path extension: > http://www.opensips.org/html/docs/modules/1.7.x/path.html > This would be the clean solution. > Wow! Cool extension! It worked for me! :) Ovidiu Sas, big thanks for the help! -- View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/opensips-rtpproxy-and-nat-traversal-for-invite-without-register-tp6775967p6786626.html Sent from the OpenSIPS - Users mailing list archive at Nabble.com. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Load Balancing Using OpenSIPS
On 09/13/2011 10:05 AM, Faisal Rehman wrote: Thanks for your prompt response, yeah I have seen that table specified only for the load balancing work in opensips database, but I got a task to do load balancing without any database involvement, so is that something I can do? In that case you would have to hardcode the IP addresses in the config file which is not very nice. Alternatively, you could use a simple file-based dbtext database like: id(int,auto) setid(int) destination(str) priority(int) flags(int) description(str) 1:1:sip\:10.0.0.1\:5060:1:0:box1 2:2:sip\:10.0.0.2\:5060:1:0:box2 OpenSIPS works with that just like with a normal SQL DB. Regards, Andrew ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Load Balancing Using OpenSIPS
Hi Robert, Thanks for your prompt response, yeah I have seen that table specified only for the load balancing work in opensips database, but I got a task to do load balancing without any database involvement, so is that something I can do? Thanks Faisal Rehman From: Robert Thomas To: Faisal Rehman ; OpenSIPS users mailling list Sent: Tuesday, September 13, 2011 12:51 PM Subject: Re: [OpenSIPS-Users] Load Balancing Using OpenSIPS Faisal, All configurations I have seen regarding the lb module, use the load_balancer table from the database. Not sure if you could setup a load balancer without a database. This database is only used upon bootup, or to save dialogs to the database if you want it to be that way. On Tue, Sep 13, 2011 at 1:43 AM, Faisal Rehman wrote: Dear All, > > >I am going to do load balancing using OpenSIPS with and without involvement of >database, I have gone through some material available to do load balancing for >several servers ahead but I want some help and clues in the regards of doing >load balancing without any database. So how can it be done easily? > > >Thanks & Regards, > > > >Faisal Rehman >___ >Users mailing list >Users@lists.opensips.org >http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > -- Robert___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Load Balancing Using OpenSIPS
Faisal, All configurations I have seen regarding the lb module, use the load_balancer table from the database. Not sure if you could setup a load balancer without a database. This database is only used upon bootup, or to save dialogs to the database if you want it to be that way. On Tue, Sep 13, 2011 at 1:43 AM, Faisal Rehman wrote: > *Dear All,* > > I am going to do load balancing using OpenSIPS with and > without involvement of database, I have gone through some material available > to do load balancing for several servers ahead but I want some help and > clues in the regards of doing load balancing without any database. So how > can it be done easily? > > Thanks & Regards, > > > *Faisal Rehman* > > ___ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > -- Robert ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] Load Balancing Using OpenSIPS
Dear All, I am going to do load balancing using OpenSIPS with and without involvement of database, I have gone through some material available to do load balancing for several servers ahead but I want some help and clues in the regards of doing load balancing without any database. So how can it be done easily? Thanks & Regards, Faisal Rehman___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users