Dialing extension on linked server in IVR
Here is my setup:
trixbox CE 2.6.1.0 linked (SIP trunk) with a asterisk based appliance server (which basicly works like trixbox).
Phones are mostly polycom 330.
The trunk is working really good. Extension 2XX are in one location (A) and 3XX in an other one (B). If I dial 303 from a phone in location A, the call is forwarded correctly and the phone 303 rings and can anwser (sound is good both ways).
The way that is configured is I configured an outbound route with dial plan 3XX that uses the sip trunk between the 2 boxes.
What I want to do is:
When a customer calls location A, listen to the IVR and wants to contact the person at extension 303. Right now, trixbox gives an error message saying that the extension dosen't exist (which is true since it only exist on server B). How do I fix that problem: When someone dial an extension on a different linked server I want it to use the sip trunk to reach that person.
thanks
It might not be the most elegant solution but I found a way to do it:
You will need the following modules: Extensions - Follow Me - Misc Destinations
Create a custom extension in the server A with the extension number that you want. (ex 303)
Create an unused custom extension on server A (i used 3000)
Create a Misc Dest. named Remote303 that dials 9303.
Create a Follow Me setting for extension 303 with the following settings:
Initial Ring Time: 0
Ring Strategy: ringallv2
Ring Time: 1
Follow-Me List: 3000
Default Destination: Misc Destination : Remote303
Now provided you have a trunk between the two servers you only need to created an outbound route with something like 3XX and 9|3XX as a dial pattern and put the mutual trunk in the trunk sequence.
I hope this can help someone.
I had this problem a while back and had a solution posted by jmullinix. Here is the solution that he gave me and it worked great.
---------------------------------------------------------------------------------------------------------
Yes,
This is an issue with contexts and it is intentional. It needs to be there, otherwise your inbound callers could dial out on your dime.
Add this context to you extensions_custom.conf
[ext-local-custom]
exten => _2XX,1,dial(iax2/trunkname1/${EXTEN}
exten => _1XX,1,dial(iax2/trunkname2/${EXTEN}
You will need to modify these lines to work with your system. Change the extension match to work with your system and change the trunknames to fit your system. It should work swimingly.
---------------------------------------------------------------------------------------------------------
You just need to change the 1XX and 2XX to be 2XX and 3XX and place the code into the system.

Member Since:
2008-05-08