Brian Capouch
2003-May-17 23:56 UTC
[Asterisk-Users] Discriminating between two incoming lines?
It seems like I've seen how to do this, but so far my archives search has come up dry. I have two X100Ps working with a single instance of asterisk, and I want to do different things with incoming calls depending on which line has rung in. Could someone provide me with a quick pointer? Thx. B.
Joe Antkowiak
2003-May-17 23:58 UTC
[Asterisk-Users] Discriminating between two incoming lines?
Use different contexts. If you know which card is which channel, set one of the channels to a different context, and then set up what you want under that context. -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Brian Capouch Sent: Sunday, May 18, 2003 2:56 AM To: Asterisk-Users@lists.digium.com Subject: [Asterisk-Users] Discriminating between two incoming lines? It seems like I've seen how to do this, but so far my archives search has come up dry. I have two X100Ps working with a single instance of asterisk, and I want to do different things with incoming calls depending on which line has rung in. Could someone provide me with a quick pointer? Thx. B. _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users
Jeremy McNamara
2003-May-18 00:01 UTC
[Asterisk-Users] Discriminating between two incoming lines?
Drop the two channels in different contexts. signaling=fxs_ks context=foo channel => 1 context=bar channel=> 2 Jeremy McNamara Brian Capouch wrote:> It seems like I've seen how to do this, but so far my archives search > has come up dry. > > I have two X100Ps working with a single instance of asterisk, and I > want to do different things with incoming calls depending on which > line has rung in. > > Could someone provide me with a quick pointer? > > Thx. > > B. > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users