[Users] General for openser-2 things

Yago Bargalló yago.bargallo at quarea.com
Thu May 24 11:44:15 CEST 2007



I'm trying to redirect a call from openser to an Asterisk extension when a call is no answer. I think that this wouldn't be so difficult but I can't do it. I know that I have to use the failure_route();  with a fr_inv_timer parameter and then do a rewritehostport and a rewriteuser. My problem is that when the fr_inv_timer pass the call is cancelled and nothing else happens. In addition, I don't know where I can find the logs that I put in my openser.cfg, I have read the xlog module but I can't understand how to do it.


On other hand, I have seen that there are a lot of functions that are often used but I don't know what they do internally, for example t_relay(), t_onreply(), revert_uri(),t_was_cancelled() etc etc etc and I don't know how to use it. ¿Is there any document that explain all it WELL??


Also, I've checked that if I do a call and I put the lines t_relay() and exit that call works fine but if I erase one of the two lines it don't work. Why???


Please help, I want to do a lot of things with openser but there is nothing that explain the basic functionality to do interessant things...


Thanks in advance, 


"It will arrive the day that we will control telephony"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/users/attachments/20070524/ebd68a38/attachment.htm 

More information about the Users mailing list