cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

Who Me Too'd this topic

Multiple SIP registrar on CUBE

Difan Zhao
Level 5
Level 5

Hi guys,

My company had contractor setup all the SIP trunks. Now I took it over but I am with limited knowledge on voip in general. We have four registrars and I see right now I am authenticating with each one with all of the credentials configured... Here is my sip-ua config

sip-ua
credentials username 5873496659 password 7 xxx realm Realm
credentials username 119775_cube password 7 xxx realm seattle2.voip.ms
credentials username 119775_cubeyvr password 7 xxx realm vancouver.voip.ms
credentials username 4033013400 password 7 xxx realm voip.pasonvoip.infosat.com
authentication username 119775_cube password 7 xxx realm seattle2.voip.ms
authentication username 119775_cubeyvr password 7 xxx realm vancouver.voip.ms
authentication username 5873496659 password 7 xxx realm Realm
authentication username 4033013400 password 7 xxx realm voip.pasonvoip.infosat.com
no remote-party-id
retry invite 2
retry register 10
timers connect 100
registrar 1 ipv4:10.185.36.107:5060 expires 3600
registrar 2 ipv4:50.23.160.51:5060 expires 200 auth-realm seattle2.voip.ms
registrar 3 ipv4:162.213.157.82:5060 expires 200 auth-realm vancouver.voip.ms
registrar 4 dns:voip.pasonvoip.infosat.com expires 60
sip-server ipv4:10.185.36.107:5060

So for the registrar #1, I am authenticating with all four usernames configured. Is there a reason why and is there a way to stop that sort of behavior?

Also what is the difference between "credentials" and "authentication" in the config? What is the "sip-server" config for in the last line? Apparently it is only for one of the registrars, not any others... Do I need this line?

Thank you and have a great weekend

Difan

Who Me Too'd this topic