search for: accountcod

Displaying 20 results from an estimated 632 matches for "accountcod".

Did you mean: accountcode
2008 Mar 24
3
Dynamic meetme conference creation with Authenticate (Asterisk 1.4.0)
I'm trying to use the password entered with Authenticate to create dynamic meetme conferences with the following dial plan: exten => _XXXXXXXXXX18467,1,Authenticate(/etc/asterisk/meetme.pw|a) exten => _XXXXXXXXXX18467,n,MeetMe(CDR(accountcode)) ; 281-8467 However CDR(accountcode) is always being set to 1022 no matter what password is used. The passwords are stored in a file so they can easily be changed. Can anyone tell me what I'm doing wrong? Thanks, David Ruggles CCNA MCSE (NT) CNA A+ Network Engineer Safe Data, Inc. (910) 2...
2010 Jul 20
1
Preserving CDR(accountcode) in Local channels
Greetings list, Whilst running through a routine check of some CDRs, I've noticed that the originating channel's accountcode isn't preserved on creating a local channel. For example, if we start with: exten => 123,1,Set(CDR(accountcode)=foo) exten => 123,n,Queue(bar,nrtw,,,) And the queue 'bar' is defined as follows: [bar] member => Local/456 at outbound member => Local/567 at outbound member...
2013 Oct 07
1
IAX and Variables
Hi a new small question ;=) We have two Asterisk, connected in IAX2. On the first, in dialplan, we have: exten => _XX.,1,Set(IAXVAR(ACCOUNTID)=${CDR(accountcode)}) we sent into the IAXVAR "ACCOUNTID" the accountcode. On the second, in dialplan, we have: exten => 18,2,AGI(Caller-ID.agi,${IAXVAR(ACCOUNTID)}) That's work, the second server get the variable. I want now said at the second server that accountcode = ${IAXVAR(ACCOUNT...
2006 Oct 12
1
AccountCode set in sip.conf but not showing up in CDR
Hi All, I'm running 1.2.9.1 and have a sip user setup with accountcode=4444 in the context. lab1*CLI> sip show peer 1234 * Name : 1234 Secret : <Set> MD5Secret : <Not set> Context : sip1004 Subscr.Cont. : <Not set> Language : Accountcode : 4444 AMA flags : Unknown CallingPres : Presentation Allowed...
2005 Jun 05
1
Accountcode being ignored?
I have a sip.conf entry for a customer's PBX (IP based authentication) that reads: [customer] type=friend context=customer host=x.x.x.x accountcode=10000 disallow=all allow=g729 When the customer makes a call to my * server, * recognizes the peer correctly. However, for some reason, the AccountCode is blank. I have a NoOp(${ACCOUNTCODE}) and the CLI shows: -- Executing NoOp("SIP/x.x.x.x-0821e058", "") in new stack i...
2009 May 29
2
regarding to field of accountcode
Hi, I use realtime and I found that changing accountcode needed to restart asterisk to activate that code and shown in CDR. Does it has a way to update accountcode without restart asterisk? ango
2003 Dec 30
1
Accountcodes
I'm trying to use accountcodes, but experiencing inconsistant results. I have two * servers, one which appears to be working as expected and one not. I would like to prepend the device's accountcode to the dialed number. The sip1 server does not seem to have the ${ACCOUNTCODE} variable set when reading the exten...
2005 Feb 17
0
Accountcode and SIP Peers
Hi to all, following the suggestion of Matteo Brancaleoni to solve my problem of anonymous call in CDRS i implemented the accountcode in any peer that i have in the sip.conf so i can use the SetCallerID to accountcode to identify the caller. When i make the sip show users the accountcode is correctly displayed but when i try to access the variable ${ACCOUNTCODE} from the extensions.conf to populate the ${CALLERID} variable i...
2009 Jul 13
2
How to Change size of CDR(accountcode) variable?
I've just found out that CDR(accountcode) variable can only be 20 characters long, doesn't matter what size the MySQL column has for it. I need to increase it to at least 30 characters. Any idea how this can be accomplished? -- Zeeshan A Zakaria -------------- next part -------------- An HTML attachment was scrubbed... URL: http:/...
2009 Nov 11
2
Bug or feature: SIP chanvars not overriden
Hello, Using 1.6.2-rc5, my settings include: [local-phone](!) context=mylocal type=friend nat=no canreinvite=no host=dynamic qualify=yes dtmf=info language=fr call-limit=5 subscribecontext=subs disallow=all allow=alaw t38pt_udptl=no setvar=accountcode=foo [168](local-phone) defaultuser=168 secret=pass168 callerid=John Doe<168> mailbox=168 setvar=longcid=015555555 setvar=accountcode=bar CLI> sip show peer 168 ... Variables : accountcode = bar longcid = 015555555 accountcode = fo...
2005 Jul 21
1
account code missing in csv cdr
My cdrs are missing accountcodes for incoming calls from other asterisk servers.. I've seen a few people mentioning this on the list and the solution seems to be setting up a dialplan for incoming calls from a particular sip peer.. in my opinion this does not scale well at all and I am looking for a solution to correct t...
2004 Oct 05
2
Howto change ACCOUNTCODE in extensions.conf
Hi, I want to assign different accountcodes (for billing) according to the IP address and or the H.323 name (chan_oh323). I tried in extensions.conf something like setVar(ACCOUNTCODE=userid) but in cdr I find the accountcode set in oh323.conf. Howto change it in extensions.conf? Roger.
2005 Feb 17
2
Accountcode and SIP Peers Part 2
Hi, notice that i have Grandstream phones and i have the problem if i activate the Send Anonymous function on them. If i do not activate that option the ACCOUNTCODE is correctly populated. SO i think it may be a bug of asterisk. I'm using Asterisk CVS-HEAD-10/07/04-18:07:25 . Thanks, Bye, Marcello
2005 Oct 06
1
Billing: amaflags and accountcode
Hi all, I have about 10 SIP phones for different users defined in sip.conf, each with their own accountcode= entry. There is a global setting in sip.conf that states amaflags=documentation There are 3 IAX->PSTN gateways defined in iax.conf for outbound calls. These do not have an accountcode=, but do have amaflags=billing defined in each. The theory was that all calls should be logged, those calls...
2003 Sep 18
1
CDR of calls transferred via IAX[2]
Let's say i have a network of * boxes connected via IAX, one of them is a "switch", one or more are the "gateways". - An IAX[2] "customer" register himself on the "switch" (and gets an accountcode for te purpose of cdr) - The customer places a call to the "switch", the switch does some magic and decides which "gateway" the call should be forwarded - The switch authenticates the call with the "gateway" and then performs a transfer effectively connecting the...
2003 Aug 03
2
AGI accountcode.
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
2004 Jun 23
0
Accountcode missing in log
I have defined a SIP friend without username and secret, only IP-based. I have also defined an accountcode for that "friend", as follows:   [mypeer] type=friend host=192.168.0.100 port=5060 context=mycontext canreinvite=no accountcode=mypeer   Unfortunately the accountcode for the calls originating from "mypeer" doesn't show up in the log (either CSV or ODBC). All the other &quo...
2006 Jan 29
0
Transfer (SIP REFER) - AccountCode not available?
I have a snom 320 connected to an Asterisk server. I do some weird things using the AccountCode as an identifier. When the snom makes a call, the AccountCode is used successfully in the dialplan as a variable ${ACCOUNTCODE}. When that same call is transferred using the button on the snom, I see a SIP REFER message being received on the * server and the call is transferred - however, this &q...
2008 Jun 11
2
Losing CDR(accountcode)
Hi, I`m occassionally seeing CDR(accountcode)'s value empty at a place in my diaplan where it was filled with some value a few lines before, with nothing else having changed it. It`s giving me headaches (as I rely on it for MySQL queries). Anything I can do? Mick -------------- next part -------------- An HTML attachment was sc...
2005 Sep 15
3
${DIALSTATUS} problems
...1,Dial(${ARG1},20,g) ; Ring the interface, 20 seconds maximum exten => s,2,Goto(s-${DIALSTATUS},1) ; Jump based on status (NOANSWER,BUSY,CHANUNAVAIL ,CONGESTION,ANSWER) exten => s-CHANUNAVAIL,1,NoOp("CHANUNAVAIL") exten => s-CHANUNAVAIL,2,UserEvent(ChannelUnavailable|Account: ${ACCOUNTCODE}^${CALLERIDNUM}) exten => s-CONGESTION,1,NoOp("CONGESTION") exten => s-CONGESTION,2,UserEvent(Congestion|Account: ${ACCOUNTCODE}^${CALLERIDNUM}) exten => s-ANSWER,1,NoOp("ANSWER") exten => s-ANSWER,2,UserEvent(Answer|Account: ${ACCOUNTCODE}^${CALLERIDNUM}) exten =&...