Hello all,
In my ser.cfg I do: route{.... if (method=="BYE"){log(1,"enter in method bye")do ABCD.....} ....} When SER receives a BYE, SER doesn´t do "ABCD...." and if I put SER in debug mode, I can`t read the log "enter in method bye" but I can read the line"method: <BYE>" why doesn`t work "if method="BYE"? Thanks. _________________________________________________________________ Llama a tus amigos de PC a PC: ¡Es GRATIS! http://get.live.com/messenger/overview
Yes, BYEs are normally loose routed and if(loose_route()) will catch them. g-)
TZieleniewski wrote:
Benito Caracuel napisa?(a):
Hello all,
In my ser.cfg I do:
route{ ....
if (method=="BYE"){ log(1,"enter in method bye") do ABCD..... }
.... }
When SER receives a BYE, SER doesn´t do "ABCD...." and if I put SER in debug mode, I can`t read the log "enter in method bye" but I can read the line "method: <BYE>"
why doesn`t work "if method="BYE"?
Thanks.
Llama a tus amigos de PC a PC: ¡Es GRATIS! Pruébalo
http://get.live.com/messenger/overview
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
maybe the message never reached this if condition and was stoped somewhere else? how did you checked that the massesg was realy reached ser? do you have ngrep output or something like this?
best tomasz
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers