[Kamailio-Users] t_relay

Daniel-Constantin Mierla miconda at gmail.com
Wed Sep 17 12:51:19 CEST 2008


sabino frisardi wrote:
> OK, so if i call tmb->t_relay(msg,0,0,0,0,0,0) from a module it's the 
> same if i call t_relay() from script?
yes.

Daniel

>
> 2008/9/3 Daniel-Constantin Mierla <miconda at gmail.com 
> <mailto:miconda at gmail.com>>
>
>     Hello,
>
>
>     On 09/02/08 13:20, Klaus Darilion wrote:
>
>         Hi Sabino!
>
>         Do you really need to call it from within your module? The
>         usual way is that modules prepare the request (set RURI, DURI,
>         branches ...) and then in script you call t_relay(). This way
>         is more flexible as it also allows you to perform some task in
>         script before sending out the request (if needed).
>
>         klaus
>
>         sabino frisardi schrieb:
>          
>
>             Hi all,
>
>             I'm using openser 1.4. Can anyone tell me how can i call
>             t_relay() from another module.
>             Can anyone help me? any suggestion?
>                
>
>     if you need it, then tm module exports an API that you can use.
>     You can have a look at msilo module to see how the TM api is
>     imported and used later.
>
>     Cheers,
>     Daniel
>
>     -- 
>     Daniel-Constantin Mierla
>     http://www.asipto.com
>
>
>
>
> -- 
> Sabino Frisardi

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





More information about the Users mailing list