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 '+'.

-- 
Greetings,

Alex Hermann


_______________________________________________
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