05-17-2010 11:09 AM - edited 03-21-2019 02:35 AM
Hello!
Skype made some changes to their platform a few weeks ago and we are not able to make outbound calls anymore.
Before the change we could make calls using the following FROM field in the sip header:
From: "Admin" <sip:9xxx00000xxx@81.xxx.xx.4> where 81.xxx.xx.4 is the WAN IP of our UC560
It worked perfectly for a few months until 5 May. Then is stopped. We contacted skype and they said that we should change the from field to:
From: "Admin" <sip:9xxx00000xxx@sip.skype.com>
how do I change sip header in UC500? Sounds like a trivial thing but can't seem to find a way
I would appreciate any useful advice. Skype says that they support cisco uc500 but their tech support was useless. They don't know themselves how to change it.
05-18-2010 09:38 AM
Do this:
voice service voip
sip
localhost dns:sip.skype.com
Let me know how it goes.
Marcos
05-18-2010 09:52 AM
thank you Marcos, but I'm afraid that change didn't make any difference
l
000402: May 18 16:45:47.777: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
INVITE sip:74957777707@sip.skype.com:5060 SIP/2.0
Via: SIP/2.0/UDP 79.xxx.xx.45:5060;branch=z9hG4bK7E1D7FD
From: "Inventica Technologies" <>>99051000001111@79.xxx.xx.45>;tag=1092E17C-1F72
To: <>>74957777707@sip.skype.com>
Date: Tue, 18 May 2010 16:45:47 GMT
Call-ID: A4EDED3F-61D311DF-678DD47C-12D44966@sip.skype.com
Supported: 100rel,timer,resource-priority,replaces,sdp-anat
Min-SE: 1800
Cisco-Guid: 2738975647-1641222623-2503529596-0315902310
User-Agent: Cisco-SIPGateway/IOS-12.x
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
CSeq: 101 INVITE
Max-Forwards: 70
Timestamp: 1274201147
Contact: <>>99051000001111@79.xxx.xx.45:5060>
Expires: 180
Allow-Events: telephone-event
Content-Type: application/sdp
Content-Disposition: session;handling=required
Content-Length: 286
05-18-2010 10:00 AM
Hmm, OK. Here something else you can try:
Most SP UNI mandate that the host portion in the below headers of SIP messages represent the domain name of the proxy for authentication purposes
This behavior can be achieved using the "host-registrar" CLI under sip-ua - the host portion will now reflect the domain name configured via the registrar-server command
sip-ua
host-registrar
registrar-server proxy.cisco.com
If no registrar server command is present, then the "localhost" CLI will apply
voice service voip
sip
localhost dns:proxy.cisco.com
05-18-2010 10:28 AM
I've just tried
sip-ua
host-registrar
registrar-server sip.skype.com
but it doesn't recognize registrar-server command
05-18-2010 10:30 AM
My apologies, the actual command is "registrar", do not use the dash.
Marcos
05-18-2010 10:41 AM
no, there is no such command
currently I have:
registrar 1 dns:sip.coms.com expires 300
registrar 2 dns:sip.skype.com expires 300
sip-server dns:sip.coms.com
host-registrar
!
05-18-2010 10:44 AM
The registrar commands you have are the ones that I am talking about. Do you still see the IP in the From header?
05-18-2010 10:48 AM
yes, the command was always there.
I still see myskypeuser@myipaddress in the from header
05-18-2010 11:05 AM
OK, try one more thing. Under the voip dial-peer (or peers) pointing to Skype, try this:
voice-class sip localhost dns:sip.skype.com
Marcos
05-19-2010 04:06 AM
Hi Marcos,
I'm afraid that didn't make any difference either
here is my dial peer
!
dial-peer voice 5023 voip
description Skype Out
translation-profile outgoing Skype-out2
destination-pattern 900...........
session protocol sipv2
session target dns:sip.skype.com
session transport udp
voice-class codec 1
voice-class sip localhost dns:sip.skype.com
dtmf-relay rtp-nte
ip qos dscp cs5 media
ip qos dscp cs4 signaling
no vad
!
and here is the debug extract
000419: May 19 10:59:27.679: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
SIP/2.0 403 Forbidden
From: "Inventica" <>>99011111111@7x.xxx.xxx.xx>;tag=147C218C-20E0
To: <>>74957777707@sip.skype.com>;tag=ca90d13f-13c4-4bf3c48f-673ace76-2035561b
Call-ID: 6D3A0E2A-626C11DF-988ED47C-12D44966@sip.mydomain.com
CSeq: 101 INVITE
05-19-2010 06:46 AM
One of these methods should have worked. You will need to open a TAC case so we can determine what in your configuration is preventing the name from being added to the From: field.
Thanks,
Marcos
05-20-2010 03:03 AM
Solution found!
I had to add
voice-class sip localhost dns:sip.skype.com preffered
to dial peers. You were very close Marcos. It didn't work without preffered for some reason
05-20-2010 03:15 AM
True, this is needed when multiple registrars are configured. Sorry for missing that.
http://www.cisco.com/en/US/partner/docs/ios/voice/command/reference/vr_v1.html#wp1131649
Usage Guidelines
Use the voice-class sip localhost command in dial peer voice configuration mode to override the global configuration on Cisco IOS voice gateways, Cisco UBEs, or Cisco Unified CME and configure a DNS localhost name to be used in place of the physical IP address in the From, Call-ID, and Remote-Party-ID headers of outgoing messages on a specific dial peer. When multiple registrars are configured for an individual dial peer you can then use the voice-class sip localhost preferred command to specify which host is preferred for that dial peer.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: