fmml@cedval.org
2004-Jun-20 18:03 UTC
[Asterisk-Users] Need different contexts for 2 X100P FXO Cards and forwarding calls
Hi all, I have 2 incoming telephone lines connected to 2 X100P FXO Cards. One line is for my family, the other will be for my home office. I am new to Asterisk, but though that I would need calls being answered in different contexts. How can I direct one line to a given context and the other one to another, or is there a better way??? Thanks in advance, Francois
Andrew Yager
2004-Jun-20 18:48 UTC
[Asterisk-Users] Need different contexts for 2 X100P FXO Cards and forwarding calls
In zapata.conf include the line context=<contextname> for each port on the card. Andrew _________________________ Andrew Yager Real World Technology Solutions Real People, Real SolUtions (tm) ph: (02) 9945 2567 fax: (02) 9945 2566 mob: 0405 15 2568 http://www.rwts.com.au/ _________________________ On 21/06/2004, at 11:03 AM, fmml@cedval.org wrote:> Hi all, > > I have 2 incoming telephone lines connected to 2 X100P FXO Cards. > > One line is for my family, the other will be for my home office. > > I am new to Asterisk, but though that I would need calls being > answered in > different contexts. > > How can I direct one line to a given context and the other one to > another, > or is there a better way??? > > Thanks in advance, > > > Francois > > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users-------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2365 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20040620/9613d6c0/smime.bin
fmml@cedval.org
2004-Jun-21 06:40 UTC
[Asterisk-Users] Need different contexts for 2 X100P FXO Cards and forwarding calls
Thanks Andrew, I will give it a try. I assume I can put "channel => x" for each context. Have a nice day, Francois> In zapata.conf include the line > > context=<contextname> > > for each port on the card. > > Andrew > > _________________________ > Andrew Yager > Real World Technology Solutions > Real People, Real SolUtions (tm) > ph: (02) 9945 2567 fax: (02) 9945 2566 > mob: 0405 15 2568 > http://www.rwts.com.au/ > _________________________ > On 21/06/2004, at 11:03 AM, fmml@cedval.org wrote: > >> Hi all, >> >> I have 2 incoming telephone lines connected to 2 X100P FXO Cards. >> >> One line is for my family, the other will be for my home office. >> >> I am new to Asterisk, but though that I would need calls being >> answered in >> different contexts. >> >> How can I direct one line to a given context and the other one to >> another, >> or is there a better way??? >> >> Thanks in advance, >> >> >> Francois >> >> >> >> _______________________________________________ >> Asterisk-Users mailing list >> Asterisk-Users@lists.digium.com >> http://lists.digium.com/mailman/listinfo/asterisk-users >> To UNSUBSCRIBE or update options visit: >> http://lists.digium.com/mailman/listinfo/asterisk-users >
Andrew Yager
2004-Jun-21 20:30 UTC
[Asterisk-Users] Need different contexts for 2 X100P FXO Cards and forwarding calls
Yes. I have a TDM400 card, and my zapata.conf looks something like: [channels] context=incoming signalling=fxs_ls ...(some other stuff) channel => 1 context=local signalling=fxo_ls channel=>2 etc. The channel is created with the channel => x line in the config file. Andrew _________________________ Andrew Yager Real World Technology Solutions Real People, Real SolUtions (tm) ph: (02) 9945 2567 fax: (02) 9945 2566 mob: 0405 15 2568 http://www.rwts.com.au/ _________________________ On 21/06/2004, at 11:40 PM, fmml@cedval.org wrote:> Thanks Andrew, I will give it a try. > > I assume I can put "channel => x" for each context. > > Have a nice day, > > Francois >> In zapata.conf include the line >> >> context=<contextname> >> >> for each port on the card. >> >> Andrew >> >> _________________________ >> Andrew Yager >> Real World Technology Solutions >> Real People, Real SolUtions (tm) >> ph: (02) 9945 2567 fax: (02) 9945 2566 >> mob: 0405 15 2568 >> http://www.rwts.com.au/ >> _________________________ >> On 21/06/2004, at 11:03 AM, fmml@cedval.org wrote: >> >>> Hi all, >>> >>> I have 2 incoming telephone lines connected to 2 X100P FXO Cards. >>> >>> One line is for my family, the other will be for my home office. >>> >>> I am new to Asterisk, but though that I would need calls being >>> answered in >>> different contexts. >>> >>> How can I direct one line to a given context and the other one to >>> another, >>> or is there a better way??? >>> >>> Thanks in advance, >>> >>> >>> Francois >>> >>> >>> >>> _______________________________________________ >>> Asterisk-Users mailing list >>> Asterisk-Users@lists.digium.com >>> http://lists.digium.com/mailman/listinfo/asterisk-users >>> To UNSUBSCRIBE or update options visit: >>> http://lists.digium.com/mailman/listinfo/asterisk-users >> > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users-------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2365 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20040621/b39a8105/smime.bin