All of my inbound calls are coming in using the settings for my outbound proxy/trunk. I keep seeing this after the initial invite:
Using INVITE request as basis request - PHXMGC0120080506041557046103@126.96.36.199
Found peer 'bandwidth_outbound'
Here is my sip.conf
The outbound has no context, so inbound calls fail when they try to setup using it. I can add in “context=incoming_calls” to fix it, but it seems like that totally defeats the purpose of having an inbound and outbound trunk setup.
Could it be that Asterisk sees a different IP address in the contact field and that’s why it’s not picking the correct trunk?