cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
789
Views
0
Helpful
2
Replies

SIP Authentication

CoDeC
Level 1
Level 1

Hi,

We have a 3945 with Version 15.5(3)M5 with CUCM 10.5

 

We have a new ITSP provider that require authentication.

 

We have configured the authetication in dial-peer level:

dial-peer voice 20 voip
 description ** Outbound SIP-ISP **
....
 authentication username <username> password 0 <pass> realm <domain>

we have seen that after we send the INVITE, the ITSP answer us with "SIP/2.0 407 Proxy Authentication Required". Unitil here the flow seem ok. The next, the voice-gateway would have send a INVITE with the authentication hearder but instead of the voice-gateway send inmediatly to CUCM "SIP/2.0 503 Service Unavailable" and never send the INVITE to ITSP with the authetication header.

apprecite help.

 

regards

2 Replies 2

TONY SMITH
Spotlight
Spotlight

Most provider that I have dealt, who use authenticated trunks, need the trunk itself to register before any call attempts can be made.  Something like the following ...

sip-ua
 credentials username <username> password 0 <pass> realm <domain>
 authentication username <username> password 0 <pass> realm <domain>
 registrar <IP Address of ITSP> expires 3600

Hi,

thanks for your answer.

I finalled I created a tenant and I applied to dial-peer:

voice class tenant 1
  registrar 1 ipv4:x.x.x.x:5060 expires 60
  credentials username xxxxxx password 0 yyyyyyyy realm <domain>
  authentication username xxxxxx password 0 yyyyyyyy
  connection-reuse
  bind control source-interface GigabitEthernet0/2
  bind media source-interface GigabitEthernet0/2
  no pass-thru content custom-sdp
  outbound-proxy ipv4:x.x.x.x:5060 

regards