[asterisk-users] Incoming calls to a GSM gateway & "SIP/2.0 401 Unauthorized" response when dial 7777 to Asterisk

Luis Eduardo Cortes luedcortes at gmail.com
Tue Nov 11 22:45:37 CST 2014


Hello:

I'm newbie in asterisk, please help me.

My context is as follows:

192.168.4.2 --> Asterisk 11.13.1 complied from source

192.168.4.4 --> Yeastar NeoGate TG100 GSM gateway

When I call from a GSM cell phone, my TG100 GSM gateway answers and
dials extension 7777 (configured as a hotline on TG100) to asterisk
server, but asterisk server sends me "SIP/2.0 401 Unauthorized"
response, I think it's a matter of contexts but I don't find the
problem.

Attached are sip.conf, extensions.conf and debug from 192.168.4.4
(TG100 GSM gateway).

Thanks in advance.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: debug.log
Type: text/x-log
Size: 2479 bytes
Desc: not available
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20141112/7ab08248/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: extensions.conf
Type: application/octet-stream
Size: 1184 bytes
Desc: not available
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20141112/7ab08248/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sip.conf
Type: application/octet-stream
Size: 984 bytes
Desc: not available
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20141112/7ab08248/attachment-0001.obj>


More information about the asterisk-users mailing list