[Serusers] t_on_failure & CANCEL

Christian de Balorre cdebalorre at neotelecoms.com
Fri Apr 8 18:38:54 CEST 2005


Hi,
Anyone knows how to handle 487 Request Terminated on callee side when it  recieves a "CANCEL" ? It triggers the failure_route logic bloc and I would like to avoid this.

ser.sfg 

route [3] {
        # Local call, voip-voip,
        if (uri =~"^sip:7[0-9][0-9]@.*") {
                rewritehost("neotelecoms.fr");
        if (!lookup("location")) {
                sl_send_reply("404", "Not Found");
                break;
        };
        t_on_failure("1");
        t_relay();
        break;

failure_route[1] {
        if (method == CANCEL) {
                break;
        };
        revert_uri();
        rewritehostport("192.168.10.122:5060");
        prefix("7");
        append_branch();
        t_relay();
        break;


Christian de BALORRE
Ingénieur Systèmes & Réseaux
Neotelecoms - MFN France
7-9, rue Petit
92582 Clichy Cedex
 
Tel 01 49 97 07 35
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20050408/ed45d357/attachment.htm>


More information about the sr-users mailing list