[Freeswitch-users] Freeswitch registration error with GSM gateway
Bipin Patel
bipin at xbipin.com
Wed Jul 5 06:24:36 UTC 2017
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 at 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 at iiitd.ac.in>
To: FreeSWITCH Users Help <freeswitch-users at 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 at xbipin.com
> <mailto:bipin at 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 at iiitd.ac.in
> <mailto:deepikay at 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 :
>>
>> https://wiki.freeswitch.org/wiki/Dinstar_GSM_gateway_FreeSwitch_HowTo
>> <https://wiki.freeswitch.org/wiki/Dinstar_GSM_gateway_FreeSwitch_HowTo>
>>
>> <https://wiki.freeswitch.org/wiki/Dinstar_GSM_gateway_FreeSwitch_HowTo>
>> http://www.voipon.co.uk/documents/DWG_with_FreeSwitch.pdf
>> <https://wiki.freeswitch.org/wiki/Dinstar_GSM_gateway_FreeSwitch_HowTo>
>>
>> <https://wiki.freeswitch.org/wiki/Dinstar_GSM_gateway_FreeSwitch_HowTo>
>> 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 at 192.168.2.71
>> <mailto:sip%3Adwg2008 at 192.168.2.71> SIP/2.0
>> Via: SIP/2.0/UDP
>> 192.168.2.69;branch=z9hG4bKf22aec329cf8392a03d1fb7ac5907373;rport
>> From: <sip:dwg2008 at 192.168.2.71
>> <mailto:sip%3Adwg2008 at 192.168.2.71>>;tag=d2e191310d53ca480a99c32d072b6907
>> To: <sip:dwg2008 at 192.168.2.71 <mailto:sip%3Adwg2008 at 192.168.2.71>>
>> Call-ID: 7901887bd57699805a51f44e8e162cd5 at 192.168.2.69
>> <mailto:7901887bd57699805a51f44e8e162cd5 at 192.168.2.69>
>> CSeq: 479122789 SUBSCRIBE
>> Contact: <sip:dwg2008 at 192.168.2.69
>> <mailto:sip%3Adwg2008 at 192.168.2.69>>
>> 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 at 192.168.2.71
>> <mailto:sip%3Adwg2008 at 192.168.2.71>>;tag=5umvaME1a8N6
>> To: <sip:dwg2008 at 192.168.2.71
>> <mailto:sip%3Adwg2008 at 192.168.2.71>>;tag=8b79a39dab9333d980ae172b0ddf0b10
>> Call-ID: c2ceb8fb9e2c2c1bfdba005ce2f3d223 at 192.168.2.69
>> <mailto:c2ceb8fb9e2c2c1bfdba005ce2f3d223 at 192.168.2.69>
>> 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 at 192.168.2.71
>> <mailto:sip%3Adwg2008 at 192.168.2.71>>;tag=DaCYUMXLeOft
>> To: <sip:dwg2008 at 192.168.2.71
>> <mailto:sip%3Adwg2008 at 192.168.2.71>>;tag=d2e191310d53ca480a99c32d072b6907
>> Call-ID: 7901887bd57699805a51f44e8e162cd5 at 192.168.2.69
>> <mailto:7901887bd57699805a51f44e8e162cd5 at 192.168.2.69>
>> 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 at 192.168.2.71
>> <mailto:sip%3Adwg2008 at 192.168.2.71>>;tag=8c1a438aeba7d28784d1958a90940ec1
>> To: <sip:dwg2008 at 192.168.2.71 <mailto:sip%3Adwg2008 at 192.168.2.71>>
>> Call-ID: f58080d7fd4106bc3673e1295108eb09 at 192.168.2.69
>> <mailto:f58080d7fd4106bc3673e1295108eb09 at 192.168.2.69>
>> CSeq: 479121941 REGISTER
>> Contact: <sip:dwg2008 at 192.168.2.69:5060
>> <http://sip:dwg2008@192.168.2.69:5060>>
>> 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 at 192.168.2.71
>> <mailto:sip%3Adwg2008 at 192.168.2.71>>;tag=8c1a438aeba7d28784d1958a90940ec1
>> To: <sip:dwg2008 at 192.168.2.71 <mailto:sip%3Adwg2008 at 192.168.2.71>>
>> Call-ID: f58080d7fd4106bc3673e1295108eb09 at 192.168.2.69
>> <mailto:f58080d7fd4106bc3673e1295108eb09 at 192.168.2.69>
>> CSeq: 479121942 REGISTER
>> Contact: <sip:dwg2008 at 192.168.2.69:5060
>> <http://sip:dwg2008@192.168.2.69:5060>>
>> 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
>>
>>
>>
>> --
>> Regards
>> Deepika
>> https://www.iiitd.edu.in/~deepikay/
>> <https://www.iiitd.edu.in/%7Edeepikay/>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org <mailto:consulting%40freeswitch.org>
>> http://www.freeswitchsolutions.com
>> <http://www.freeswitchsolutions.com>
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org <http://confluence.freeswitch.org>
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> <mailto:FreeSWITCH-users%40lists.freeswitch.org>
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> <http://lists.freeswitch.org/mailman/options/freeswitch-users>
>> http://www.freeswitch.org
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
> http://www.freeswitchsolutions.com
> <http://www.freeswitchsolutions.com>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org <http://confluence.freeswitch.org>
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> <mailto:FreeSWITCH-users at lists.freeswitch.org>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> <http://lists.freeswitch.org/mailman/options/freeswitch-users>
> http://www.freeswitch.org
>
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170705/5d21a38f/attachment-0001.html>
More information about the FreeSWITCH-users
mailing list