Hi all folks.
When I make a “sip show peers” on the CLI I get for all my SIP trunks and loca SIP phones a “N” under NAT.
I configured the lines with nat=yes and the nat at the sip.conf.
Thanks a lot.
Hi all folks.
When I make a “sip show peers” on the CLI I get for all my SIP trunks and loca SIP phones a “N” under NAT.
I configured the lines with nat=yes and the nat at the sip.conf.
Thanks a lot.
I found the problem but I don’t know why does it occurs.
When make an outbound call, I get this with the “sip set debug peer” from the “bad” trunk:
From: “Unknown” sip:Unknown@XXX.XXX.XXX.XXX
instead of:
From: “12345678” sip:User1@XXX.XXX.XXX.XXX
This only occurs if I use the trunk after the other one. This is independent of the order or trunks I use (if I use first trun1, doesn’t work 2, if I use trunk2 first is not possible to call with 1).
Hi,
I can confirm both posts:
Asterisk 1.6.2.7-1ubuntu1.1 built by buildd @ allspice on a x86_64 running Linux on 2011-01-21 14:59:57 UTC
234567/234567 x.x.x.x D N A 62478 UNREACHABLE
[234567]
deny=0.0.0.0/0.0.0.0
secret=secret
dtmfmode=rfc2833
canreinvite=no
context=from-internal
host=dynamic
type=friend
nat=yes
port=5060
qualify=yes
callgroup=
pickupgroup=
dial=SIP/234567
mailbox=234567@device
permit=0.0.0.0/0.0.0.0
callerid=device <234567>
callcounter=yes
faxdetect=no