[OpenSIPS-Users] Double Accounting of single Call
Hello everyone, I am facing strange issue after migrating from old openser (1.2) to Opensips 1.5.1. In Opensips configuration, User can register to opensips (Nated or Public) and call each other or PSTN numbers. Media is processed by Mediaproxy. Accounting is also done. I done all modification for old openser.cfg to work as opensips.cfg. and even I can make the call as above very well. But looking at accounting I see double INVITE entries for a single call. I have attached the ngrep trace for a test call between local users. http://pastebin.com/f43607eee Is there any thing I am missing while migrating to Opensips 1.5.1? Thanks and Regards Shehzad -- View this message in context: http://n2.nabble.com/Double-Accounting-of-single-Call-tp3120732p3120732.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] Mediaproxy: No Media and call ends with error
I think that for conntrack support in kernel, It require libnetfilter_conntrack and its devel package: These two package were already installed on the system: libnetfilter-conntrack-dev0.0.96-1 Development files for libnetfilter-conntrack libnetfilter-conntrack1 0.0.96-1 Netfilter netlink-conntrack library Even after that I installed libnetfilter_conntrack-0.0.97 (from source) but the behaviour remains same. Anybody let me know if I am wrong and it require something more else for enabling conntrack support in kernel. Thanks. -msp libnetfilter_conntrack-0.0.97 Gavin Henry wrote: > > The last line about the conntrack kernel module support. Check out that. > > On 06/06/2009, Shehzad wrote: >> >> Hello, >> I have installed Opensips and Mediaproxy on Debian Linux 5.0. >> All the configuration for Opensips and Mediaproxy is taken from existing >> working configuration of other system. >> >> According to Opensips configuration I can register local users and can >> make >> calls locally. (Means Opensips Signaling works) >> But while testing properly I found that there is no media on both sides >> (Caller and Callee). >> >> Thus I checked logs of media-relay. >> When making test call, I found error in media-relay as below: >> >> File "/usr/lib/python2.5/site-packages/twisted/python/log.py", line 36, >> in >> callWithContext >> return context.call({ILogContext: newCtx}, func, *args, **kw) >> File "/usr/lib/python2.5/site-packages/twisted/python/context.py", line >> 59, in callWithContext >> return self.currentContext().callWithContext(ctx, func, *args, **kw) >> File "/usr/lib/python2.5/site-packages/twisted/python/context.py", line >> 37, in callWithContext >> return func(*args,**kw) >> File >> "/usr/lib/python2.5/site-packages/twisted/internet/epollreactor.py", >> line 231, in _doReadOrWrite >> why = selectable.doRead() >> --- --- >> File "/usr/lib/python2.5/site-packages/twisted/internet/udp.py", line >> 126, >> in doRead >> self.protocol.datagramReceived(data, addr) >> File "/usr/lib/python2.5/site-packages/mediaproxy/mediacontrol.py", >> line >> 121, in datagramReceived >> self.cb_func(host, port, data) >> File "/usr/lib/python2.5/site-packages/mediaproxy/mediacontrol.py", >> line >> 199, in got_data >> self.substream.check_create_conntrack() >> File "/usr/lib/python2.5/site-packages/mediaproxy/mediacontrol.py", >> line >> 249, in check_create_conntrack >> self.forwarding_rule = _conntrack.ForwardingRule(self.caller.remote, >> self.caller.local, self.callee.remote, self.callee.local, >> self.stream.session.mark) >> mediaproxy.interfaces.system._conntrack.Error: No such file or directory >> >> >> What should be the cause and resolution for this error and no media? Is >> there anything missing in Mediaproxy? >> >> Thanks for any support. >> >> - >> Shehzad >> -- >> View this message in context: >> http://n2.nabble.com/Mediaproxy%3A-No-Media-and-call-ends-with-error-tp3034476p3034476.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 >> > > -- > Sent from my mobile device > > http://www.suretecsystems.com/services/openldap/ > http://www.suretectelecom.com > > ___ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > -- View this message in context: http://n2.nabble.com/Mediaproxy%3A-No-Media-and-call-ends-with-error-tp3034476p3041427.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] Mediaproxy: No Media and call ends with error
Hello, I have installed Opensips and Mediaproxy on Debian Linux 5.0. All the configuration for Opensips and Mediaproxy is taken from existing working configuration of other system. According to Opensips configuration I can register local users and can make calls locally. (Means Opensips Signaling works) But while testing properly I found that there is no media on both sides (Caller and Callee). Thus I checked logs of media-relay. When making test call, I found error in media-relay as below: File "/usr/lib/python2.5/site-packages/twisted/python/log.py", line 36, in callWithContext return context.call({ILogContext: newCtx}, func, *args, **kw) File "/usr/lib/python2.5/site-packages/twisted/python/context.py", line 59, in callWithContext return self.currentContext().callWithContext(ctx, func, *args, **kw) File "/usr/lib/python2.5/site-packages/twisted/python/context.py", line 37, in callWithContext return func(*args,**kw) File "/usr/lib/python2.5/site-packages/twisted/internet/epollreactor.py", line 231, in _doReadOrWrite why = selectable.doRead() --- --- File "/usr/lib/python2.5/site-packages/twisted/internet/udp.py", line 126, in doRead self.protocol.datagramReceived(data, addr) File "/usr/lib/python2.5/site-packages/mediaproxy/mediacontrol.py", line 121, in datagramReceived self.cb_func(host, port, data) File "/usr/lib/python2.5/site-packages/mediaproxy/mediacontrol.py", line 199, in got_data self.substream.check_create_conntrack() File "/usr/lib/python2.5/site-packages/mediaproxy/mediacontrol.py", line 249, in check_create_conntrack self.forwarding_rule = _conntrack.ForwardingRule(self.caller.remote, self.caller.local, self.callee.remote, self.callee.local, self.stream.session.mark) mediaproxy.interfaces.system._conntrack.Error: No such file or directory What should be the cause and resolution for this error and no media? Is there anything missing in Mediaproxy? Thanks for any support. - Shehzad -- View this message in context: http://n2.nabble.com/Mediaproxy%3A-No-Media-and-call-ends-with-error-tp3034476p3034476.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] ACK message loops while behind firewall
I am sending calls from SIPP and Asterisk (as Caller gateway). SIPP calls are creating ACK message to loop locally on Opensips server as described in previous post. But when Opensips receive ACK message from Asterisk Caller, It does not route it back to terminator thus terminator re-transmit 200OK. I am attaching SIP trace (which is take on firewall system) http://n2.nabble.com/file/n2845440/Ast.Noackback.200.retrans.log Ast.Noackback.200.retrans.log Does any body has faced such issue. Let me know what should i try to solve this and set Opensips to handle Asterisk calls properly behind firewall? Feel free to comment if any. Thanks, msp Shehzad wrote: > > Hello, > I have attached a whole trace as below. > http://n2.nabble.com/file/n2818688/MAILING_10.10.2.5_ACK_sipp.log > MAILING_10.10.2.5_ACK_sipp.log > > Some IP as referenced in the above trace are as below: > : IP address of Caller Gateway > : IP address of Opensips Server > : IP address of Firewall > : IP address of provider > > Thanks, > msp > > > Bogdan-Andrei Iancu wrote: >> >> Hi, >> >> You need to post the whole trace (from the begining of the calls) to see >> what the problem is. >> >> Regards, >> Bogdan >> >> msp wrote: >>> Hi all, >>> >>> My Opensips server is behind firewall. All the messages comes at port >>> 5060 on firewall are routed to Opensips Server. Then calls are routed >>> based on LCR. See below: >>> >>> Caller ===> | | >>> | Firewall |<> Opensips Server >>> Callee <=== || >>> >>> Currently calls are being routed properly from caller server to >>> callee, but when Caller sends ACK in respond to callee 's 200-OK, >>> Opensips doesn't route it back to Callee, and ACK message is sent to >>> Opensips Server itself which creates loop. At the end Opensips server >>> responds to Caller "483-Too many hops" as maximum hops reaches. >>> >>> Have any body done anything like this before. Let me know what should >>> be missing or possible fault. >>> >>> thanks, >>> msp. >>> >>> >>> >>> ___ >>> 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 >> >> > > -- View this message in context: http://n2.nabble.com/ACK-message-loops-while-behind-firewall-tp2753844p2845440.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] ACK message loops while behind firewall
Hello, I have attached a whole trace as below. http://n2.nabble.com/file/n2818688/MAILING_10.10.2.5_ACK_sipp.log MAILING_10.10.2.5_ACK_sipp.log Some IP as referenced in the above trace are as below: : IP address of Caller Gateway : IP address of Opensips Server : IP address of Firewall : IP address of provider Thanks, msp Bogdan-Andrei Iancu wrote: > > Hi, > > You need to post the whole trace (from the begining of the calls) to see > what the problem is. > > Regards, > Bogdan > > msp wrote: >> Hi all, >> >> My Opensips server is behind firewall. All the messages comes at port >> 5060 on firewall are routed to Opensips Server. Then calls are routed >> based on LCR. See below: >> >> Caller ===> | | >> | Firewall |<> Opensips Server >> Callee <=== || >> >> Currently calls are being routed properly from caller server to >> callee, but when Caller sends ACK in respond to callee 's 200-OK, >> Opensips doesn't route it back to Callee, and ACK message is sent to >> Opensips Server itself which creates loop. At the end Opensips server >> responds to Caller "483-Too many hops" as maximum hops reaches. >> >> Have any body done anything like this before. Let me know what should >> be missing or possible fault. >> >> thanks, >> msp. >> >> >> >> ___ >> 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 > > -- View this message in context: http://n2.nabble.com/ACK-message-loops-while-behind-firewall-tp2753844p2818688.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