hi,

im not too good with originate commands but to send calls to a gateway IP without registering to it u can use the below

sofia/external/919716517818@192.168.2.69

and regarding adding id/pass for authentication u can add the below to the parameters

sip_auth_username=username,sip_auth_password=password


Regards,
Bipin



-------- Original Message --------
Subject: Re: [Freeswitch-users] Freeswitch registration error with GSM gateway
From: Deepika Yadav <deepikay@iiitd.ac.in>
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>
Date: 7/5/2017, 9:49:03 AM
Could please help me with the command:

currently I use the external SIP profile namely MySIP as follows:

originate sofia/gateway/MySIP/919716517818 &conference("xyz"+flags("unmute"))


How should modify it to direct it to the gateway'IP which is having SIP user ID and password?


On Jul 5, 2017 1:15 AM, "Bipin Patel" <bipin@xbipin.com> wrote:

Hi,

We use a matrix GSM gateway but there is no need for it to register to FS in any way as long as both are on same LAN. From FS we simply route the calls to matrix on it's IP for sim calls and any calls on the sim come to FS on internal profile, u could route it to external also, we have added the matrix IP in FS with IP authentication.

On July 4, 2017 8:35:22 PM Deepika Yadav <deepikay@iiitd.ac.in> wrote:

Hi,

I have a VOIP-GSM 16 port Dinstar gateway installed. It has its local IP, SIM inserted and receiving signals but somehow it is not getting registered with Freeswitch as external profile. 

I have tried all the things found at different sources such as :

but no luck :(

Error at console - Failed Registration with status Request Timeout [408]


SIP trace is as follows:

Freeswitch Server IP - 192.168.2.71
Gateway IP - 192.1.68.2.69


SUBSCRIBE sip:dwg2008@192.168.2.71 SIP/2.0
Via: SIP/2.0/UDP 192.168.2.69;branch=z9hG4bKf22aec329cf8392a03d1fb7ac5907373;rport
From: <sip:dwg2008@192.168.2.71>;tag=d2e191310d53ca480a99c32d072b6907
CSeq: 479122789 SUBSCRIBE
Event: message-summary
Supported: eventlist
Expires: 1
Allow: INVITE, ACK, CANCEL, BYE, OPTIONS, INFO, UPDATE, NOTIFY, REFER
Max-Forwards: 70
Accept: application/simple-message-summary
Content-Length: 0

SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.2.71;rport=5060;branch=z9hG4bKXcrNrjD10j6BN
From: <sip:dwg2008@192.168.2.71>;tag=5umvaME1a8N6
To: <sip:dwg2008@192.168.2.71>;tag=8b79a39dab9333d980ae172b0ddf0b10
CSeq: 797846101 NOTIFY
Content-Length: 0

SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.2.71;rport=5060;branch=z9hG4bKyNHetDy4XUvyg
From: <sip:dwg2008@192.168.2.71>;tag=DaCYUMXLeOft
To: <sip:dwg2008@192.168.2.71>;tag=d2e191310d53ca480a99c32d072b6907
CSeq: 797846103 NOTIFY
Content-Length: 0

REGISTER sip:192.168.2.71 SIP/2.0
Via: SIP/2.0/UDP 192.168.2.69:5060;branch=z9hG4bKac7ee3cb94dbc6021702a40d789e140c;rport
From: <sip:dwg2008@192.168.2.71>;tag=8c1a438aeba7d28784d1958a90940ec1
CSeq: 479121941 REGISTER
Expires: 1800
User-Agent: DWG2000F Business  20231220
Allow: INVITE, ACK, CANCEL, BYE, OPTIONS, INFO, UPDATE, NOTIFY, REFER
Max-Forwards: 70
Content-Length: 0

REGISTER sip:192.168.2.71 SIP/2.0
Via: SIP/2.0/UDP 192.168.2.69:5060;branch=z9hG4bKc2d768329e8115ca788edb78700b7db5;rport
From: <sip:dwg2008@192.168.2.71>;tag=8c1a438aeba7d28784d1958a90940ec1
CSeq: 479121942 REGISTER
Authorization: Digest username="dwg2008", realm="192.168.2.71", nonce="c4248cb2-60a7-11e7-b9ec-236b0b6c342f", uri="sip:192.168.2.71", response="c0b6a86fcb1553a891d79eaafc2951e5", algorithm=MD5, cnonce="6ea20a9604ad6faa602fa2e5802c9d72", qop=auth, nc=00000001
Expires: 1800
User-Agent: DWG2000F Business  20231220
Allow: INVITE, ACK, CANCEL, BYE, OPTIONS, INFO, UPDATE, NOTIFY, REFER
Max-Forwards: 70
Content-Length: 0

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org