On Mon, Aug 9, 2021 at 7:57 AM Jerry Geis <jerry.geis at gmail.com> wrote:> > > On Sun, Aug 8, 2021 at 3:18 PM Jerry Geis <jerry.geis at gmail.com> wrote: > >> I am not using a SIP trunk as I normally do. >> >> I have an extensions 3382 setup that my server registers to the other SIP >> system. >> When the other system calls 3381 on my system I am getting this error: >> >> [Jul 27 10:08:50] WARNING[89791][C-00000068] chan_sip.c: username >> mismatch, have <3381>, digest has <8124> >> [Jul 27 10:08:50] NOTICE[89791][C-00000068] chan_sip.c: Failed to >> authenticate device "USCOL TEST" <sip:XXXX at IP>;tag=1c1947164290 for >> INVITE, code = -2 >> >> How I allow this ? I want to allow any SIP call to 3381. >> Using Astering 18.4.0 >> >> Thanks, >> >> Jerry >> > > Sure here it is: > [general](+) > register => 3382:XX at IP/3382 > > ; Description: Connection to PBX > [3382] > type=friend > defaultname=3382 > defaultuser=3382 > secret=XX > dtmfmode=RFC2833 > host=IP > description=Connection to PBX > context=incoming > rtptimeout=60 > rtpholdtimeout=60 > rtpkeepalive=60 > callerid=3382 > qualify=no > canreinvite=no > nat=never > disallow=all > allow=ulaw > allow=alaw > allow=gsm > > Thanks > Jerry > > > What's the association between 3381 and 3382?3381 is the number they want to dial into my asterisk. 3382 is the registered extension to their system. Jerry> >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20210809/1c3c5754/attachment.html>
On Monday 09 August 2021 at 14:11:18, Jerry Geis wrote:> > What's the association between 3381 and 3382? > > 3381 is the number they want to dial into my asterisk. 3382 is the > registered extension to their system.Sorry - I'm confused by that. You register as 3382. That means that if someone on their system dials 3382, your Asterisk server gets the call. I assume extension 8124 was placing the call in the example you gave:>> [Jul 27 10:08:50] WARNING[89791][C-00000068] chan_sip.c: username >> mismatch, have <3381>, digest has <8124>so I still don't understand where 3381 comes in. Antony. -- I wasn't sure about having a beard at first, but then it grew on me. Please reply to the list; please *don't* CC me.
On Mon, Aug 9, 2021 at 8:11 AM Jerry Geis <jerry.geis at gmail.com> wrote:> > > On Mon, Aug 9, 2021 at 7:57 AM Jerry Geis <jerry.geis at gmail.com> wrote: > >> >> >> On Sun, Aug 8, 2021 at 3:18 PM Jerry Geis <jerry.geis at gmail.com> wrote: >> >>> I am not using a SIP trunk as I normally do. >>> >>> I have an extensions 3382 setup that my server registers to the other >>> SIP system. >>> When the other system calls 3381 on my system I am getting this error: >>> >>> [Jul 27 10:08:50] WARNING[89791][C-00000068] chan_sip.c: username >>> mismatch, have <3381>, digest has <8124> >>> [Jul 27 10:08:50] NOTICE[89791][C-00000068] chan_sip.c: Failed to >>> authenticate device "USCOL TEST" <sip:XXXX at IP>;tag=1c1947164290 for >>> INVITE, code = -2 >>> >>> How I allow this ? I want to allow any SIP call to 3381. >>> Using Astering 18.4.0 >>> >>> Thanks, >>> >>> Jerry >>> >> >> Sure here it is: >> [general](+) >> register => 3382:XX at IP/3382 >> >> ; Description: Connection to PBX >> [3382] >> type=friend >> defaultname=3382 >> defaultuser=3382 >> secret=XX >> dtmfmode=RFC2833 >> host=IP >> description=Connection to PBX >> context=incoming >> rtptimeout=60 >> rtpholdtimeout=60 >> rtpkeepalive=60 >> callerid=3382 >> qualify=no >> canreinvite=no >> nat=never >> disallow=all >> allow=ulaw >> allow=alaw >> allow=gsm >> >> Thanks >> Jerry >> >> > > What's the association between 3381 and 3382? > > 3381 is the number they want to dial into my asterisk. 3382 is the > registered extension to their system. > > Jerry > > > >> >> > >You register as 3382. That means that if someone on their system dials3382,>your Asterisk server gets the call.I think at first I was only using 3381. That was the extension I registered. There was no 3382. Something was going wrong there also. (Might have been a similar error), and I could not get that to work either. Jerry -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20210809/c31ea2fe/attachment.html>