< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

Re: [reSIProcate-users] Extracting Request-URI Parameters


If a parameter is not defined by resiprocate then you can define your
own ExtensionParameter.  See the following link for more info:
http://www.resiprocate.org/Use_Overview#Extension_parameters

static const resip::ExtensionParameter p_param1("param1");
Data param1 = msg->header(h_RequestLine).uri().param(p_param1);

Scott


On Tue, Sep 23, 2008 at 11:08 AM, Afshin Afzali <a_afzali2003@xxxxxxxxx> wrote:
> Hi Guys,
>
> According to this sample Request-URI :
> sip:agent1@xxxxxxxxxxxxx:6200;rinstance=fba2c301281ca109;transport=TCP;param1=6
>  SIP/2.0
>
> I'll appreciate if someone guide me how could extract URI's parameters (such 
> as param1) .
>
> Best Regards,
> -- afshin
>
>
>
> _______________________________________________
> resiprocate-users mailing list
> resiprocate-users@xxxxxxxxxxxxxxx
> List Archive: http://list.resiprocate.org/archive/resiprocate-users/
>