[Freeswitch-users] Registering a Gateway
David Villasmil
david.villasmil.work at gmail.com
Fri May 24 08:15:26 UTC 2019
You must set something even if it is not used
On Fri, 24 May 2019 at 09:51, 王聡 <cong.wang.itsherpa at gmail.com> wrote:
> Hey all,
>
> 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.
>
> My sip provider is NTT Hikari from Japan, and I need to connect my server
> to NTT router directly (a separated net).
>
> 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.
>
> Regist setting for Asterisk:
>
> register => 0901234567 at ntt/0901234567
>
> [ntt]
> type=peer
> context=fromntt
> host=124.245.0.1
> nat=never
> fromdomain=ntt-west.ne.jp
> canreinvite=no
> dtmfmode=inband
> session-timers=originate
> session-expires=3600
> session-minse=300
> session-refresher=uac
>
> Gateway setting for FreeSWITCH:
>
> <include>
> <gateway name="ntt-west.ne.jp">
> <param name="realm" value="ntt-west.ne.jp"/>
> <param name="proxy" value="124.245.0.1:5060"/>
> <param name="username" value="0901234567"/>
> <param name="password" value="not-used"/>
> <param name="register" value="true"/>
> <param name="caller-id-in-from" value="true"/>
> <param name="extension-in-contact" value="true"/>
> <param name="extension" value="0901234567"/>
> <param name="from-domain" value="ntt-west.ne.jp"/>
> </gateway>
> </include>
>
>
> And I got this error when I left password blanked:
>
> [ERR] sofia.c:3952 ERROR: password param is REQUIRED!
>
> Any suggestions for this situation?
>
> Regards.
> _________________________________________________________________________
>
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
> services.
> Build your next product on our scalable cloud platform.
>
> Join our online community to chat in real time
> https://signalwire.community
>
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> https://freeswitch.com
--
Regards,
David Villasmil
email: david.villasmil.work at gmail.com
phone: +34669448337
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20190524/971515cd/attachment.html>
More information about the FreeSWITCH-users
mailing list