<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; "><div>Try SIP Profiles.</div><div><a href="http://www.cisco.com/en/US/docs/ios-xml/ios/voice/cube_sip/configuration/15-2mt/voi-condl-header.html#GUID-980E7543-A7EC-41F4-800A-0ECAFAD8899F">http://www.cisco.com/en/US/docs/ios-xml/ios/voice/cube_sip/configuration/15-2mt/voi-condl-header.html#GUID-980E7543-A7EC-41F4-800A-0ECAFAD8899F</a></div><div><br></div><span id="OLK_SRC_BODY_SECTION"><div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style="font-weight:bold">From: </span> Jonathan Charles <<a href="mailto:jonvoip@gmail.com">jonvoip@gmail.com</a>><br><span style="font-weight:bold">Date: </span> Monday 2 July 2012 10:32 AM<br><span style="font-weight:bold">To: </span> <<a href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a>><br><span style="font-weight:bold">Subject: </span> [cisco-voip] Need SIP invite to route on TO field instead of URI<br></div><div><br></div>I have a CUBE running 15.1(4)M4 that is SIP to the provider and H.323 to CUCM 8.6.2<div><br></div><div>Inbound calls are all showing the billing number on the request URI:</div><div><br></div><div><div><br></div><div>Jul 1 09:48:43.709 CDT: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:</div><div>Received: </div><div>INVITE <a href="http://sip:1000@10.50.1.7:5060">sip:1000@10.50.1.7:5060</a> SIP/2.0</div><div>Via: SIP/2.0/UDP 1.1.1.1:5060;branch=z9hG4bK-b09eefee3692d5c02b969912a045c958;rport</div><div>From: "DOE, JOHN" <<a href="mailto:sip%3A16305551414@call.message-alert.com">sip:16305551414@call.message-alert.com</a>>;tag=1813914414</div><div>To: <<a href="mailto:sip%3A16305551212@1.1.1.1">sip:16305551212@1.1.1.1</a>></div><div>Call-ID: 47e9ec2b@pbx</div><div>CSeq: 22580 INVITE</div><div>Max-Forwards: 70</div><div>Contact: <sip:<a href="mailto:1000@1.1.1.1">1000@1.1.1.1</a>:5060;transport=udp></div><div>Supported: 100rel, replaces, norefersub</div><div>Allow-Events: refer</div><div>Allow: INVITE, ACK, CANCEL, BYE, REFER, PRACK, INFO, UPDATE</div><div>Accept: application/sdp</div><div>User-Agent: talkingplatforms/2.1.15.2503</div><div>Alert-Info: <Bellcore-dr3></div><div>Content-Type: application/sdp</div><div>Content-Length: 323</div><div><br></div><div>v=0</div><div>o=- 1303493202 1303493202 IN IP4 66.159.89.13</div><div>s=-</div><div>c=IN IP4 1.1.1.1</div><div>t=0 0</div><div>m=audio 57094 RTP/AVP 0 9 18 2 3 101</div><div>a=rtpmap:0 pcmu/8000</div><div>a=rtpmap:9 g722/8000</div><div>a=rtpmap:18 g729/8000</div><div>a=fmtp:18 annexb=no</div><div>a=rtpmap:2 g726-32/8000</div><div>a=rtpmap:3 gsm/8000</div><div>a=rtpmap:101 telephone-event/8000</div><div>a=fmtp:101 0-16</div><div>a=sendrecv</div></div><div><br></div><div><br></div><div><br></div><div><br></div><div>As you can see the INVITE is to <a href="http://sip:1000@10.50.1.7:5060">sip:1000@10.50.1.7:5060</a>, which is our billing code.</div><div><br></div><div>The TO field has the actual DID to route to.</div><div><br></div><div><br></div><div>Per the RFC, 3261, section <a href="http://8.1.1.1">8.1.1.1</a>:</div><div><br></div><div>"The initial Request-URI of the message SHOULD be set to the value of the URI
in the To field." </div><div><br></div><div><br></div><div>This provider doesn't do that and says everyone but Cisco supports this, which goes back to my theory that SIP is not a protocol, but an idea of things you might want to do, but can really do whatever you want (hence the effect that every SIP provider seems to be doing their own thing)...</div><div><br></div><div><br></div><div>Anyway, here is what I need to do:</div><div><br></div><div>I need to have the call route on the TO field instead of the INVITE field.</div><div><br></div><div>How?</div><div><br></div><div><br></div><div><br></div><div>Jonathan</div>
_______________________________________________
cisco-voip mailing list
<a href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a>
<a href="https://puck.nether.net/mailman/listinfo/cisco-voip">https://puck.nether.net/mailman/listinfo/cisco-voip</a>
</span></body></html>