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

Danny Nicholas danny at debsinc.com
Mon Jun 22 10:32:07 CDT 2009


Presumably this would work on Zap as well since OP was on an earlier 1.4
rel.  Taking that ball and running with, a cleaner piece of logic;

exten => s,1,Set(IVR_CHAN=${CUT(CHANNEL,-,1)})
exten => s,n,Set(IVR_CHAN=${CUT(IVR_CHAN,/,2)})
exten => s,n,Gotoif($["${IVR_CHAN}" < "3"]?techsupp|s|1)
exten => s,n,Goto(regivr,s,1)

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Tzafrir Cohen
Sent: Monday, June 22, 2009 10:24 AM
To: asterisk-users at lists.digium.com
Subject: Re: [asterisk-users] Different inbound routes for each interface
onaTDM800P card.

On Mon, Jun 22, 2009 at 09:56:39AM -0500, Danny Nicholas wrote:
> Here is one way:
> - exten => s,1,Answer
> - exten => s,2,Gotoif($["${CHANNEL}" = "Zap-1"]?techsupp|s|1)

Zap/1-1 ?

Elsewhere I have:

exten => s,1,Set(DAHDI_CHAN=${CUT(CHANNEL,-,1)})
exten => s,n,Set(DAHDI_CHAN=${CUT(DAHDI_CHAN,/,2)})

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir

_______________________________________________
-- 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