Routing Incoming PSTN Calls from remote site to main site

samwelle
Posts: 14
Member Since:
2008-08-02

Hi

I have set up a trix at a new remote location which has many analogue UK (BT) lines. At my primary site I have a trix running a mix of sip and ISDN lines.

I have setup up an IAX2 link between the 2 boxes and thanks to a VPN link I have now setup my dialplan to route calls for extensions from one site/box to the other.

Incoming calls at the remote site all need to be forwarded to the primary site, but I wanted feedback on the best way to do this. I was planning to forward the analogue lines to an existing queue number on the primary box, but on adding the incoming route, i realised the option for the other site's queues is not there. So ideally i want to forward all these calls to queue number 1051...but how?

One way round this might be to setup an dummy extension with CF All calls to the queue, but it seems a little messy and so wondered if anyone has accomplished this in a better way, (whilst preserving the CLID).

Cheers in advance.

Sam



SkykingOH
Posts: 9681
Member Since:
2007-12-17
Setup an extension, use the

Setup an extension, use the type 'custom' in the dial string put /IAX/Mytrunkname/remoteDID

Where mytrunkname=remote Asterisk peer
and remoteDID = the DID number to route at the remote location

Scott

--

Scott

aka "Skyking"



samwelle
Posts: 14
Member Since:
2008-08-02
Excellant

Many thanks for the pointer, I will test this tomorrow, but it makes sense to me!

Cheers again.



samwelle
Posts: 14
Member Since:
2008-08-02
I set up the custom

I set up the custom extension and put in the dial string /IAX/ToMainOffice/remoteDID

ToMainOffice is my IAX2 trunk name and in remoteDID i put the queue number i wanted to route to. This didn't work so I created a DID and routed to that instead. Unfortunately it still didn't work, i seem to get the unavailable tone when i dial this extension.

Any idea what i'm doing wrong? - Thanks!



cvander
Posts: 637
Member Since:
2006-06-26
The work-around I use is to

The work-around I use is to setup a local ring-group with the remote number inserted into the ring-strategy. It's not terribly elegant, but works great!

Incoming call ---> Remote Box --->Route to Local Ring-group (Lets say 610)
On remote box, configure ring group 610 with a call list of YourQueueNumber# (make sure you put # at the end)

As long as you can directly dial your queue from your remote box, it should work a treat. If you cannot directly dial your queue from your remote box, then you need to add the queue number to your outbound route and point it to your IAX trunk.

-Chris



euser4life
Posts: 180
Member Since:
2006-07-16
change the string
Quote:
I set up the custom extension and put in the dial string /IAX/ToMainOffice/remoteDID

Your custom extension should look like this...

IAX2/ToMainOffice/remoteDID

You have "IAX" without the "2" and you have an extra "/" at the beginning.



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.