[Freeswitch-users] Registering a Gateway
王聡
cong.wang.itsherpa at gmail.com
Fri May 24 07:25:47 UTC 2019
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20190524/617ce422/attachment.html>
More information about the FreeSWITCH-users
mailing list