Hi, I have two X100P cards in the same system. I can use both of them to initiate and/or receive PSTN calls. I want now to define separate context for each of them, in oder to route inbound calls to different extensions. This is what I have now in zapata.conf file: [channels] language=en context=inbound-analog signalling=fxs_ks usecallerid=yes callwaiting=yes echocancel=yes echocancelwhenbridged=yes busydetect=yes busycount=10 callerid=asreceived rxgain=10 txgain=15 channel => 1 channel => 2 What I must do to separate the two? Let's say: ZAP/1 in context 'in-number1' ZAP/2 in context 'in-number2' Thanks, Dan
based on below, you have them in the same context insert a context=foo line after channel =>1 if you want channel 2 in a different context On Sun, Nov 16, 2003 at 09:32:42PM +0200, Dan wrote:> Hi, > > I have two X100P cards in the same system. > I can use both of them to initiate and/or receive PSTN calls. > > I want now to define separate context for each of them, in oder to route > inbound calls to different extensions. > > This is what I have now in zapata.conf file: > > [channels] > language=en > context=inbound-analog > signalling=fxs_ks > usecallerid=yes > callwaiting=yes > echocancel=yes > echocancelwhenbridged=yes > busydetect=yes > busycount=10 > callerid=asreceived > rxgain=10 > txgain=15 > channel => 1 > channel => 2 > > > What I must do to separate the two? > Let's say: > ZAP/1 in context 'in-number1' > ZAP/2 in context 'in-number2' > > Thanks, > Dan > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users
Hi, ----- Original Message ----- From: " John Brown (CV)" <jmbrown@chagresventures.com> To: <asterisk-users@lists.digium.com> Sent: Sunday, November 16, 2003 9:42 PM Subject: Re: [Asterisk-Users] two X100P cards, different context> based on below, you have them in the same context > > insert a context=foo line after channel =>1 > > if you want channel 2 in a different contextIt was so simple...:-) ..Thanks a lot. Best regards, Dan