[SR-Users] uac_req: pseudovariables, avps
Alex Hermann
alex at speakup.nl
Tue Aug 23 17:32:41 CEST 2011
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
More information about the sr-users
mailing list