[Kamailio-Users] (no subject)
kévin l'heveder
klheveder at gmail.com
Thu Apr 2 17:38:36 CEST 2009
Thanks you to help me,
I use the 'send' function to send the whole message from kamailio.cfg to my
management script. So i can parse the message, get the informations i need.
I've seen the function t_write and i understand how it works but in the
given example:
modparam("tm","tw_append","append1:Email=avp[i:12];UA=*hdr[User-Agent]*")
modparam("tm","tw_append","append2:body=*msg[body]*")
where could i find all the variable that i can use ?? because in
core-cookbook doc
(http://kamailio.org/dokuwiki/doku.php/core-cookbook:devel)
i've never seen the variable msg[body] or hdr[User-Agent] or variable
bind to transaction.
Regards,
Koon
2009/4/1 Daniel-Constantin Mierla <miconda at gmail.com>
- Masquer le texte des messages précédents -
Hello,
On 04/01/2009 05:08 PM, kévin l'heveder wrote:
> Hi all!
>
> I'd like to use the *t_reply* *MI* *function*, but one of the parameter is
> *'trans_id'* and i don't know how to get it?
>
> from where do you get the details of the request to reply to?
TM exports functions t_write_* that will give the id:
http://kamailio.org/docs/modules/1.5.x/tm.html#id2531309
Cheers,
Daniel
--
Daniel-Constantin Mierla
http://www.asipto.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20090402/2ae72471/attachment.htm>
More information about the sr-users
mailing list