[Serusers] speeddial - CANCEL MESSAGE ERROR

tzieleniewski tzieleniewski at o2.pl
Thu Mar 1 13:27:46 CET 2007


Hi!!
I was utilizing the speeddial functionality and I encountered the following error:
When user sends a cancel message before the destination leg answers the call the cancel message is not properly routed, because sd_lookup("speed_dial") returns negative result for the processing of cancel message. If other side answers everything is ok (BYE etc). 

here is my Speed_dial logic:
        if (uri =~ "sip:[0-9]{2}@.*") {
                if(sd_lookup("speed_dial")) {
                        route(FORWARD);
                        drop;
                }
        }

Bests 
tomasz



More information about the sr-users mailing list