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 class="gmail_quote">On Tue, Jun 16, 2009 at 12:05 PM, Bogdan-Andrei Iancu <span dir="ltr"><<a href="mailto:bogdan@voice-system.ro">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;">
Hi Charles,<br>
<br>
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..:<br>
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<br>
<br>
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....<div class="im">
<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 class="im">
Thanks for the replys, I uploaded my config here: <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 parts out of a book, some parts off this list, some parts on 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 syslog, here is the log stuff I was trying to look through 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 think shows the real problem. The server keeps sending the ack to itself over and over.<br>
<br>
Oh, here are some complete sip messages too: <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 my original picture<br>
<br>
Thank you<br>
<br></div><div class="im">
On Mon, Jun 15, 2009 at 8:23 PM, Alex Balashov <<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>>> wrote:<br>
<br>
Can you paste your OpenSIPS config? It may be that the ACK 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 I have<br>
231 send invites to 228 which processes the route and does lcr.<br>
228 sends calls to the best gateway, which in my tests is just<br>
one asterisk server (also on 228, port 5059).<br>
<br>
I have 231 and asterisk record their route, 228 does not show<br>
up in the route header.<br>
<br>
The problem comes in when asterisk sets up a call it tries to<br>
bridge the caller and callee with reinvites. I see the 200 OK<br>
message and my caller sends a ACK back, but opensips 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 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 going on?<br>
<br>
Thank you for your time<br>
<br>
<br>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
Users mailing list<br></div>
<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>><div class="im"><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><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>
</div></blockquote>
<br>
</blockquote></div><br>