06-03-2013 09:34 AM - last edited on 03-25-2019 08:23 PM by ciscomoderator
Dear Experts,
I am trying to configure SIP trunk with authentication. unfortunately it shows me the following message
Jun 3 16:25:46.988: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
SIP/2.0 403 Forbidden (No valid Username)
Via: SIP/2.0/UDP 192.168.32.250:5060;branch=z9hG4bK3B24319
From: ".*" <sip:.*@sipXXXX.net>;tag=120514D4-2360
To: ".*" <sip:.*@sipXXXX.net>;tag=64c295986a77a1f756ad49f3e6513d0d.d79f
Call-ID: 3BECCEB1-CB4211E2-A955DB73-29359D03
CSeq: 340 REGISTER
Content-Length: 0
I test the username and password on xlite softphone and it authenticate properly.
sip-ua
authentication username XXXXXXXXX password 05592B2B131F6D realm sipXXXX.net
disable-early-media 180
registrar dns:sipXXXX.net expires 3600
voice service voip
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
h323
sip
I have call manager version 7 and CUBE on router 2811 IOS C2800NM-IPVOICEK9-M), Version 12.4(23)
thanks in advance
Anas
06-03-2013 11:13 AM
Anas,
What does the actual Register message look like?
Thanks,
Brian
06-03-2013 12:17 PM
Hi Brian,
kindly find the below register message
Sent:
REGISTER sip:sipXXXX.net:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.32.250:5060;branch=z9hG4bK3B7B19E5
From: ".*" <.>*@sipXXXX.net>;tag=129F1710-26C1
To: ".*" <.>*@sipXXX.net>
Date: Mon, 03 Jun 2013 19:14:00 GMT
Call-ID: 3BECCEB1-CB4211E2-A955DB73-29359D03
User-Agent: Cisco-SIPGateway/IOS-12.x
Max-Forwards: 70
Timestamp: 1370286840
CSeq: 424 REGISTER
Contact: <.>
Expires: 3600
Content-Length: 0
Jun 3 19:14:00.146: //-1/xxxxxxxxxxxx/SIP/Info/HandleUdpSocketReads: Msg enqueued for SPI with IP addr: 217.10.79.9:5060
Jun 3 19:14:00.146: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
It seems it send the wrong the user-id, not the one configured under the sip-ua
Regards
Anas
06-03-2013 12:49 PM
06-03-2013 10:27 PM
Dear All,
Any Idea guys
Thanks in advance
Anas
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide