[asterisk-users] Different inbound routes for each interface on aTDM800P card.

Danny Nicholas danny at debsinc.com
Mon Jun 22 09:56:39 CDT 2009


Here is one way:
- exten => s,1,Answer
- exten => s,2,Gotoif($["${CHANNEL}" = "Zap-1"]?techsupp|s|1)
- exten => s,3,Gotoif($["${CHANNEL}" = "Zap-2"]?techsupp|s|1)
- exten => s,4,Goto(regivr|s|1)
- exten => s,5,hangup

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Jeremy Winder
Sent: Monday, June 22, 2009 9:26 AM
To: asterisk-users at lists.digium.com
Subject: [asterisk-users] Different inbound routes for each interface on
aTDM800P card.

I'm new to Asterisk and inherited this project so I apologize if this
question has been asked a hundred time before. I did start with Google
but I may not be asking the right questions, because I wasn't finding
any answers.

I have Asterisk 1.4.24 and FreePBX 2.5 running and using a Digium
TDM800P to interface with our six analog phone lines from the telco.
Currently I have a single trunk setup ZAP/G0 that will allow all
incoming call go to your IVR and allow outgoing calls.

My problem is I need two of those lines to be routed to one IVR for our
tech support people and the other four to be routed to our main business
IVR. For the life of me, I can't seem to find anything online about how
to do this. I thought about setting up six separate trunks; but I didn't
see anywhere you specify the channel for the trunk and right now my
single trunk is working with all of the analog lines.

Any help will be greatly appreciated,

Jeremy


_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list