DID routing / __FROM_DID=s
Hi,
A french provider offered me 10 DIDs for free pointing to a single IAX trunk (.80 to .89)
free=cheap=great !!
I want now to perform DID routing but I am a little bit confused after looking at the CLI
Whatever the number I choose to dial from my mobile phone to reach the pbx I can see:
-- Executing [s@from-trunk:1] Set("IAX2/1106-15093", "__FROM_DID=s") in new stack
What is "__FROM_DID=s" ?
Why “s” and not a correct DID ?
Do you think the provider do not send the DID at all? Or could it be something wrong/missing in my conf?
iax.conf:
---
[general]
language=fr
#include iax_general_additional.conf
#include iax_general_custom.conf
#include iax_registrations_custom.conf
#include iax_registrations.conf
#include iax_custom.conf
#include iax_additional.conf
#include iax_custom_post.conf
---
iax_additional.conf:
---
[1106]
context=from-trunk
type=friend
secret=***pwd***
[ING]
host=sip3.ing-telecom.com
username=1106
secret=***pwd***
type=friend
---
iax_general_additional.conf:
---
bindport=4569
bindaddr=0.0.0.0
disallow=all
allow=ulaw
allow=alaw
allow=gsm
mailboxdetail=yes
tos=ef
---
iax_registrations.conf:
---
register=1106:***pwd***@sip3.ing-telecom.com
---
Any help will be appreciated!
Thx
Nicolas
Nicolas,
I would suggest you look at the name of the inbound context you are using. I have an IAX trunk working to a provider here in the US and we use the account name (capitalization counts) as the inbound context. It looks like you are using one of the DID numbers. If that is true, I'm not sure what that would do to the inbound routing...
Below is our current trunk settings:
[*** Our Username ***]
type=user
trunk=yes
transfer=no
disallow=all
context=from-trunk
auth=md5
allow=ulaw
[teliax_out]
username=*** Our Username ***
type=peer
trunk=yes
secret=****
qualify=yes
transfer=no
host=den.teliax.net
disallow=all
context=default
auth=md5
allow=ulaw
This is working with DID service from Teliax. You might try using it as the basis for your setup. If the 1106 is truly your DID number, you'll probably need your account username in place of that in the register string as well. All your other configs look fine.
Good luck!
Jason
Hi Jason
Thank you for the answer, but actually 1106 is the username... a short one I agree :) but it is the username!
I tried to add some of your parameters (trunk=yes, transfer=no...) to my actual configuration to fit with yours but this did not change anything.
I will have to ask my provider I think...
If the problem was on my side, I will post their answer/solution here
Nicolas



Member Since:
2008-08-24