I did file a bug report today for this issue, but it was closed and suggested that I discuss this issue on the forum. So here I am. I have following situation:
I am using asterisk 1.4.25 , freepbx 126.96.36.199 and have 25 extensions. People are initiating calls from their computers (for example from microsoft outlook address book) over tapi interface in windows and using sip phones with headsets to talk.
In this setup i have five sip trunks. They are configured for different destination numbers and I always have minimum two of them in one outbound route (so that they can failover if one of them is busy/congested etc). If i call from sip phone directly and one trunk returns SIP / 403 Forbidden (while I have not paid to that particular provider or rather dont have any more call credits on that account) dialplan will get failover to another trunk and try to call over that trunk.
Now if i am calling over outlook or microsoft dialer or any other tapi capable application it will hangup immediately if i get SIP / 403 Forbidden from sip trunk and wont failover thru other trunks. Can someone help me address this issue ?
Here are traces from asterisk:
This one is when i am calling over sip phone: http://pastebin.com/f7b7a913d
this if i am calling over tapi application: http://pastebin.com/f747d9b4c