Hello, in your syslog file (typically /var/run/syslog or /var/run/messages).
Cheers, Daniel On 27/05/15 08:46, Ali Taher wrote: > > Hi > > > > Can you please inform me in what location is the output of xlog ? > > > > Regards, > > Ali > > > > *From:*sr-users [mailto:sr-users-boun...@lists.sip-router.org] *On > Behalf Of *Dmitri Savolainen > *Sent:* Tuesday, May 26, 2015 6:20 PM > *To:* Kamailio (SER) - Users Mailing List > *Subject:* Re: [SR-Users] Kamailio drouting failure not working > > > > Sorry, I did not read the question carefully. > > Really 486 usually send by phone, when clicking ignore > > so this statement before "use_next_gw()" usually works: > > if (t_check_status("486")){ > > exit; > > } > > > > but may be your phone generate smth else (not 486). > > i use smth like this before use_next_gw() : > > if ( t_is_canceled() ){ > > exit; > > } > > > > if (t_check_status("....")){ #no backup code list regex > > exit; > > } > > > > you may add log string at start of failure_route to determine error code: > > xlog("L_INFO", "failure_route; code: $T_reply_code"); > > > > PS include "loadmodule 'tmx.so'" for $T_reply_code > > > > > > > -- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Kamailio World Conference, May 27-29, 2015 Berlin, Germany - http://www.kamailioworld.com
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users