Everthing should be ABOVE the channel => line for that group of channels


On 11/28/06, Damon Estep <[EMAIL PROTECTED]> wrote:

 Can anyone tell me if accountcode= should appear before or after the
channels definition that you want it to apply to?



I have several groups of channels (PRI) defined in Zapata.conf, and wish
to specify accountcode by group.



If I put the accountcode= at the end of Zapata.conf it applies to all
channels configured, if I put it at the end of each group section the
behavior is inconsistent.



How is accountcode parsed in Zapata.conf, does it apply to everything
before or after the setting appears? Can it change mid-file? How?



Here is the config I am working with;



group=2

musiconhold=default

context=pri-inbound

echocancel=yes

echocancelwhenbridged=yes

echotraining=yes

callerid=asreceived

useincomingcalleridonzaptransfer=yes

switchtype=national

signalling=pri_cpe

channel=25-47

accountcode=2222

;channels 25-47 should have accountcode=2222



group=3

musiconhold=default

context=pri-inbound

echocancel=yes

echocancelwhenbridged=yes

echotraining=yes

callerid=asreceived

useincomingcalleridonzaptransfer=yes

switchtype=national

signalling=pri_cpe

channel=49-71

accountcode=3333

;channels 49-71 should have accountcode 3333



group=4

musiconhold=default

context=pri-inbound

echocancel=yes

echocancelwhenbridged=yes

echotraining=yes

callerid=asreceived

useincomingcalleridonzaptransfer=yes

switchtype=national

signalling=pri_net

channel=73-95

accountcode=1714

;channels 73-95 should have accountcode 1714



Thanks!

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

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



_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

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

Reply via email to