Hi there,
Does anyone know a code snippet to activate sems in failure_route ? I want to redirect to voicemail in case of busy line or timeout. I can't make a t_newtran() in the failure_route, so if i put the vm("/tmp/am_fifo","voicemail") function in this block, the sems answers with his default message but the ruri (and therefore the mailaddress of the recipient) is unknown and it is not possible to terminate the call with a BYE-request!
Are there in addition any side-effects by using the mediaproxy?
regards, Philipp
if you run 0.9.0 or later you can use avpops module to store the canonical uri (the one before lookup("location")) in an AVP and then reuse it in failure route. For older versions you have to call revert_uri() followed by all R-URI processing (e.g., alias lookup).
Daniel
On 02/22/05 18:46, Alexander Philipp Lintenhofer wrote:
Hi there,
Does anyone know a code snippet to activate sems in failure_route ? I want to redirect to voicemail in case of busy line or timeout. I can't make a t_newtran() in the failure_route, so if i put the vm("/tmp/am_fifo","voicemail") function in this block, the sems answers with his default message but the ruri (and therefore the mailaddress of the recipient) is unknown and it is not possible to terminate the call with a BYE-request!
Are there in addition any side-effects by using the mediaproxy?
regards, Philipp
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers