Re: [OpenSIPS-Users] missed_calls doubt
Hello Try to use failed_transaction_flag http://www.opensips.org/html/docs/modules/devel/acc.html#id292642 From: users-boun...@lists.opensips.org [mailto:users-boun...@lists.opensips.org] On Behalf Of Wesley Volcov Sent: Thursday, April 28, 2011 4:13 PM To: OpenSIPS users mailling list Subject: [OpenSIPS-Users] missed_calls doubt Dear List, I use my opensips, to make the routes based on prefix received and send the call to the termination carrier based on a lcr configured with dr_route module. I have 2 route to each prefix. When I receive an error from the fist carrier, the opensips set the missed_call flag, and send the call to second carrier. If the second carrier send an error, the opensips set the missed_call flag again and relay this error to the user that made the call. In my missed_call table, I just see the second error, but I need to see both. How can I do this ? Follow my failure route: failure_route[1] { xlog(FailureRoute entered); setflag(10); #accounting missed calls if (t_check_status((487)|(486))) { xlogFailureRoute: $rm exited); exit; } else if(!next_routing()) { xlog(FailureRoute: no more gateways available.); } route(1); } route[1] { t_on_reply(ONREPLY); if (!t_relay()) { sl_reply_error(); }; exit; } Regards, -- Wesley Volcov Email: wesleyvol...@gmail.com Messenger: vol...@live.com Mobile: +55 11 9989-5348 Website: http://volcov.blogspot.com ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] missed_calls doubt
Denis, I already tried this, but sip_code field doens't have value. I need this value. Any ideas ? Thanks On 28 April 2011 09:17, Denis Putyato denis7...@mail.ru wrote: Hello Try to use failed_transaction_flag http://www.opensips.org/html/docs/modules/devel/acc.html#id292642 *From:* users-boun...@lists.opensips.org [mailto: users-boun...@lists.opensips.org] *On Behalf Of *Wesley Volcov *Sent:* Thursday, April 28, 2011 4:13 PM *To:* OpenSIPS users mailling list *Subject:* [OpenSIPS-Users] missed_calls doubt Dear List, I use my opensips, to make the routes based on prefix received and send the call to the termination carrier based on a lcr configured with dr_route module. I have 2 route to each prefix. When I receive an error from the fist carrier, the opensips set the missed_call flag, and send the call to second carrier. If the second carrier send an error, the opensips set the missed_call flag again and relay this error to the user that made the call. In my missed_call table, I just see the second error, but I need to see both. How can I do this ? Follow my failure route: failure_route[1] { xlog(FailureRoute entered); setflag(10); #accounting missed calls if (t_check_status((487)|(486))) { xlogFailureRoute: $rm exited); exit; } else if(!next_routing()) { xlog(FailureRoute: no more gateways available.); } route(1); } route[1] { t_on_reply(ONREPLY); if (!t_relay()) { sl_reply_error(); }; exit; } Regards, -- Wesley Volcov Email: wesleyvol...@gmail.com Messenger: vol...@live.com Mobile: +55 11 9989-5348 Website: http://volcov.blogspot.com -- Wesley Volcov Email: wesleyvol...@gmail.com Messenger: vol...@live.com Mobile: +55 11 9989-5348 Website: http://volcov.blogspot.com ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] missed_calls doubt
I am using and failed_transaction_flag and db_missed_flag for marking calls and I do not see any problem with sip_code while using next_routing() From: Wesley Volcov [mailto:wesleyvol...@gmail.com] Sent: Thursday, April 28, 2011 4:33 PM To: Denis Putyato Cc: OpenSIPS users mailling list Subject: Re: [OpenSIPS-Users] missed_calls doubt Denis, I already tried this, but sip_code field doens't have value. I need this value. Any ideas ? Thanks On 28 April 2011 09:17, Denis Putyato denis7...@mail.ru wrote: Hello Try to use failed_transaction_flag http://www.opensips.org/html/docs/modules/devel/acc.html#id292642 From: users-boun...@lists.opensips.org [mailto:users-boun...@lists.opensips.org] On Behalf Of Wesley Volcov Sent: Thursday, April 28, 2011 4:13 PM To: OpenSIPS users mailling list Subject: [OpenSIPS-Users] missed_calls doubt Dear List, I use my opensips, to make the routes based on prefix received and send the call to the termination carrier based on a lcr configured with dr_route module. I have 2 route to each prefix. When I receive an error from the fist carrier, the opensips set the missed_call flag, and send the call to second carrier. If the second carrier send an error, the opensips set the missed_call flag again and relay this error to the user that made the call. In my missed_call table, I just see the second error, but I need to see both. How can I do this ? Follow my failure route: failure_route[1] { xlog(FailureRoute entered); setflag(10); #accounting missed calls if (t_check_status((487)|(486))) { xlogFailureRoute: $rm exited); exit; } else if(!next_routing()) { xlog(FailureRoute: no more gateways available.); } route(1); } route[1] { t_on_reply(ONREPLY); if (!t_relay()) { sl_reply_error(); }; exit; } Regards, -- Wesley Volcov Email: wesleyvol...@gmail.com Messenger: vol...@live.com Mobile: +55 11 9989-5348 Website: http://volcov.blogspot.com -- Wesley Volcov Email: wesleyvol...@gmail.com Messenger: vol...@live.com Mobile: +55 11 9989-5348 Website: http://volcov.blogspot.com ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users