Inbound DID's from itsp via sbc unauthorized 401

Hi,

Please configure the following inbound routes in your pbx:

  1. Description: Any (pattern: 2 empty fields in the inbound rule - DID Number and CallerID Number)
    That stands for the s extension.

  2. Description: Any (pattern: _X. in the DID Number, an empty value in the CallerID Number).
    That stands for any number which starts with a digit between 0-9.

  3. Set Destination: an IVR or whatever (I usually choose terminate call with put on music-on-hold forever).

I would change the trunk settings of the SBC to only one (without the user part) like that:

type=friend
insecure=port,invite
host=10.100.1.11
dtmfmode=rfc2833
;It is better not to configure the context as the default context is from-sip-external 
;that checks if the ip of the incoming invite is allowed and other security checks
;unless, you know what you are doing.
;context=from-pstn
canreinvite=no
nat=no

Thank you,

Daniel Friedman
Trixton LTD.

1 Like

Hi Daniel, I did what you said as well as deleting the existing inbound routes. Calls routed through okay. I then removed the inbound routes and added back in the ones for the extensions. What do you know, it just started working!!! thanks for you help :slight_smile: Really appreciate it!!

Thanks everyone for your support and advice.