similar to: setvar=CDR(accountcode)=${EXTEN} in sip.conf ???

Displaying 20 results from an estimated 7000 matches similar to: "setvar=CDR(accountcode)=${EXTEN} in sip.conf ???"

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:
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.
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>
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
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, Not Screened Callgroup
2007 May 25
1
CDR not recording accountcode on SIP Response 302 Call Forward From Phone
Hi All, Call comes into Asterisk Asterisk answers and Dials SIP Phone SIP phone has call forward enabled to a long distance number Asterisk receives a SIP response 302 "Moved Temporarily" back from phone Asterisk then forwards inbound call to 'Local/number@context' thanks to phone 2 problems with the CDR: 1. intermittent 'bill sec' accuracy, sometimes 0 even when the
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 scrubbed... URL:
2006 Nov 03
3
Problems Overwriting CallerID with True ANI
I receive calls over a T1 with callerid and then *ani*dnis*. I am able to strip out the ani and the dnis in the dialplan but when I try to set the caller ID to be the ani, it looks ok but then if I do a NoOp callerid on the next line, I get unknown. Here is the section of my dialplan: exten => _*NXXNXXXXXX*NXXNXXXXXX*,1,Set(ANI=${EXTEN}) exten =>
2010 Oct 24
2
Chan variables for peer
Hi all, I used to configure each of my sip clients with a unique identifier via setvar. These clients were all configured as "friends." However, now that I've got some Polycom phones, which MUST be "peers," I am unable to define this variable. For example, this works: [friend-client] context = default accountcode = pcc type = friend username = username secret =
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
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
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
2011 Apr 20
1
[IAX] Everyone is busy/congested at this time (1:0/0/1)
Hi, I have a problem with IAX accounts... I set up a few months ago an Asterisk server, with mysql support to load iax accounts. Settings seems fine because apparently the system works as expected. Yesterday I tried to add another iax account in the iax.conf directly. And I have a problem with this new account (named 444). I can authenticate from 444 to the server, and I can receive calls from
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
2011 Mar 05
1
Asterisk, Sent accountcode between 2 asterisk
Hi I have two Asterisk Server: The first server "A", all phone are connected The Second server "B" only route call to a lot of SIP supplier the server A sent: ; Destination: Non connu dans le DialPlan - Apparaitra en UNKNOW dans le CDR exten => _X.,1,Set(CDR(CodeTier)=BUS-UNKNOW) exten => _X.,2,Dial(IAX2/SERVERB/${EXTEN},180,rt) exten =>
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
2005 Jul 25
3
US CallerID and TDM04B
Hello All, I have new TDM04B installed and working fine with Asterisk 1.0.5 built on RedHat 9. All is working fine except CallerID that bothers me big time. I have several Panasonic and Sony phones and CallerID works fine with it (when I plug in the line into phone instead into Asterisk I get CallerID) but fails with Asterisk. I am based in California (San Francisco) and my Telco is SBC
2005 Mar 07
0
iax2 setvars help needed
I'm trying to pass a variable between servers using "setvar" in iax.conf. I have a box (ts2) with a t100p in it. It answers the call and dials another box (ast0) via IAX. I want to pass a variable along with the call from ts2 to ast0. I'm running CVS-HEAD-03/07/05 on ts2 and ast0. ts2's iax.conf: [general] disallow = all allow
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 this problem. example sip peer: [asterisk_gw] type=friend
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