<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>That SIP request was what was received on the FS server.</div><div><br></div><div>I just made two calls. One from the polylcom phone which worked and one through asterisk which failed. I'm comparing the two SIP INVITEs to see what the difference is. (Looking at the Invites that FS RECEIVED.)</div><div><br></div><div>Much is the same. here is what I found different.</div><div><br></div><div>To: On the successful call has "user=phone" appended. Nothing on the failed call</div><div><br></div><div>Call-ID: On the failed call is "abcdefetc:domain" On the successful call is "abcdetc:phone_ip" <--- Might be significant.</div><div><br></div><div>Remote-Party-ID: Exists for failed call. Does not exist for successful call</div><div><br></div><div>Proxy-Authorization: The uri for successful call has port 5060. The uri for failed call has no port <--- Might be significant.</div><div><br></div><div><br></div><div>Still digging through debug stuff but wanted to send this to the list incase someone had any ideas.</div><div><br></div><div>Thanks!!</div><div><br></div><div>-Noah</div><div><br></div><br><div><div>On Sep 22, 2008, at 4:36 PM, Jai Rangi wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Is your asterisk server behind the firewall or NAT. <br>Does your FS respond to the invite from asterisk, <br>Did you run sip trace on both asterisk and FS. I mean it will be useful to know if the below sip trace is from asterisk or FS. If from asterisk, then need to make sure if FS got the request and how it replied to that request. <br> <br>Hope this will help you in debugging the problem. <br><br>Jai<br><a href="http://www.didforsale.com/" target="_blank">www.didforsale.com</a><br>*Buy SIP DIDs all Over US at low cost, unlimited minutes<br><a href="http://www.didforsale.com/" target="_blank">http://www.didforsale.com</a>" <br> <br><div class="gmail_quote">On Mon, Sep 22, 2008 at 4:01 PM, Noah Silverman <span dir="ltr"><<a href="mailto:noah@allresearch.com">noah@allresearch.com</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;"> Tried that and still doesn't work.<br> <br> I've attached the SIP INVITE so that maybe you'll see something that<br> gives you a clue.<br> <br> Also, I don't know if it matters, but the FS server is actually in an<br> off site data center. I'm connecting to it remotely from my office.<br> Works fine for a single polycom phone. (That, and the sound quality<br> is AMAZING! )<br> <br> Here is what I have in Asterisk now...<br> <div class="Ih2E3d">[Freeswitch]<br> host=<a href="http://111.111.111.111" target="_blank">111.111.111.111</a><br> username=3235551212<br> secret=password<br> </div>fromdomain=<a href="http://111.111.111.111" target="_blank">111.111.111.111</a><br> <div class="Ih2E3d">port=5060<br> type=peer<br> trustrpid=yes<br> sendrpid=yes<br> context=from-trunk<br> canreinvite=no<br> disallow=all<br> allow=ulaw<br> <br> <br> <br> </div>Here's the SIP INVITE. (IP's changed to protect the innocent.)<br> <a href="http://111.111.111.111" target="_blank">111.111.111.111</a> is the address of my FS server<br> <a href="http://222.222.222.222" target="_blank">222.222.222.222</a> is the address of my asterisk server<br> 3235551212 is my username/did/account in FS<br> <br> U <a href="http://222.222.222.222:1024" target="_blank">222.222.222.222:1024</a> -> <a href="http://111.111.111.111:5060" target="_blank">111.111.111.111:5060</a><br> INVITE <a href="mailto:sip%3A13237773456@111.111.111.111">sip:13237773456@111.111.111.111</a> SIP/2.0.<br> Via: SIP/2.0/UDP 10.0.1.100:5060;branch=z9hG4bK03cd6fd2;rport.<br> From: "3235551212" <<a href="mailto:sip%3A3235551212@111.111.111.111">sip:3235551212@111.111.111.111</a>>;tag=as146a87d7.<br> To: <<a href="mailto:sip%3A13237773456@111.111.111.111">sip:13237773456@111.111.111.111</a>>.<br> Contact: <<a href="mailto:sip%3A3235551212@222.222.222.222">sip:3235551212@222.222.222.222</a>>.<br> Call-ID: <a href="mailto:4382446d3a46269d7f469e93147b46eb@111.111.111.111">4382446d3a46269d7f469e93147b46eb@111.111.111.111</a><br> CSeq: 103 INVITE.<br> User-Agent: Asterisk PBX.<br> Max-Forwards: 70.<br> Remote-Party-ID: "3235551212" <sip:<br> <a href="mailto:3235551212@111.111.111.111">3235551212@111.111.111.111</a>>;privacy=off;screen=no.<br> Proxy-Authorization: Digest username="3235551212",<br> realm="<a href="http://111.111.111.111" target="_blank">111.111.111.111</a>", algorithm=MD5, uri="<a href="mailto:sip%3A13237773456@111.111.111.111">sip:13237773456@111.111.111.111</a><br> ", nonce="c52ba984-f888-dd11-80f4-00188b37805b",<br> response="01635afacb7eeebc6fc0888991c0411d", qop=auth,<br> cnonce="4e065f27", nc=00000001.<br> Date: Mon, 22 Sep 2008 22:54:14 GMT.<br> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY.<br> Supported: replaces.<br> Content-Type: application/sdp.<br> Content-Length: 234.<br> <div><div></div><div class="Wj3C7c"><br> <br> <br> <br> <br> On Sep 22, 2008, at 2:35 PM, Brian West wrote:<br> <br> > you'll need to set from-domain in the sip.conf on asterisk ;)<br> ><br> > /b<br> ><br> > On Sep 22, 2008, at 2:30 PM, Noah Silverman wrote:<br> ><br> >> Below is the config in my sip.conf for asterisk. (IP and DID changed<br> >> for privacy)<br> >><br> >> [Freeswitch]<br> >> host=<a href="http://111.111.111.111" target="_blank">111.111.111.111</a><br> >> username=3235551212<br> >> secret=password<br> >> port=5060<br> >> type=peer<br> >> trustrpid=yes<br> >> sendrpid=yes<br> >> context=from-trunk<br> >> canreinvite=no<br> >> disallow=all<br> >> allow=ulaw<br> >><br> ><br> ><br> > _______________________________________________<br> > Freeswitch-users mailing list<br> > <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br> > <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br> > UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br> > <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br> ><br> <br> <br> _______________________________________________<br> Freeswitch-users mailing list<br> <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br> </div></div></blockquote></div><br></div> _______________________________________________<br>Freeswitch-users mailing list<br><a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>http://www.freeswitch.org<br></blockquote></div><br></body></html>