I think you need to call t_on_failure before doing t_relay. <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon> Virus-free. www.avast.com <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
On 29 August 2017 at 11:26, Ravi Patel <[email protected]> wrote: > Hi Team, > I would like to add this issue to be taken care. > > I am facing issue with the Call Forwarding. > I tried with the basic default config file of OpenSIPS. > > What I want to achieve is multi level forwarding. > For EX: 1111 --> 2222(forward on NOANSWER) --> 3333(Forward on NOANSWER) > --> 4444 > > Please find the below failure_route > failure_route[missed_call] { > if (t_was_cancelled()) { > exit; > } > > if($rU == "2222") > { > $ru = "sip:[email protected]"; # It will dial 3333 > when 2222 fails > } > else > { > $ru = "sip:[email protected]"; # It will dial 4444 > when 3333 fails > } > t_relay(); > } > > > So, Here 1111 --calls--> 2222 --Forward on no answer --> 3333 --Forward on > no answer --> 4444. > default timeout is 30 secs. > > 1111 to 2222: NOANSWER at 30 sec forwarded to 3333 > to 3333: NOANSWER at 30 sec forwarded to 4444 > to 4444: immidiately CANCEL the request, does not wait for timeout. > > At SIP client I found a quick miss call only,Here Timeout fails. > > Is this the default behaviour of OpenSIPS?? > or Do I need to modify something in config to achieve 2nd level forwarding? > I have tested it with OpenSIPS 2.2.3 and 2.3.0 > > Please Guide. > > > Thanks, > Ravi Patel > > On Mon, Aug 28, 2017 at 8:10 PM, Liviu Chircu <[email protected]> wrote: > >> Hi all, >> >> An OpenSIPS 2.3 minor release bump has been scheduled for Thursday, Aug >> 31st. If you happen to have any GitHub OpenSIPS issues or mailing list bug >> threads that have not been answered yet, please let us know as soon as >> possible so they make it onto the fix checklist. >> >> Best regards, >> >> -- >> Liviu Chircu >> OpenSIPS Developer >> http://www.opensips-solutions.com >> >> >> _______________________________________________ >> Users mailing list >> [email protected] >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > >
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
