Authentication error with chan_sip

Hi
I have an Asterisk server (chan_sip) with a proxy server (Kamailio).
when I make a call, I have an authentication error from asterisk, I can’t get why.

First, proxy send sdp invite and receives 401

then proxy sends another invite but anthentication fails

could someone help to find th reason of the authentication failure please ?

You haven’t provided configuration, or explained how you expect it to work.

hi. UAs register on proxy and proxy relays to the asterisk.

here is my sip.conf:

[general]
language=fr
context=public
rtcachefriends=yes
allowguest=no
qualify=yes
disallow=all
allow=alaw|ulaw
;deny=0.0.0.0/0.0.0.0
callcounter=yes
directmedia=no

videosupport=yes
allow=h264
allow=VP8

prematuremedia=yes

[00030020]
defaultuser=00030020
secret=xxxxxxxxxxxx
type=friend
mailbox=20@interne_3
canreinvite=no
host=dynamic
calllimit=6
nat=force_rport,comedia
callerid=USER 20<20>
context=interne_3
permit=0.0.0.0/0.0.0.0

do you need more informations ?

I don’t have anything to add, nothing sticks out and I don’t personally spend much time on helping people with chan_sip anymore. By providing the additional information someone else may have input themselves.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.