Re: [SR-Users] re-Invite in the failure route

2016-07-03 Thread Alex Balashov
Yep, I think you meant initial (regular) INVITEs, not reinvites. :-) On 07/03/2016 09:32 PM, Jay Li wrote: Hi Alex, Thanks for the quick response. I believe I used the wrong terminology. Your sample code looks like exactly what I'm looking for. Thanks. Regards, Jay On Sunday, July 3, 2016 9:

Re: [SR-Users] re-Invite in the failure route

2016-07-03 Thread Jay Li
Hi Alex, Thanks for the quick response. I believe I used the wrong terminology. Your sample code looks like exactly what I'm looking for. Thanks. Regards,Jay On Sunday, July 3, 2016 9:23 PM, Alex Balashov wrote: Are you sure "reinvite" is the correct term for what you are referring to?

Re: [SR-Users] re-Invite in the failure route

2016-07-03 Thread Alex Balashov
Are you sure "reinvite" is the correct term for what you are referring to? A reinvite is an INVITE inside a dialog. A dialog only exists between two parties. So, sending it to a different gateway than the one in relation to which the dialog already exists is not going to work. That said, you

[SR-Users] re-Invite in the failure route

2016-07-03 Thread Jay Li
Dear All, Hopefully I'll be able to get some help here on re-INVITE in the failure route. For example I have a couple of PSTN gateway options. I'd like to try them by priorities. In case the one with top priority couldn't go through(e.g. returned 5XX on INVITE), I'd like to re-INVITE through ano