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?
Thanks for your help. Regards
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?
Thanks for your help. Regards
-- Sabino Frisardi
Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
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