[SIPForum-discussion] Placement of "cic" Field in Request URI

Gonzalo Gasca gogasca at cisco.com
Wed May 30 05:13:14 UTC 2012


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sipforum.org/pipermail/discussion/attachments/20120529/4403cd0d/attachment-0002.html>


More information about the discussion mailing list