Strange... We have no firewalls inside and tcpdump shows outgoing
traffic. As I see, it means that Opensips/Kamailio attempts to forward
SIP request, but no "Giving a try" is sent back. We'll try to contact
gateway vendor.<br><br><div class="gmail_quote">2009/10/29 Daniel-Constantin Mierla <span dir="ltr">&lt;<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello,<br>
<br>
have you watched the sip traffic with ngrep or wireshark? Basically there is not a specific constraint related to local domain or foreign domain inside kamailio, routing is simply only matter of your config.<br>
<br>
Also, in case kamailio is listening on many IP interfaces, you have to monitor all of them to see if the message is sent. If there is retransmission means that the request was forwarded, check on your sip platform to see if any sip traffic comes (also with a network sniffer) and be sure you don&#39;t have firewalls in between.<br>

<br>
Cheers,<br>
Daniel<div class="im"><br>
<br>
On 29.10.2009 7:45 Uhr, Alexander 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">
  I&#39;ve encountered one problem I can not solve :( The situation is following: we&#39;ve got Kamailio working together with our own SIP platform. Our platform is about various call processing business logic and billing. All calls from SIP users should pass through our platform. For now we successfully can make and receive calls inside our domain - NAT is handled fine in most cases, instant messages are handled and so on. It looks like that:<br>

- Kamailio receives a call from caller<br>
- Call is redirected to our platform<br>
- Platform redirects call back to Kamailio and it looks for callee.<br>
<br>
  I&#39;ve tried to implement that logic. It seems to work in some cases, but I encounter one problem. Sometimes Kamailio can not forward a call to the platform via rewritehostport(). It tries to forward SIP request, but nothing happens - only retransmission handler is called. I mean, after call to t_relay(), I see this:<br>

<br></div>
Oct 27 12:12:35 [16751] DBG:tm:retransmission_handler: retransmission_handler : request resending (t=0xb618de58, INVITE <a href="http://sip:200213@62.117.120.101:5061" target="_blank">sip:200213@62.117.120.101:5061</a> &lt;<a href="http://sip:200213@62.117.120.101:5061/" target="_blank">http://sip:200213@62.117.120.101:5061/</a>&gt; SIP/2.0...<br>

Oct 27 12:12:35 [16751] DBG:tm:retransmission_handler: retransmission_handler : request resending (t=0xb618de58, INVITE <a href="http://sip:200213@62.117.120.101:5061" target="_blank">sip:200213@62.117.120.101:5061</a> &lt;<a href="http://sip:200213@62.117.120.101:5061/" target="_blank">http://sip:200213@62.117.120.101:5061/</a>&gt; SIP/2.0...<br>

Oct 27 12:12:35 [16751] DBG:tm:retransmission_handler: retransmission_handler : request resending (t=0xb618de58, INVITE <a href="http://sip:200213@62.117.120.101:5061" target="_blank">sip:200213@62.117.120.101:5061</a> &lt;<a href="http://sip:200213@62.117.120.101:5061/" target="_blank">http://sip:200213@62.117.120.101:5061/</a>&gt; SIP/2.0...<div class="im">
<br>
<br>
SIP requests seem to be correct, and configuration file works ok from time to time.<br>
<br>
The problem I&#39;ve described happens when Kamailio receives a call from another domain (for example, from sipbroker). Inside our domain everything works fine and INVITE passes to our platform correctly.<br>
<br>
  I&#39;ve attached configuration file and debug output. Files were written for and by Opensips, but with Kamailio I encounter the same problem.<br>
<br>
  Is this a problem with configuration file or something else?<br></div>
------------------------------------------------------------------------<div class="im"><br>
<br>
_______________________________________________<br>
Kamailio (OpenSER) - Users mailing list<br>
<a href="mailto:Users@lists.kamailio.org" target="_blank">Users@lists.kamailio.org</a><br>
<a href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</a><br>
<a href="http://lists.openser-project.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.openser-project.org/cgi-bin/mailman/listinfo/users</a><br>
</div></blockquote><font color="#888888">
<br>
-- <br>
Daniel-Constantin Mierla<br>
* Kamailio SIP Masterclass, Nov 9-13, 2009, Berlin<br>
* <a href="http://www.asipto.com/index.php/sip-router-masterclass/" target="_blank">http://www.asipto.com/index.php/sip-router-masterclass/</a><br>
<br>
</font></blockquote></div><br>