[OpenSIPS-Users] Feature request? Script Var / AVP variables in route function.

Jim DeVito jim at devito.cc
Thu Sep 21 08:43:00 EDT 2017


Hi Razvan,

So what am I doing wrong with

route($avp(carrier_id));

It produces...

...line 318, column 53-54: bad routeargument

Thanks!!

On Thu, Sep 21, 2017 at 8:31 AM, Răzvan Crainea <razvan at opensips.org> wrote:

> Hi, Jim!
>
> Script variables or AVPs are PV (pseudo-variables) themselves, so you
> should be able to use them.
>
> Best regards,
>
> Răzvan Crainea
> OpenSIPS Developerwww.opensips-solutions.com
>
> On 09/21/2017 03:14 PM, Jim DeVito wrote:
>
> Hi All,
>
> It's my understanding only PV, integers and strings can be used in the
> core route function. Is there a reason I don't understand why we can not
> use script variables or AVP's?
>
>
> Thanks!!
>
> -------------
> Jim DeVito
> Mobile 216.507.9497 <(216)%20507-9497>
>
>
> _______________________________________________
> Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>


-- 
-------------
Jim DeVito
Mobile 216.507.9497
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20170921/834de949/attachment-0001.html>


More information about the Users mailing list