[asterisk-users] accountcode= placement in zapata.conf

Damon Estep damon at suburbanbroadband.net
Tue Nov 28 19:34:13 MST 2006


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!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061128/7e1b9d11/attachment.htm


More information about the asterisk-users mailing list