I'm having trouble with inbound calls.
When I setup an inbound route I create it with a callerID, lets call it ted.
Then when I send calls to email@example.com no calls come in.
The only way I can get this to work is send calls to firstname.lastname@example.org and set inbound route with no callerid and it works.
I want to have different inbound routes going to different ring groups and extensions but currently I cannot figure this out. I know it must be simple but I'm missing something. Can anyone help?
You put "username-ted" into the trunk name field of your route. It does not have to go into caller ID.
I have tried to setup as you mention
Step 1. Create trunk called mbc
Step 2. Setup inbound route called mbc and routed to a ring group
step 3. sent calls from my provider to email@example.com
the calls instantly fail.
My system log shows the call coming in and that its being hung up instantly
VERBOSE chan_sip.c: Hangup call SIP/220.127.116.11-98011b40, SIP callid firstname.lastname@example.org
What am I doing wrong?
If you send calls from your provider to a SIP URI you do not need to add that provider as a trunk.
In your route you don't specify "mbc" as trunk name. Instead you enter "username-mbc" there.