› VitalPBX Community Support › General Discussion › Multiple DID's on Vitalpbx
- This topic has 16 replies, 4 voices, and was last updated 1 year, 12 months ago by
TrustedbyU.
- Post
-
- January 17, 2019 at 5:37 pm
Hi,
I setting up the us and uk dids on vitalpbx but when i try to call the did its busy.
0
- Replies
-
- January 17, 2019 at 5:37 pm
- January 17, 2019 at 6:47 pm
Now she says “no route exist to destination.” I changed insecure to “port,invite” and i also getting one way audio i looked at the https://vitalpbx.org/en/how-to-install-vitalpbx-on-google-cloud/
please help.
0- January 17, 2019 at 7:12 pm
- January 17, 2019 at 8:57 pm
- January 17, 2019 at 9:03 pm
- January 17, 2019 at 9:06 pm
- January 17, 2019 at 9:12 pm
- January 17, 2019 at 9:14 pm
- January 18, 2019 at 12:08 am
- January 18, 2019 at 2:06 am
- January 18, 2019 at 7:00 pm
- January 18, 2019 at 7:38 pm
- January 19, 2019 at 5:31 pm
- January 22, 2019 at 9:53 am
Not sure if you have sorted this, but i had a similar problem in the past with a UK SIP provider.
It turned out that they were sending the number strangely in the headers. It didn’t matter what number was being dialled, it was reporting my customer ID / Trunk ID as the DID in the invite. However it was sending the information in the SIP headers. I had to hack together a little script that pulled the number from the header for the route to use. You will be able to tell if that’s the case by creating a default catchall route and see if it works. (any DID / CID)..
in file /etc/asterisk/ombutel/extensions__custom.conf
[default-trunk]
exten => s,1,Noop(Fixing DID using information from SIP TO header)
exten => s,n,Set(pseudodid=${SIP_HEADER(To)})
exten => s,n,Set(pseudodid=${CUT(pseudodid,@,1)})
exten => s,n,Set(pseudodid=${CUT(pseudodid,:,2)})
exten => s,n,Goto(default-trunk,${pseudodid},1)Above fixed the issue for me if that’s the case 🙂
HTH.
0- January 22, 2019 at 12:35 pm
Hello, vitalpbx already use this information in the thunk configutacion. You only have to select where to get the did. Check the image
0
- You must be logged in to reply to this topic.