[asterisk-users] Asterisk refuses INVITE (401) and I don't know why
Bruce Ferrell
bferrell at baywinds.org
Tue Nov 22 09:37:48 CST 2011
On 11/22/2011 07: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.
More information about the asterisk-users
mailing list