<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 15, 2014 at 11:28 PM, Brian West <span dir="ltr"><<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="auto"><div>403 == bad password<br></div></div></blockquote><div><br></div>Not necessarily.</div><div class="gmail_quote"><br></div><div class="gmail_quote">Since you have control over the credentials in the Asterisk box, try switching passwords just to discard this variable. Try "1234" for example.</div><div class="gmail_quote"><br></div><div class="gmail_quote">Also, remove the realm parameter and let it decide what value to use, or specify "asterisk". Finally, add "<span style="color:rgb(0,0,0);font-family:monospace,Courier;font-size:12.8000001907349px;line-height:1.3em;background-color:rgb(249,249,249)"><param name="register" value="true/>".</span></div><div class="gmail_quote"><br></div><div class="gmail_quote">Maybe, you could also add "<span style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px">insecure=very" on the Asterisk side.</span></div><div class="gmail_quote"> </div><div class="gmail_quote">Regards,</div><div class="gmail_quote">Carlos</div><div class="gmail_quote"><br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="auto"><div><br>Sent from my iPhone</div><div><div class="h5"><div><br>On Oct 15, 2014, at 7:19 PM, Chris Allison <<a href="mailto:chris.allison@ipscape.asia" target="_blank">chris.allison@ipscape.asia</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr"><div style="color:rgb(0,0,0)">I have been at this for days now, I cant figure our why the FreeSWITCH-> Asterisk SIP registration is failing as the passwords look ok. Any help is much appreciated.</div><div style="color:rgb(0,0,0)"><br></div><div style="color:rgb(0,0,0)"><br></div><div style="color:rgb(0,0,0)"><br></div><div style="color:rgb(0,0,0)">Asterisk(10.237.192.53) sip.conf</div><div style="color:rgb(0,0,0)">[gs-sbc1]</div><div style="color:rgb(0,0,0)">username=gsvoice01</div><div style="color:rgb(0,0,0)">type=friend</div><div style="color:rgb(0,0,0)">insecure=port,invite</div><div style="color:rgb(0,0,0)">secret=ipscape@2014</div><div style="color:rgb(0,0,0)">qualify=yes</div><div style="color:rgb(0,0,0)">host=10.237.192.68</div><div style="color:rgb(0,0,0)">;192.168.202.60</div><div style="color:rgb(0,0,0)">dtmfmode=rfc2833</div><div style="color:rgb(0,0,0)">disallow=all</div><div style="color:rgb(0,0,0)">canreinvite=no</div><div style="color:rgb(0,0,0)">allow=alaw</div><div style="color:rgb(0,0,0)"><br></div><div style="color:rgb(0,0,0)">FreeSWITCH(10.237.192.68) sip internal profile</div><div style="color:rgb(0,0,0)"><include></div><div style="color:rgb(0,0,0)"> <gateway name="ips_voice"></div><div style="color:rgb(0,0,0)"> <param name="username" value="gsvoice01"/></div><div style="color:rgb(0,0,0)"> <param name="realm" value="10.237.192.53"/></div><div style="color:rgb(0,0,0)"> <param name="from-domain" value="10.237.192.68"/></div><div style="color:rgb(0,0,0)"> <param name="password" value="ipscape@2014"/></div><div style="color:rgb(0,0,0)"> <param name="expire-seconds" value="60"/></div><div style="color:rgb(0,0,0)"> <param name="retry-seconds" value="30"/></div><div style="color:rgb(0,0,0)"> <param name="ping" value="25"/></div><div style="color:rgb(0,0,0)"> </gateway></div><div style="color:rgb(0,0,0)"></include></div><div style="color:rgb(0,0,0)"><br></div><div style="color:rgb(0,0,0)">FreeSWITCH console error</div><div><font color="#000000">2014-10-16 00:07:46.105383 [ERR] sofia_reg.c:2312 ips_voice Registration Failed with status Forbidden [403]. failure #1</font></div><div><font color="#000000"><br></font></div><div><font color="#000000">freeswitch@internal> 2014-10-16 00:07:47.105382 [WARNING] sofia_reg.c:502 ips_voice Failed Registration [403], setting retry to 30 seconds.</font><span style="color:rgb(0,0,0)"></span></div><div><span style="color:rgb(0,0,0)"><br></span></div><div><span style="color:rgb(0,0,0)">Asterisk console error - debug</span></div><div><div><font color="#000000"><--- SIP read from UDP:<a href="http://10.237.192.68:5060" target="_blank">10.237.192.68:5060</a> ---></font></div><div><font color="#000000">REGISTER sip:10.237.192.53;transport=udp SIP/2.0</font></div><div><font color="#000000">Via: SIP/2.0/UDP 10.237.192.68;rport;branch=z9hG4bK87tBt612BpgNp</font></div><div><font color="#000000">Max-Forwards: 70</font></div><div><font color="#000000">From: <<a href="mailto:sip%3Agsvoice01@10.237.192.68" target="_blank">sip:gsvoice01@10.237.192.68</a>>;tag=5jt9mZ5cD93pr</font></div><div><font color="#000000">To: <<a href="mailto:sip%3Agsvoice01@10.237.192.53" target="_blank">sip:gsvoice01@10.237.192.53</a>></font></div><div><font color="#000000">Call-ID: 747dfaba-54c8-11e4-bc60-81d0d9943fdf</font></div><div><font color="#000000">CSeq: 66373227 REGISTER</font></div><div><font color="#000000">Contact: <sip:10.237.192.68></font></div><div><font color="#000000">Expires: 0</font></div><div><font color="#000000">User-Agent: FreeSWITCH-mod_sofia/1.5.15b+git~20141008T204520Z~63734bcde0~64bit</font></div><div><font color="#000000">Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE</font></div><div><font color="#000000">Supported: timer, path, replaces</font></div><div><font color="#000000">Content-Length: 0</font></div><div><font color="#000000"><br></font></div><div><font color="#000000"><-------------></font></div><div><font color="#000000">--- (13 headers 0 lines) ---</font></div><div><font color="#000000">Sending to <a href="http://10.237.192.68:5060" target="_blank">10.237.192.68:5060</a> (no NAT)</font></div><div><font color="#000000">Sending to <a href="http://10.237.192.68:5060" target="_blank">10.237.192.68:5060</a> (no NAT)</font></div><div><font color="#000000"><br></font></div><div><font color="#000000"><--- Transmitting (no NAT) to <a href="http://10.237.192.68:5060" target="_blank">10.237.192.68:5060</a> ---></font></div><div><font color="#000000">SIP/2.0 401 Unauthorized</font></div><div><font color="#000000">Via: SIP/2.0/UDP 10.237.192.68;branch=z9hG4bK87tBt612BpgNp;received=10.237.192.68;rport=5060</font></div><div><font color="#000000">From: <<a href="mailto:sip%3Agsvoice01@10.237.192.68" target="_blank">sip:gsvoice01@10.237.192.68</a>>;tag=5jt9mZ5cD93pr</font></div><div><font color="#000000">To: <<a href="mailto:sip%3Agsvoice01@10.237.192.53" target="_blank">sip:gsvoice01@10.237.192.53</a>>;tag=as0b2496ec</font></div><div><font color="#000000">Call-ID: 747dfaba-54c8-11e4-bc60-81d0d9943fdf</font></div><div><font color="#000000">CSeq: 66373227 REGISTER</font></div><div><font color="#000000">Server: Asterisk PBX 11.12.0</font></div><div><font color="#000000">Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE</font></div><div><font color="#000000">Supported: replaces, timer</font></div><div><font color="#000000">WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="56dafaed"</font></div><div><font color="#000000">Content-Length: 0</font></div><div><font color="#000000"><br></font></div><div><font color="#000000"><br></font></div><div><font color="#000000"><------------></font></div><div><font color="#000000">Scheduling destruction of SIP dialog '747dfaba-54c8-11e4-bc60-81d0d9943fdf' in 32000 ms (Method: REGISTER)</font></div><div><font color="#000000"><br></font></div><div><font color="#000000"><--- SIP read from UDP:<a href="http://10.237.192.68:5060" target="_blank">10.237.192.68:5060</a> ---></font></div><div><font color="#000000">REGISTER sip:10.237.192.53;transport=udp SIP/2.0</font></div><div><font color="#000000">Via: SIP/2.0/UDP 10.237.192.68;rport;branch=z9hG4bK9gm4U1j68y67H</font></div><div><font color="#000000">Max-Forwards: 70</font></div><div><font color="#000000">From: <<a href="mailto:sip%3Agsvoice01@10.237.192.68" target="_blank">sip:gsvoice01@10.237.192.68</a>>;tag=6UK2ptpgajt9K</font></div><div><font color="#000000">To: <<a href="mailto:sip%3Agsvoice01@10.237.192.68" target="_blank">sip:gsvoice01@10.237.192.68</a>></font></div><div><font color="#000000">Call-ID: aac7e260-54c9-11e4-bc61-81d0d9943fdf</font></div><div><font color="#000000">CSeq: 66373229 REGISTER</font></div><div><font color="#000000">Contact: <sip:gw+<a href="mailto:ips_voice@10.237.192.68" target="_blank">ips_voice@10.237.192.68</a>:5060;transport=udp;gw=ips_voice></font></div><div><font color="#000000">Expires: 60</font></div><div><font color="#000000">User-Agent: FreeSWITCH-mod_sofia/1.5.15b+git~20141008T204520Z~63734bcde0~64bit</font></div><div><font color="#000000">Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE</font></div><div><font color="#000000">Supported: timer, path, replaces</font></div><div><font color="#000000">Content-Length: 0</font></div><div><font color="#000000"><br></font></div><div><font color="#000000"><-------------></font></div><div><font color="#000000">--- (13 headers 0 lines) ---</font></div><div><font color="#000000">Sending to <a href="http://10.237.192.68:5060" target="_blank">10.237.192.68:5060</a> (no NAT)</font></div><div><font color="#000000">Sending to <a href="http://10.237.192.68:5060" target="_blank">10.237.192.68:5060</a> (no NAT)</font></div><div><font color="#000000"><br></font></div><div><font color="#000000"><--- Transmitting (no NAT) to <a href="http://10.237.192.68:5060" target="_blank">10.237.192.68:5060</a> ---></font></div><div><font color="#000000">SIP/2.0 401 Unauthorized</font></div><div><font color="#000000">Via: SIP/2.0/UDP 10.237.192.68;branch=z9hG4bK9gm4U1j68y67H;received=10.237.192.68;rport=5060</font></div><div><font color="#000000">From: <<a href="mailto:sip%3Agsvoice01@10.237.192.68" target="_blank">sip:gsvoice01@10.237.192.68</a>>;tag=6UK2ptpgajt9K</font></div><div><font color="#000000">To: <<a href="mailto:sip%3Agsvoice01@10.237.192.68" target="_blank">sip:gsvoice01@10.237.192.68</a>>;tag=as5eb1b731</font></div><div><font color="#000000">Call-ID: aac7e260-54c9-11e4-bc61-81d0d9943fdf</font></div><div><font color="#000000">CSeq: 66373229 REGISTER</font></div><div><font color="#000000">Server: Asterisk PBX 11.12.0</font></div><div><font color="#000000">Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE</font></div><div><font color="#000000">Supported: replaces, timer</font></div><div><font color="#000000">WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="53a1bd9f"</font></div><div><font color="#000000">Content-Length: 0</font></div><div><font color="#000000"><br></font></div><div><font color="#000000"><br></font></div><div><font color="#000000"><------------></font></div><div><font color="#000000">Scheduling destruction of SIP dialog 'aac7e260-54c9-11e4-bc61-81d0d9943fdf' in 32000 ms (Method: REGISTER)</font></div><div><font color="#000000"><br></font></div><div><font color="#000000"><--- SIP read from UDP:<a href="http://10.237.192.68:5060" target="_blank">10.237.192.68:5060</a> ---></font></div><div><font color="#000000">REGISTER sip:10.237.192.53;transport=udp SIP/2.0</font></div><div><font color="#000000">Via: SIP/2.0/UDP 10.237.192.68;rport;branch=z9hG4bKatDXXv3957vtD</font></div><div><font color="#000000">Max-Forwards: 70</font></div><div><font color="#000000">From: <<a href="mailto:sip%3Agsvoice01@10.237.192.68" target="_blank">sip:gsvoice01@10.237.192.68</a>>;tag=6UK2ptpgajt9K</font></div><div><font color="#000000">To: <<a href="mailto:sip%3Agsvoice01@10.237.192.68" target="_blank">sip:gsvoice01@10.237.192.68</a>></font></div><div><font color="#000000">Call-ID: aac7e260-54c9-11e4-bc61-81d0d9943fdf</font></div><div><font color="#000000">CSeq: 66373230 REGISTER</font></div><div><font color="#000000">Contact: <sip:gw+<a href="mailto:ips_voice@10.237.192.68" target="_blank">ips_voice@10.237.192.68</a>:5060;transport=udp;gw=ips_voice></font></div><div><font color="#000000">Expires: 60</font></div><div><font color="#000000">User-Agent: FreeSWITCH-mod_sofia/1.5.15b+git~20141008T204520Z~63734bcde0~64bit</font></div><div><font color="#000000">Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE</font></div><div><font color="#000000">Supported: timer, path, replaces</font></div><div><font color="#000000">Authorization: Digest username="gsvoice01", realm="asterisk", nonce="53a1bd9f", algorithm=MD5, uri="sip:10.237.192.53;transport=udp", response="4057b65188f937c3a8cdbef65e3d8416"</font></div><div><font color="#000000">Content-Length: 0</font></div><div><font color="#000000"><br></font></div><div><font color="#000000"><-------------></font></div><div><font color="#000000">--- (14 headers 0 lines) ---</font></div><div><font color="#000000">Sending to <a href="http://10.237.192.68:5060" target="_blank">10.237.192.68:5060</a> (no NAT)</font></div><div><font color="#000000"><br></font></div><div><font color="#000000"><--- Transmitting (no NAT) to <a href="http://10.237.192.68:5060" target="_blank">10.237.192.68:5060</a> ---></font></div><div><font color="#000000">SIP/2.0 403 Forbidden</font></div><div><font color="#000000">Via: SIP/2.0/UDP 10.237.192.68;branch=z9hG4bKatDXXv3957vtD;received=10.237.192.68;rport=5060</font></div><div><font color="#000000">From: <<a href="mailto:sip%3Agsvoice01@10.237.192.68" target="_blank">sip:gsvoice01@10.237.192.68</a>>;tag=6UK2ptpgajt9K</font></div><div><font color="#000000">To: <<a href="mailto:sip%3Agsvoice01@10.237.192.68" target="_blank">sip:gsvoice01@10.237.192.68</a>>;tag=as5eb1b731</font></div><div><font color="#000000">Call-ID: aac7e260-54c9-11e4-bc61-81d0d9943fdf</font></div><div><font color="#000000">CSeq: 66373230 REGISTER</font></div><div><font color="#000000">Server: Asterisk PBX 11.12.0</font></div><div><font color="#000000">Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE</font></div><div><font color="#000000">Supported: replaces, timer</font></div><div><font color="#000000">Content-Length: 0</font></div><div><font color="#000000"><br></font></div><div><font color="#000000"><br></font></div><div><font color="#000000"><------------></font></div><div><font color="#000000">[Oct 16 00:16:26] NOTICE[25991]: chan_sip.c:28059 handle_request_register: Registration from '<<a href="mailto:sip%3Agsvoice01@10.237.192.68" target="_blank">sip:gsvoice01@10.237.192.68</a>>' failed for '<a href="http://10.237.192.68:5060" target="_blank">10.237.192.68:5060</a>' - Wrong password</font></div><div><font color="#000000">Scheduling destruction of SIP dialog 'aac7e260-54c9-11e4-bc61-81d0d9943fdf' in 32000 ms (Method: REGISTER)</font></div><div><font color="#000000">ip-10-237-192-53*CLI></font></div></div><div><br></div></div>
</div></blockquote></div></div><blockquote type="cite"><div><span>_________________________________________________________________________</span><br><span>Professional FreeSWITCH Consulting Services: </span><br><span><a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a></span><br><span><a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a></span><br><span></span><br><span>Official FreeSWITCH Sites</span><br><span><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></span><br><span><a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a></span><br><span><a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a></span><br><span></span><br><span>FreeSWITCH-powered IP PBX: The CudaTel Communication Server</span><br><span><a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a></span><br><span></span><br><span>FreeSWITCH-users mailing list</span><br><span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a></span><br><span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br><span>UNSUBSCRIBE:http://<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">lists.freeswitch.org/mailman/options/freeswitch-users</a></span><br><span><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></span></div></blockquote></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><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></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Carlos<div><a href="http://caruizdiaz.com" target="_blank">http://caruizdiaz.com</a></div></div>
</div></div>