[Asterisk-Users] Problem with call originating from Cisco 7940
SIP phone to a SIP peer
Patrick
asterisk at puzzled.xs4all.nl
Tue Nov 9 18:01:04 MST 2004
On Tue, 2004-11-09 at 10:16 +0100, Mark Raming wrote:
> [general]
> context=external
> port=5060
> bindaddr=0.0.0.0
> srvlookup=no
> disallow=all
> allow=ulaw
> allow=alaw
> useragent=AddPac SIP Gateway
^^^^^^^^^^^^^^^^^
Is there a reason to change the useragent string? Maybe try commenting
it out.
> nat=no
> register => 31165123456:password at nelson.ritstele.com:5060/31165123456
> localnet=192.168.0.0/255.255.0.0
> localnet=10.0.0.0/255.0.0.0
> localnet=172.16.0.0/12
> localnet=169.254.0.0/255.255.0.0
>
> ; Incomming calls from Pilmo
> [212.26.192.155]
> type=user
> insecure=yes
> context=incomming
It is spelled "incoming". Typo?
> ; Outgoing calls to Pilmo
> [pilmo]
> type=peer
> insecure=yes
> fromdomain=nelson.ritstele.com
> host=nelson.ritstele.com
> fromuser=31165123456
> disallow=ulaw
> disallow=alaw
> allow=gsm
Remove the 2x disallow & 1x allow and try:
disallow=all
allow=gsm
> dtmfmode=rfc2833
>
> [2201]
> type=friend
> username=2201
> secret=1234abcd!
> host=dynamic
> nat=never
> mailbox=2201
> context=internal
> canreinvite=yes
^^^^^^^^
So you want the Asterisk server to be taken out of the loop right?
Regards,
Patrick
More information about the asterisk-users
mailing list