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

Daniel-Constantin Mierla miconda at gmail.com
Mon May 25 09:51:20 CEST 2015


Hello,

On 24/05/15 11:01, DanB wrote:
> Hey Guys,
>
> Was wondering what would be the recommended way to share information
> between $evapi(msg) received and transaction processors?
> I have tried $avp() but they do not appear to be available in
> evapi:message-received route. Trying to avoid here $sht() so I don't
> need to do extra management to destroy them. Is there any way to
> "activate" the $avp or $dlg_var  based on dialog index, label maybe?
>
have you called t_continue() somewhere?

Note also that you can define a hash table with auto-expires, so you
don't need to do manual removal of items in the hash table.

Cheers,
Daniel

-- 
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/5c494f1b/attachment.html>


More information about the sr-users mailing list