https://freeswitch.org/confluence/display/FREESWITCH/Dinstar+GSM+gateway+FreeSwitch+HowTo

try  peer to peer ;)

 

From: FreeSWITCH-users [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Deepika Yadav
Sent: Tuesday, June 27, 2017 7:06 PM
To: FreeSWITCH Users Help
Subject: [Freeswitch-users] VOIP-GSM Gateway configuration Error

 

Hi,

 

I have been trying for a while the configuration of a VOIP-GSM gateway that I have bought but the registration fails every time. 

 

Error at Freeswitch console

 

2017-06-27 16:27:10.191913 [WARNING] sofia_reg.c:2906 Can't find user [testadmin@192.168.2.71] from 192.168.2.69

You must define a domain called '192.168.2.71' in your directory and add a user with the id="testadmin" attribute

and you must configure your device to use the proper domain in it's authentication credentials.

2017-06-27 16:27:14.071916 [ERR] sofia_reg.c:2447 MySIP Failed Registration with status Request Timeout [408]. failure #1

2017-06-27 16:27:14.111913 [WARNING] sofia_reg.c:505 MySIP Failed Registration [408], setting retry to 30 seconds.

 

Here '192.168.2.71' is the local IP of the Freeswitch server and 192.168.2.69 that of the gateway attached to the LAN port of the Freeswitch server.

 

I have put SIP UserID in the gateway admin panel as "testadmin" alongwith its passoword.

 

my external SIP profile is as follows:

 

<include>

 

<gateway name="MySIP">

  

  <param name="username" value="testadmin"/>

  

  <param name="realm" value="192.168.2.69"/>

  

  <param name="from-user" value="testadmin"/>

 

  <param name="from-domain" value="192.168.2.69"/>

 

  <param name="password" value="****"/>

 

  <param name="extension" value="5888"/>

 

  <param name="proxy" value="192.168.2.69"/>

 

  <param name="expire-seconds" value="120"/>

 

  <param name="register" value="true"/>

 

  <param name="caller-id-in-from" value="true"/>

</gateway>

 

I have tried number of permutations and combinations but the gateway is not getting registered.

 

 

Regards
Deepika
https://www.iiitd.edu.in/~deepikay/