[Kamailio-Users] Get transaction ID

Daniel-Constantin Mierla miconda at gmail.com
Fri Apr 3 09:55:37 CEST 2009



On 04/02/2009 06:42 PM, kévin l'heveder wrote:
>
>
> 2009/4/2 Daniel-Constantin Mierla <miconda at gmail.com 
> <mailto:miconda at gmail.com>>
>
>     please cc to mailing lists ... private emails of such type get
>     ignored.
>
>     Thanks,
>     Daniel
>
>
>     On 04/02/2009 05:44 PM, kévin l'heveder wrote:
>
>         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.
>

I think the docs were not updated, try to use the appropriate 
pseudo-variables:

http://www.kamailio.org/dokuwiki/doku.php/pseudovariables:devel

Cheers,
Daniel


>
>         Regards,
>         Koon
>
>
>         2009/4/1 Daniel-Constantin Mierla <miconda at gmail.com
>         <mailto:miconda at gmail.com> <mailto:miconda at gmail.com
>         <mailto:miconda at gmail.com>>>
>
>
>            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/
>
>
>
>     -- 
>     Daniel-Constantin Mierla
>     http://www.asipto.com/
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Kamailio (OpenSER) - Users mailing list
> Users at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users

-- 
Daniel-Constantin Mierla
http://www.asipto.com/




More information about the Users mailing list