oops, misclick on reply all<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Charles Solar</b> <span dir="ltr"><<a href="mailto:redcomet87@gmail.com">redcomet87@gmail.com</a>></span><br>
Date: Tue, Jun 16, 2009 at 11:10 PM<br>Subject: Re: [OpenSIPS-Users] ACK bug?<br>To: Bogdan-Andrei Iancu <<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>><br><br><br>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.<br>
<br>Thanks<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Tue, Jun 16, 2009 at 8:53 PM, Bogdan-Andrei Iancu <span dir="ltr"><<a href="mailto:bogdan@voice-system.ro" target="_blank">bogdan@voice-system.ro</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I see :)...so you configured as local domain the 228:5059 ?<div><br>
<br>
Regards,<br>
Bogdan<br>
<br>
Charles Solar wrote:<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>
Thank you very much, I think this is the problem but there is an issue with removing 228 as it too runs opensips =/<br>
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)<br>
<br>
So I guess the real problem is that 228:5060 = 228:5059 according to opensips.<br>
<br>
which it is the same domain so I guess I cant blame it :p<br>
<br>
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.<br>
<br>
Thanks alot<br>
<br></div><div><div></div><div>
On Tue, Jun 16, 2009 at 12:05 PM, Bogdan-Andrei Iancu <<a href="mailto:bogdan@voice-system.ro" target="_blank">bogdan@voice-system.ro</a> <mailto:<a href="mailto:bogdan@voice-system.ro" target="_blank">bogdan@voice-system.ro</a>>> wrote:<br>
<br>
Hi Charles,<br>
<br>
It seams the ACK is looping on opensips server... and this because<br>
when doing "loose_route", the opensips is doing strict route<br>
instead of loose_route..:<br>
Jun 15 14:09:55 server231 /usr/sbin/opensips[2331]:<br>
DBG:rr:after_strict: Next hop: 'sip:X.X.X.231;lr' is loose router<br>
<br>
I guess you have a misconfiguration in your script as the<br>
X.X.X.228:5059 is recognized as a local address (to opensips).<br>
Please check if you haven't set this IP as alias or as domain in<br>
"domains" table....<br>
<br>
<br>
Regards,<br>
Bogdan<br>
<br>
Charles Solar wrote:<br>
<br>
Thanks for the replys, I uploaded my config here:<br>
<a href="http://pastebin.com/m75846e3d" target="_blank">http://pastebin.com/m75846e3d</a><br>
Its a pretty standard config for the most part, I picked some<br>
parts out of a book, some parts off this list, some parts on<br>
other forums. This ack thing is just stretching me thin here.<br>
<br>
I did throw some log messages in there to help debug in<br>
syslog, here is the log stuff I was trying to look through<br>
yesterday. <a href="http://pastebin.com/m75e67226" target="_blank">http://pastebin.com/m75e67226</a><br>
<br>
I just noticed while pasting that log, on line 44 there I<br>
think shows the real problem. The server keeps sending the<br>
ack to itself over and over.<br>
<br>
Oh, here are some complete sip messages too:<br>
<a href="http://pastebin.com/m21d11a25" target="_blank">http://pastebin.com/m21d11a25</a><br>
I marked on that paste which message correspond to messages in<br>
my original picture<br>
<br>
Thank you<br>
<br>
On Mon, Jun 15, 2009 at 8:23 PM, Alex Balashov<br>
<<a href="mailto:abalashov@evaristesys.com" target="_blank">abalashov@evaristesys.com</a> <mailto:<a href="mailto:abalashov@evaristesys.com" target="_blank">abalashov@evaristesys.com</a>><br></div></div>
<mailto:<a href="mailto:abalashov@evaristesys.com" target="_blank">abalashov@evaristesys.com</a><div><div></div><div><br>
<mailto:<a href="mailto:abalashov@evaristesys.com" target="_blank">abalashov@evaristesys.com</a>>>> wrote:<br>
<br>
Can you paste your OpenSIPS config? It may be that the ACK<br>
is not<br>
being properly routed in all circumstances.<br>
<br>
Charles Solar wrote:<br>
<br>
I am experiencing an ack bug in opensips I believe.<br>
I have a caller register to a server, call it 231, and<br>
I have<br>
231 send invites to 228 which processes the route and<br>
does lcr.<br>
228 sends calls to the best gateway, which in my tests<br>
is just<br>
one asterisk server (also on 228, port 5059).<br>
<br>
I have 231 and asterisk record their route, 228 does<br>
not show<br>
up in the route header.<br>
<br>
The problem comes in when asterisk sets up a call it<br>
tries to<br>
bridge the caller and callee with reinvites. I see the<br>
200 OK<br>
message and my caller sends a ACK back, but opensips<br>
does not<br>
forward the ACK properly.<br>
<br>
This is a wireshack graph of the conversation from 231's<br>
perspective<br>
<a href="http://img197.imageshack.us/img197/7889/sshot2mfv.png" target="_blank">http://img197.imageshack.us/img197/7889/sshot2mfv.png</a><br>
<br>
I have tried shifting through the debug messages in<br>
syslog but<br>
all I can tell is that 231 is trying to forward the ACK to<br>
itself.<br>
Has anyone else experienced this problem or know whats<br>
going on?<br>
<br>
Thank you for your time<br>
<br>
<br>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<mailto:<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>><br>
<mailto:<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<mailto:<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>>><br>
<br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
<br>
<br>
-- Alex Balashov<br>
Evariste Systems<br>
Web : <a href="http://www.evaristesys.com/" target="_blank">http://www.evaristesys.com/</a><br>
Tel : (+1) (678) 954-0670<br>
Direct : (+1) (678) 954-0671<br>
Mobile : (+1) (678) 237-1775<br>
<br>
<br>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a> <mailto:<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
<br>
<br>
</div></div></blockquote>
<br>
</blockquote></div><br>
</div></div></div><br>