Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

SIP Provider sends username in Invite

Hi all,

I'm setting up a Cube for my customer and i'm running into problems with incoming calls. Outgoing calls are working fine, my SIP trunks get registered but when I try to make an incoming call it just won't work.

When I do a debug ccsip message I can see that I receive a sip invite with my SIP username instead of the called number:

*Oct  8 08:24:34.007: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
INVITE sip:90908358PXXX@192.168.X;X:5060 SIP/2.0
Via: SIP/2.0/UDP 188.x.x.x:5060;branch=z9hG4bKrs049t30ageh1gk1e590.1
From: "0562xxxx"<sip:0562xxxx@provider.eu;user=phone>;tag=SDbtgt901-1114689618-1
286526262026-
To: "289455xx 289455xx"<sip:289455xx@provider.eu>
Call-ID: SDbtgt901-12e0301cc75ca3d9eeabdef03430ec24-s5gg440
CSeq: 91778438 INVITE
Contact: <sip:xxxxxx@188.x.x.x:5060;transport=udp>
Allow: ACK,BYE,CANCEL,INFO,INVITE,OPTIONS,PRACK,REFER,NOTIFY,UPDATE
Accept: multipart/mixed,application/media_control+xml,application/sdp
Supported:
Max-Forwards: 9
Content-Type: application/sdp
Content-Length: 550

And in my debug voip dialpeer it's showing allso my username as called number:

*Oct  8 08:17:54.923: //-1/62C7FFCD8054/DPM/dpAssociateIncomingPeerCore:
   Calling Number=0562xxxxx, Called Number=90908358PXXX, Voice-Interface=0x0,
   Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
   Peer Info Type=DIALPEER_INFO_SPEECH

Is there a way that I can tell my cube that he doesn't have to look at the Invite sip:Username but to the TO: in my sip message? I have tried several methods for dial-peer destination-pattern, incoming called number etc. i've tried to configure the dial peer with asserted id pai, but none works.

many thanks in advance for your replies,

Best regards,

p-vincent

1 REPLY
Cisco Employee

Re: SIP Provider sends username in Invite

Hi there,

IOS will route sip calls based on Request-URI and not To: header as per spec (rfc3261)

But you can use a TCL script to route based on To: header.

Also take a look at following doc:

http://www.cisco.com/en/US/docs/ios/voice/ivr/configuration/guide/gt_url.html

HTH,

DK

154
Views
0
Helpful
1
Replies