El Tue, 23 Aug 2011 17:32:41 +0200
Alex Hermann <a...@speakup.nl> escribió:

> On Tuesday 23 August 2011, Jon Bonilla wrote:
> > Hi all
> > 
> > I'm trying to generate a request using uac_req in a failure route when the
> > call has been canceled. (Kamailio 3.1.3)
> > 
> > Here's the code:
> 
> >     $uac_req(hdrs) = "X-PUSH-Type: mytype\r\nX-PUSH-CLI:
> > $avp(s:first_caller_cli)\r\nX-PUSH-DST: $rU\r\n";
> 
> Strings aren't evaluated for PV's. Use pv_printf or concatenate the different 
> components with '+'.
> 

Thanks Alex. It has sense. Tried with '+' and worked perfectly.



_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to