[SR-Users] Using $avp in evapi:message-received

Daniel-Constantin Mierla miconda at gmail.com
Mon May 25 12:32:15 CEST 2015


Hello,

yes, it is safe to use $var(x) to pass values between the block calling
t_continue() and the route executed by t_continue().

Cheers,
Daniel

On 25/05/15 10:52, DanB wrote:
> Hey Daniel,
>
> Thanks for coming back to me.
>
> Yes, called t_continue and for now I have used $var() to pass
> information back to the route with transaction info recovered.
> Will that be OK to leave it like that? Is $var() safe to use between
> event_route[evapi:message-received] and route called by t_continue()?
> I am just speaking about these two interactions since after
> t_continue, I will process the vars into $avp().
>
> You can find the .cfg we are using it as part of our test build here:
>
> https://github.com/cgrates/cgrates/blob/master/data/tutorials/kamevapi/kamailio/etc/kamailio/kamailio-cgrates.cfg#L62
> https://github.com/cgrates/cgrates/blob/master/data/tutorials/kamevapi/kamailio/etc/kamailio/kamailio.cfg#L191
>
>
> Ta,
> DanB
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - http://www.kamailioworld.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150525/b114caec/attachment.html>


More information about the sr-users mailing list