[SIPForum-discussion] Placement of "cic" Field in Request URI
Thomas Lentz
LENTZ at de.ibm.com
Thu May 31 18:11:51 UTC 2012
Dear Gonzalo,
unfortunately your way to use the cic is not correct. The cic is a Tel URI
parameter (defined in rfc4694 - http://tools.ietf.org/html/rfc4694) and it
has to be placed in front of the @.
I don't want to repeat what Stephen already said . He is totally right.
>RFC 4694 defines the cic parameter as a tel URI parameter. Per 3261 when
converting from tel URI to sip URI all tel URI parameters become userinfo
parameters.
>Note, the user=phone parameter indicates that this is a sip URI derived
from a tel URI.
Your corrected example:
INVITE sip:18881112000**11111111;cic=101 at 10.22.132.10:5060 SIP/2.0
The unfortunate thing is, that all simple SIP implementations out there do
not support TEL URI parameters - you are lucky, when they can handle the
SIP parameters in a correct way.
Mit freundlichen Grüßen / Kind regards
Thomas Lentz
Senior IT Architect
Global Business Services
NGN Competence Center (www.ngn-factory.com)
Phone:
+49-69-90551-137
IBM Deutschland
Mobile:
+49-175-2232071
Wilhelm-Fay-Str. 30-34
E-Mail:
lentz at de.ibm.com
65936 Frankfurt
Germany
IBM Deutschland GmbH / Vorsitzender des Aufsichtsrats: Martin Jetter
Geschäftsführung: Martina Koederitz (Vorsitzende), Reinhard Reschke,Dieter
Scholz, Gregor Pillen, Joachim Heel, Christian Noll
Sitz der Gesellschaft: Ehningen / Registergericht: Amtsgericht Stuttgart,
HRB 14562 / WEEE-Reg.-Nr. DE 99369940
From:
Gonzalo Gasca <gogasca at cisco.com>
To:
Kumudakanta Swain <kumudaswain at gmail.com>, Stephen James
<sjames_1958 at yahoo.com>
Cc:
"discussion at sipforum.org" <discussion at sipforum.org>
Date:
31.05.2012 19:41
Subject:
Re: [SIPForum-discussion] Placement of "cic" Field in Request URI
Sent by:
discussion-bounces at sipforum.org
Hi Heather
We use cic option quite often in our SP solution, (CTX with Cisco SBC)
Here an example or how we use it:
INVITE sip:18881112000**11111111 at 10.22.132.10:5060;cic=101 SIP/2.0
We normally place it in request URI after user at domain before SIP version
as a uri-parameter
Part of my LUA script to insert it after request URI.
local cicnumber = scriptParameters.getValue("cicnumber")
M = {}
function M.outbound_INVITE(msg)
local isInitialInvite = msg:isInitialInviteRequest()
if isInitialInvite and cicnumber
then
local method, ruri, ver = msg:getRequestLine()
local uri = ruri .. ";cic=" .. cicnumber
msg:setRequestUri(uri)
end
end
return M
--
Gonzalo
From: Kumudakanta Swain <kumudaswain at gmail.com>
Date: Wed, 16 May 2012 18:56:59 +0530
To: Stephen James <sjames_1958 at yahoo.com>
Cc: "discussion at sipforum.org" <discussion at sipforum.org>
Subject: Re: [SIPForum-discussion] Placement of "cic" Field in Request URI
Hello,
You have to dial the number and cic value [6245000000002215050] , and cic
value most be configured in the system(SUT),
The URI will be
sip:+6245000000002215050 at example.com;user=phone
Thanks&Regards,
Kumuda,
Mob:(+91)-9811-362-312
Life is no brief candle for me. It is a sort of splendid torch, which I
have got hold of for the moment, and I want to make it burn as brightly as
possible before handling it to future generations.
On Sun, May 13, 2012 at 3:15 AM, Stephen James <sjames_1958 at yahoo.com>
wrote:
RFC 4694 defines the cic parameter as a tel URI parameter. Per 3261 when
converting from tel URI to sip URI all tel URI parameters become userinfo
parameters.
Note, the user=phone parameter indicates that this is a sip URI derived
from a tel URI.
Section 4. of 4694 provides the cic parameter.
Section 19.1.6 of 3261 details the conversion from tel to sip
tel:62450000000022;cic=+15050
becomes
sip:62450000000022;cic=+15050 at example.com;user=phone
Stephen James
sjames_1958 at yahoo.com
We are not princes of the earth, we are the descendants of worms, and any
nobility must be earned.
From: Heather Mayhan <heather.mayhan at ericsson.com>
To: "discussion at sipforum.org" <discussion at sipforum.org>
Sent: Sat, May 12, 2012 4:22:12 PM
Subject: [SIPForum-discussion] Placement of "cic" Field in Request URI
I can’t find anything in any RFC’s stating if it is ok for the placement
of a CIC code to be placed like so:
sip:62450000000022;cic=+15050 at 172.24.165.80:5060;user=phone;transport=udp
We are interoperating with a vendor that states it is in the wrong spot
but I have found several examples where other vendors have it in the same
place.
Thanks,
Heather
_______________________________________________
This is the SIP Forum discussion mailing list
TO UNSUBSCRIBE, or edit your delivery options, please visit
http://sipforum.org/mailman/listinfo/discussion
Post to the list at discussion at sipforum.org
_______________________________________________
This is the SIP Forum discussion mailing list
TO UNSUBSCRIBE, or edit your delivery options, please visit
http://sipforum.org/mailman/listinfo/discussion
Post to the list at discussion at sipforum.org
_______________________________________________
This is the SIP Forum discussion mailing list
TO UNSUBSCRIBE, or edit your delivery options, please visit
http://sipforum.org/mailman/listinfo/discussion
Post to the list at discussion at sipforum.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sipforum.org/pipermail/discussion/attachments/20120531/b909bcd5/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 1851 bytes
Desc: not available
URL: <http://sipforum.org/pipermail/discussion/attachments/20120531/b909bcd5/attachment-0002.gif>
More information about the discussion
mailing list