<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On 26/03/2012, at 9:21 PM, Jeremy Malcolm wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>Thanks for the tip, it looks like UDP packets to the server I'm forwarding to are being blocked somewhere. :-( Will take this up with my ISP, or something.</div></div></div></blockquote></div><div><br></div><div>No, sorry but I can rule that out now: I did some test calls from my static-IP opensips box to my dynamic-IP Asterisk box and they worked. I can also confirm I am receiving calls from my DID provider to my static-IP machine and that opensips is trying to redirect them, but the DID provider is not following the redirection.</div><div><br></div><div>This is what ngrep sees on my static-IP box when a call is made by the DID provider (11.22.33.44 or dynamic.ip.box is my dynamic-IP box, 55.66.77.88 or static.ip.box is my static IP box, 99.00.11.22 is the DID provider, 33.44.55.66 is the caller); it sees the redirect going out to the DID provider, and the acknowledgement of that:</div><div><br></div><div><div>#</div><div>U 55.66.77.88:5060 -> 99.00.11.22:5060</div><div>SIP/2.0 302 Redirect.</div><div>Via: SIP/2.0/UDP 99.00.11.22;branch=z9hG4bK4d2d.45a98547.0.</div><div>Via: SIP/2.0/UDP 33.44.55.66:16000;received=33.44.55.66;branch=z9hG4bK-d8754z-2d409d3e55d94f1e-1---d8754z-;rport=16000.</div><div>To: <<a href="sip:user@99.00.11.22:5060">sip:user@99.00.11.22:5060</a>>;tag=61ae7837698e5c9f3ea027df6cb50162.f190.</div><div>From: "caller"<<a href="sip:caller@33.44.55.66">sip:caller@33.44.55.66</a>>;tag=7b050e32.</div><div>Call-ID: NDcxNDQyYjAwNWI5MTEzMjgwNDBkMWU1NDY0OTY4NTk..</div><div>CSeq: 1 INVITE.</div><div>Contact: <a href="sip:user@dynamic.ip.box">sip:user@dynamic.ip.box</a>, <a href="sip:user@dynamic.ip.box:9">sip:user@dynamic.ip.box:9</a>.</div><div>Server: OpenSIPS (1.8.0-beta-notls (x86_64/linux)).</div><div>Content-Length: 0.</div><div>.</div><div><br></div><div>#</div><div>U 99.00.11.22:5060 -> 55.66.77.88:5060</div><div>ACK <a href="sip:user@static.ip.box">sip:user@static.ip.box</a> SIP/2.0.</div><div>Via: SIP/2.0/UDP 99.00.11.22;branch=z9hG4bK4d2d.45a98547.0.</div><div>Max-Forwards: 69.</div><div>To: <<a href="sip:user@99.00.11.22:5060">sip:user@99.00.11.22:5060</a>>;tag=61ae7837698e5c9f3ea027df6cb50162.f190.</div><div>From: "caller"<<a href="sip:caller@33.44.55.66">sip:caller@33.44.55.66</a>>;tag=7b050e32.</div><div>Call-ID: NDcxNDQyYjAwNWI5MTEzMjgwNDBkMWU1NDY0OTY4NTk..</div><div>CSeq: 1 ACK.</div><div>Content-Length: 0.</div><div>.</div></div><div><br></div><div>So this is all correct, and should make the DID provider redirect the call? If so, where to troubleshoot from here? Nothing is coming through at the dynamic-IP box at all. I also tried using the dynamic-IP box's IP address instead of its domain name, in case it was a DNS caching issue. Is the DID provider at fault for not following the redirect as it should?</div><div apple-content-edited="true">
</div>
<br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div><div>--</div><div>Jeremy Malcolm PhD LLB (Hons) B Com</div><div>Internet and Open Source lawyer, consumer advocate and geek</div><div>host -t NAPTR 5.9.8.5.2.8.2.2.1.0.6.e164.org|awk -F! '{print $3}</div></div><div><br></div></span><br class="Apple-interchange-newline">
</div>
<br></body></html>