<div dir="ltr">Hi all,<div><br></div><div>I have a question for my kamailio configuration which works like this:</div><div><br></div><div>- INVITE arrives to kamailio</div><div>- HTTP async request to API endpoint</div><div>- Resume, use of rtjson module for parallel forking and loop to kamailio itself</div><div>- One of the invite is "transformed" in serial forking with rtjson module and it is sent with a delay to TWILIO SIP Domain (landline/mobile phone numbers) </div><div><br></div><div>Twilio is giving me some troubles because it answers with a 200 OK but the call it is still in establishing/ringing on the "landline" side and as expected when reaching the timeout (no answer from phone number on TWILIO side) kamailio is receiving a BYE.</div><div><br></div><div>Now the question, how to handle next number to call through Twilio? </div><div>I was thinking of using rtjson_next_route() when handling the in-dialog BYE but as it is not a failure route so it does not work, or I'm doing it wrong.</div><div><br></div><div>Thanks in advance for any help/hint.</div><div><br></div><div>Filippo</div><div><br></div></div>