[asterisk-users] Asterisk refuses INVITE (401) and I don't know why

Jonas Kellens jonas.kellens at telenet.be
Tue Nov 22 09:29:19 CST 2011


On 11/22/2011 04:25 PM, Bruce Ferrell wrote:
>
> Jonas,
>
> May I suggest that you present us your sip.conf entry for this peer, 
> properly redacted, of course.  That might help more.  What I do for 
> "gateways" at known addresses is to put an entry like this into the 
> sip.conf entry:
>
>
> [peer]
> type=peer
> defaultip=192.168.40.123
> insecure=invite,port
> context=some_context
>


This is the peer definition in sip.conf :

[SIPPEERusername]
type=friend
host=dynamic
defaultuser=SIPPEERusername
secret=guessthis
context=from-PEERTRUNK
nat=yes
dtmfmode=rfc2833
canreinvite=no
disallow=all
allow=alaw
allow=gsm


Hope you can help me out with this extra information.


Kind regards,

Jonas.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20111122/ba2e7921/attachment.htm>


More information about the asterisk-users mailing list