Sorry, I hit send when I meant to hit save while I pulled some info.<br><br>The trace below though shows the start of the loop of ACKs. The ACKs are getting sent to 75.101.136.125, when then should be going to the endpoint. It would appear the transaction is not being identified. I'm still looking at why, hence not wanting to send this yet...but any early ideas would be great ;)<br>
<br>-dg<br><br><br><div class="gmail_quote">On Wed, Oct 14, 2009 at 4:20 PM, Daniel Goepp <span dir="ltr"><<a href="mailto:dan@goepp.net">dan@goepp.net</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'm sure that Raul had a good point that I'm crazy for doing this, but right now unfortunately I do not have a lot of options, and believe with some solid logic in the config can resolve this issue. Right now I appear to be having an ACK come back from a 200 that turns into an endless loop. I'm using <br>
<br>advertised_address="75.101.136.125"<br><br><br><br>U <a href="http://10.250.7.164:5060" target="_blank">10.250.7.164:5060</a> -> <a href="http://76.102.118.209:3724" target="_blank">76.102.118.209:3724</a><br>
SIP/2.0 200 OK.<br>Via: SIP/2.0/UDP 192.168.1.102:3724;received=76.102.118.209;branch=z9hG4bK-d8754z-ff34ad60b13c376a-1---d8754z-;rport=3724.<br>
Call-ID: NTU3NTE3NmZiNjVkNGYzNWEzYWVhZWQ4MjhhYjczN2E..<br>CSeq: 2 INVITE.<br>Contact: <<a href="http://sip:2001@76.102.118.209:11386" target="_blank">sip:2001@76.102.118.209:11386</a>>.<br>From: "Daniel Goepp" <<a href="mailto:sip%3A1001@vidtel.com" target="_blank">sip:1001@vidtel.com</a>>;tag=ac7fa632.<br>
To: "2001" <<a href="mailto:sip%3A2001@vidtel.com" target="_blank">sip:2001@vidtel.com</a>>;tag=8f7b7e78f8cb0eca.<br>Record-Route: <sip:75.101.136.125;lr=on>.<br>Allow: INVITE,ACK,CANCEL,BYE,UPDATE,INFO,OPTIONS,REFER,NOTIFY.<br>
Server: TANDBERG/257 (TE2.0.0.191892).<br>Supported: replaces,100rel,timer,gruu,path,outbound,com.tandberg.sdp.extensions.v1.<br>Session-Expires: 500; refresher=uas.<br>Min-SE: 90.<br>Content-Type: application/sdp.<br>Content-Length: 217.<br>
.<br>v=0.<br>o=tandberg 103 1 IN IP4 192.168.1.101.<br>s=-.<br>c=IN IP4 192.168.1.101.<br>b=CT:64.<br>t=0 0.<br>m=audio 2330 RTP/AVP 0 101.<br>b=TIAS:64000.<br>a=rtpmap:0 PCMU/8000.<br>a=rtpmap:101 telephone-event/8000.<br>
a=fmtp:101 0-15.<br>a=sendrecv.<br><br><br>U <a href="http://76.102.118.209:3724" target="_blank">76.102.118.209:3724</a> -> <a href="http://10.250.7.164:5060" target="_blank">10.250.7.164:5060</a><br>ACK <a href="http://sip:2001@76.102.118.209:11386" target="_blank">sip:2001@76.102.118.209:11386</a> SIP/2.0.<br>
Via: SIP/2.0/UDP 192.168.1.102:3724;branch=z9hG4bK-d8754z-6d520059c54f5b74-1---d8754z-;rport.<br>Max-Forwards: 70.<br>Route: <sip:75.101.136.125;lr>.<br>Contact: <<a href="http://sip:1001@192.168.1.102:3724" target="_blank">sip:1001@192.168.1.102:3724</a>>.<br>
To: "2001"<<a href="mailto:sip%3A2001@vidtel.com" target="_blank">sip:2001@vidtel.com</a>>;tag=8f7b7e78f8cb0eca.<br>From: "Daniel Goepp"<<a href="mailto:sip%3A1001@vidtel.com" target="_blank">sip:1001@vidtel.com</a>>;tag=ac7fa632.<br>
Call-ID: NTU3NTE3NmZiNjVkNGYzNWEzYWVhZWQ4MjhhYjczN2E..<br>CSeq: 2 ACK.<br>Proxy-Authorization: Digest username="1001",realm="<a href="http://vidtel.com" target="_blank">vidtel.com</a>",nonce="4ad65ba02105a03bfdc0e3839160a42b5e1d90ac",uri="<a href="mailto:sip%3A2001@vidtel.com" target="_blank">sip:2001@vidtel.com</a>",response="0eea648b121320214ab8ec908eb97446",algorithm=MD5.<br>
User-Agent: eyeBeam release 1104g stamp 54685.<br>Content-Length: 0.<br>.<br><br><br>U <a href="http://10.250.7.164:5060" target="_blank">10.250.7.164:5060</a> -> <a href="http://75.101.136.125:5060" target="_blank">75.101.136.125:5060</a><br>
ACK <a href="http://sip:2001@76.102.118.209:11386" target="_blank">sip:2001@76.102.118.209:11386</a> SIP/2.0.<br>
Via: SIP/2.0/UDP 75.101.136.125;branch=z9hG4bK3128.7db9df05.2.<br>Via: SIP/2.0/UDP 192.168.1.102:3724;received=76.102.118.209;branch=z9hG4bK-d8754z-6d520059c54f5b74-1---d8754z-;rport=3724.<br>Max-Forwards: 69.<br>Route: <sip:75.101.136.125;lr>.<br>
Contact: <<a href="http://sip:1001@192.168.1.102:3724" target="_blank">sip:1001@192.168.1.102:3724</a>>.<br>To: "2001"<<a href="mailto:sip%3A2001@vidtel.com" target="_blank">sip:2001@vidtel.com</a>>;tag=8f7b7e78f8cb0eca.<br>
From: "Daniel Goepp"<<a href="mailto:sip%3A1001@vidtel.com" target="_blank">sip:1001@vidtel.com</a>>;tag=ac7fa632.<br>
Call-ID: NTU3NTE3NmZiNjVkNGYzNWEzYWVhZWQ4MjhhYjczN2E..<br>CSeq: 2 ACK.<br>Proxy-Authorization: Digest username="1001",realm="<a href="http://vidtel.com" target="_blank">vidtel.com</a>",nonce="4ad65ba02105a03bfdc0e3839160a42b5e1d90ac",uri="<a href="mailto:sip%3A2001@vidtel.com" target="_blank">sip:2001@vidtel.com</a>",response="0eea648b121320214ab8ec908eb97446",algorithm=MD5.<br>
User-Agent: eyeBeam release 1104g stamp 54685.<br>Content-Length: 0.<br>.<br><font color="#888888"><br>-dg</font><div><div></div><div class="h5"><br>
<br><br><div class="gmail_quote">On Wed, Oct 7, 2009 at 11:20 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;">
Hi Daniel,<br>
<br>
Try using set_advertised_address() before sending the call out.<br>
<a href="http://www.opensips.org/Resources/DocsCoreFcn#toc125" target="_blank">http://www.opensips.org/Resources/DocsCoreFcn#toc125</a><br>
<br>
or use the record_route_preset() function :<br>
<a href="http://www.opensips.org/html/docs/modules/devel/rr.html#id228590" target="_blank">http://www.opensips.org/html/docs/modules/devel/rr.html#id228590</a><br>
<div><div></div><div><br>
Regards,<br>
Bogdan<br>
<br>
Daniel Goepp wrote:<br>
> After further investigation, this only updating the Via header, but<br>
> the RR is remaining untouched:<br>
><br>
> Record-Route: <sip:10.250.7.164;lr=on><br>
><br>
> Ideas about how I might get this field updated correctly?<br>
><br>
> Thanks<br>
><br>
> -dg<br>
><br>
> On Wed, Oct 7, 2009 at 2:10 PM, Bogdan-Andrei Iancu<br>
> <<a href="mailto:bogdan@voice-system.ro" target="_blank">bogdan@voice-system.ro</a>> wrote:<br>
><br>
>> Hi Daniel,<br>
>><br>
>> try using the advertise_address and advertise_port to force opensips in<br>
>> using the public IPs of the NAT:<br>
>> <a href="http://www.opensips.org/Resources/DocsCoreFcn#toc24" target="_blank">http://www.opensips.org/Resources/DocsCoreFcn#toc24</a><br>
>><br>
>> Regards,<br>
>> Bogdan<br>
>><br>
>> Daniel Goepp wrote:<br>
>><br>
>>> I am trying to setup OpenSIPs to run behind a firewall, and not<br>
>>> finding much information regarding how to get OpenSIPs to be aware of<br>
>>> the public IP for it's signaling. The firewall is setup with a 1 to 1<br>
>>> NAT for the public and private IPs, and right now all udp and tcp<br>
>>> traffic is being passed directly through. Has anyone successfully<br>
>>> gotten OpenSIPs setup like this? If so, can you please provide any<br>
>>> information on how it was setup.<br>
>>><br>
>>> TIA<br>
>>><br>
>>> -dg<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>
>>><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>
>><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>
><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>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>