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