[SR-Users] passing $avp to t_relay functions.
Daniel-Constantin Mierla
miconda at gmail.com
Tue Dec 18 11:54:17 CET 2018
Hello,
can you provide a sample how you use it for one or two of those
functions? Parameters within quotes or not?
Cheers,
Daniel
On 18.12.18 09:30, YAS0 CANER wrote:
> Hello ,
> is there a way to pass $avp values to t_relay function. i tried ;
>
> t_relay
> t_relay_udp/tcp
> t_relay_to
> t_relay_avp functions
>
> log
> 0(75155) ERROR: tm [tm.c:2456]: fixup_t_relay_to(): fixing ($avp(dd), 1)
> 0(75155) ERROR: tm [tm.c:2459]: fixup_t_relay_to(): param type 8
> 0(75155) ERROR: tm [tm.c:2456]: fixup_t_relay_to(): fixing
> ($avp(flags), 2)
> 0(75155) ERROR: tm [tm.c:2459]: fixup_t_relay_to(): param type 11
> 0(75155) CRITICAL: tm [tm.c:2549]: fixup_t_relay_to(): invalid flags
> <$avp(flags)>
> 0(75155) ERROR: <core> [core/route.c:1154]: fix_actions(): fixing
> failed (code=-1) at cfg:/usr/local/etc/kamailio/kamailio.cfg:489
> 0(75155) ERROR: <core> [core/rvalue.c:3860]: fix_rval_expr(): failure
> in cfg at line: 489 col: 42
> 0(75155) ERROR: <core> [core/route.c:1154]: fix_actions(): fixing
> failed (code=-1) at cfg:/usr/local/etc/kamailio/kamailio.cfg:494
> 0(75155) ERROR: <core> [core/route.c:1154]: fix_actions(): fixing
> failed (code=-1) at cfg:/usr/local/etc/kamailio/kamailio.cfg:495
>
> in addition i have a look code , in fixup functions try to resolve
> host values so parameteres cannot find $avp .
>
> in conclusion , does kamailio need new function to pass $avp value?
> Can i try to code?
>
> Thanks.
>
>
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference - May 6-8, 2019 -- www.kamailioworld.com
Kamailio Advanced Training - Mar 4-6, 2019 in Berlin; Mar 25-27, 2019, in Washington, DC, USA -- www.asipto.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20181218/12bcaf70/attachment.html>
More information about the sr-users
mailing list