[Asterisk-Users] AGI accountcode.

Wade J. Weppler weppler at wwworks-inc.com
Sun Aug 3 13:51:19 MST 2003


You should be able to add "accountcode=xxxxx" to the channel info for
the particular caller.  This could be added to zaptel.conf, sip.conf,
etc.

-wade


---- Original Message ----
From: mike at tc3net.com
To: asterisk-users at lists.digium.com, 
Subject: RE: [Asterisk-Users] AGI accountcode.
Date: 03 Aug 2003 16:10:46 -0400

>I've setup cdr_mysql and am using AGI to authenticate users based on 
>the
>called-from # (callerid), use the AGI perl module. Looking at the 
>info
>stored in the caller detail, I see a field called "accountcode", is 
>it
>possible for me to set this field in AGI? I'd like to tie it to a
>username, that I pull during my SQL authentication, so I can search 
>the
>cdr table based on a username, rather then a source phone number.
>
>Regards
>MIKE
>
>_______________________________________________
>Asterisk-Users mailing list
>Asterisk-Users at lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-users
>




More information about the asterisk-users mailing list