Hello everybody!
I haven’t found useful info on the web about allowing incoming calls from my sip provider while blocking guests.
Scenario: PSTN -> SIP PROVIDER -> [sip] -> MY ASTERISK BOX
While placing a call from PSTN to my provider I got 401 'ed:
Using INVITE request as basis request - 426bf5c377b06329799d135f53025b35 @ sip.messagenet.it
No matching peer for ‘+3933xxxxxxxxxx’ from '212.97.59.76:5061’
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 212.97.59.76:5061;branch=z9hG4bK7c8b.3461fe13.0;received=212.97.59.76
Via: SIP/2.0/UDP 212.97.59.85:5060;branch=z9hG4bK083593e4
From: “+3933xxxxxxxxxx” sip:+3933xxxxxxxxxx@sip.messagenet.it;tag=as27658ac4
+3933xxxxxxxx is my cell phone trying to call the pstn number I’m being provided.
With allowguest=yes the call is connected OK.
Any help will be highly appreciated.