<div><div dir="auto">You must set something even if it is not used</div></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 24 May 2019 at 09:51, 王聡 <<a href="mailto:cong.wang.itsherpa@gmail.com">cong.wang.itsherpa@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space">Hey all,<div><br></div><div>I’m trying to regist my freeswitch server to a sip provider to receive calls from my cellphone. In previous situation I connected the sip provider to asterisk, receive sip phone and transport to freeswitch.</div><div><br></div><div>My sip provider is NTT Hikari from Japan, and I need to connect my server to NTT router directly (a separated net).</div><div><br></div><div>In Asterisk, it could be registed simply by using only username, but freeswitch need a username and a password for regist, so I got a 403 Forbidden from NTT.</div><div><br></div><div>Regist setting for Asterisk:</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>register => 0901234567@ntt/0901234567</div><div><br></div><div><div>[ntt]</div><div>type=peer</div><div>context=fromntt</div><div>host=124.245.0.1</div><div>nat=never</div><div>fromdomain=<a href="http://ntt-west.ne.jp" target="_blank">ntt-west.ne.jp</a></div><div>canreinvite=no</div><div>dtmfmode=inband</div><div>session-timers=originate</div><div>session-expires=3600</div><div>session-minse=300</div><div>session-refresher=uac</div></div><div><br></div></blockquote>Gateway setting for FreeSWITCH:<div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><include></div><div>  <gateway name="<a href="http://ntt-west.ne.jp" target="_blank">ntt-west.ne.jp</a>"></div><div>    <param name="realm" value="<a href="http://ntt-west.ne.jp" target="_blank">ntt-west.ne.jp</a>"/></div><div>    <param name="proxy" value="<a href="http://124.245.0.1:5060" target="_blank">124.245.0.1:5060</a>"/></div><div>    <param name="username" value="0901234567"/></div><div>    <param name="password" value="not-used"/></div><div>    <param name="register" value="true"/></div><div>    <param name="caller-id-in-from" value="true"/></div><div>    <param name="extension-in-contact" value="true"/></div><div>    <param name="extension" value="0901234567"/></div><div>    <param name="from-domain" value="<a href="http://ntt-west.ne.jp" target="_blank">ntt-west.ne.jp</a>"/></div><div>  </gateway></div><div></include></div></div></blockquote><br><div>And I got this error when I left password blanked:</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>[ERR] sofia.c:3952 ERROR: password param is REQUIRED!</div><div><br></div></blockquote>Any suggestions for this situation?<div><br></div><div>Regards.</div></div>_________________________________________________________________________<br>
<br>
The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com" rel="noreferrer" target="_blank">https://signalwire.com</a><br>
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br>
Build your next product on our scalable cloud platform.<br>
<br>
Join our online community to chat in real time <a href="https://signalwire.community" rel="noreferrer" target="_blank">https://signalwire.community</a><br>
<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer" target="_blank">https://cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Regards,</div><div><br></div>David Villasmil<div>email: <a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a></div><div>phone: +34669448337</div></div></div>