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

Alex Vishnev alex9134 at gmail.com
Tue Nov 22 09:37:10 CST 2011


do you see the register messages? if your device is not registered, INVITE would be challenged. You should check to see if register messages are being properly acknowledge with 200OK. 
On Nov 22, 2011, at 10:29 AM, Jonas Kellens wrote:

> 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.
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>               http://www.asterisk.org/hello
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users

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


More information about the asterisk-users mailing list