oops, misclick on reply all ---------- Forwarded message ---------- From: Charles Solar <[email protected]> Date: Tue, Jun 16, 2009 at 11:10 PM Subject: Re: [OpenSIPS-Users] ACK bug? To: Bogdan-Andrei Iancu <[email protected]>
Well 228 is configured as a local domain because opensips on 228:5060 routes calls. 228:5059 was asterisk but since it was on the same ip it qualifies as the same domain. I bound a second ip to the server, setup asterisk to be on that different ip and I will test it tomarrow. Thanks On Tue, Jun 16, 2009 at 8:53 PM, Bogdan-Andrei Iancu <[email protected] > wrote: > I see :)...so you configured as local domain the 228:5059 ? > > Regards, > Bogdan > > Charles Solar wrote: > >> Thank you very much, I think this is the problem but there is an issue >> with removing 228 as it too runs opensips =/ >> That server is actually running both asterisk and opensips and the invites >> get sent from 231 to 228:5060 (opensips) which does routing and lcr. >> 228:5060 then sends it to its one gateway 228:5059 (asterisk) >> >> So I guess the real problem is that 228:5060 = 228:5059 according to >> opensips. >> >> which it is the same domain so I guess I cant blame it :p >> >> Well at least now that I know why I can start thinking of solutions. >> Since this is just a test configuration and the gateways would never >> actually be on the same server as the router I think maybe ill just be a bit >> lazy and write some dirty code to make it work for our tests. >> >> Thanks alot >> >> On Tue, Jun 16, 2009 at 12:05 PM, Bogdan-Andrei Iancu < >> [email protected] <mailto:[email protected]>> wrote: >> >> Hi Charles, >> >> It seams the ACK is looping on opensips server... and this because >> when doing "loose_route", the opensips is doing strict route >> instead of loose_route..: >> Jun 15 14:09:55 server231 /usr/sbin/opensips[2331]: >> DBG:rr:after_strict: Next hop: 'sip:X.X.X.231;lr' is loose router >> >> I guess you have a misconfiguration in your script as the >> X.X.X.228:5059 is recognized as a local address (to opensips). >> Please check if you haven't set this IP as alias or as domain in >> "domains" table.... >> >> >> Regards, >> Bogdan >> >> Charles Solar wrote: >> >> Thanks for the replys, I uploaded my config here: >> http://pastebin.com/m75846e3d >> Its a pretty standard config for the most part, I picked some >> parts out of a book, some parts off this list, some parts on >> other forums. This ack thing is just stretching me thin here. >> >> I did throw some log messages in there to help debug in >> syslog, here is the log stuff I was trying to look through >> yesterday. http://pastebin.com/m75e67226 >> >> I just noticed while pasting that log, on line 44 there I >> think shows the real problem. The server keeps sending the >> ack to itself over and over. >> >> Oh, here are some complete sip messages too: >> http://pastebin.com/m21d11a25 >> I marked on that paste which message correspond to messages in >> my original picture >> >> Thank you >> >> On Mon, Jun 15, 2009 at 8:23 PM, Alex Balashov >> <[email protected] <mailto:[email protected]> >> <mailto:[email protected] >> >> <mailto:[email protected]>>> wrote: >> >> Can you paste your OpenSIPS config? It may be that the ACK >> is not >> being properly routed in all circumstances. >> >> Charles Solar wrote: >> >> I am experiencing an ack bug in opensips I believe. >> I have a caller register to a server, call it 231, and >> I have >> 231 send invites to 228 which processes the route and >> does lcr. >> 228 sends calls to the best gateway, which in my tests >> is just >> one asterisk server (also on 228, port 5059). >> >> I have 231 and asterisk record their route, 228 does >> not show >> up in the route header. >> >> The problem comes in when asterisk sets up a call it >> tries to >> bridge the caller and callee with reinvites. I see the >> 200 OK >> message and my caller sends a ACK back, but opensips >> does not >> forward the ACK properly. >> >> This is a wireshack graph of the conversation from 231's >> perspective >> http://img197.imageshack.us/img197/7889/sshot2mfv.png >> >> I have tried shifting through the debug messages in >> syslog but >> all I can tell is that 231 is trying to forward the ACK to >> itself. >> Has anyone else experienced this problem or know whats >> going on? >> >> Thank you for your time >> >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Users mailing list >> [email protected] >> <mailto:[email protected]> >> <mailto:[email protected] >> <mailto:[email protected]>> >> >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> >> >> >> -- Alex Balashov >> Evariste Systems >> Web : http://www.evaristesys.com/ >> Tel : (+1) (678) 954-0670 >> Direct : (+1) (678) 954-0671 >> Mobile : (+1) (678) 237-1775 >> >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Users mailing list >> [email protected] <mailto:[email protected]> >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> >> >> >> >
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
