search for: setcdruserfield

Displaying 20 results from an estimated 31 matches for "setcdruserfield".

2006 Oct 31
1
Asterisk does not bridge zap channels on outgoing calls
...=> s-NOANSWER,2,Goto(nothere,s,1) exten => s-BUSY,2,Goto(nothere,s,1) exten => _s-.,1,Goto(s-NOANSWER,1) [macro-out-mediasat] exten => s,1,Set(MEDIASAT=81.180.226.177) exten => s,2,Set(CALLERID(number)=0318243800) exten => s,3,ChanIsAvail(SIP/${ARG1}@${MEDIASAT}) exten => s,4,SetCDRUserField(${UNIQUEID}) exten => s,5,Monitor(gsm,/var/spool/asterisk/monitor/${UNIQUEID},mb) exten => s,6,Dial(SIP/${ARG1}@${MEDIASAT},400,t) exten => s,107,Background(tt-allbusy) exten => s,108,Hangup() [fax] exten => 123456789,1,Macro(faxreceive) ;[conferinte] ;exten => 90,1,MeetMe(90)...
2004 Jun 15
2
using SetCDRUserField in an AGI script
Hi I am trying to use SetCDRUserField in an agi script but with no success. I am using the CDR mysql addon, however I can't see it being at fault as my attempt is not doing anything to the CVS CD either. has anyone used this, any hints guidence would be greatly appreciated. The syntax I am using is like so .. res=DoExec('...
2006 Feb 01
1
SetCDRUserField not working in A@H?
I have A@H 2.1, running * 1.2.1. I am trying to put information into the userfield with SetCDRUserField and AppendCDRUserField. However, the field is never populated in the cdr - I've checked the csv files and the MySQL asteriskcdrdb table. The field is defined in the MySQL table, but is always empty. The csv files that get created don't have a userfield at all, that is, there isn't an...
2004 Apr 04
1
SetCDRUserField actually works?
Hi all, I'm trying to add custom billing info into the CDR records. I did a SetCDRUserField from my agi. Asterisk seems to acknowledge the call, but the value is not anywhere in the CDR record. I checked the CSV and Mysql CDR table. The field is always blank. Anyone had any success with this? Cheers and TIA.
2006 Feb 01
0
RESOLUTION: SetCDRUserField not working in A@H?
...Thanks again for all of your help! -MC -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Paul Hewlett Sent: Wednesday, February 01, 2006 6:05 AM To: asterisk-users@lists.digium.com Subject: Re: [Asterisk-Users] SetCDRUserField not working in A@H? On Wednesday 01 February 2006 10:54, Michael Collins wrote: > I have A@H 2.1, running * 1.2.1. I am trying to put information into the > userfield with SetCDRUserField and AppendCDRUserField. However, the field > is never populated in the cdr - I've checked the c...
2007 Jun 12
4
write some custom values to CDR table
Hi, I write the CDR of my Asterisk 1.2.17 server in MySQL database using cdr_addon_mysql.so. Now I'm trying to write some custom values to userfield column by the SET(CDR(USERFILED)=SOME_TEXT) sintax, but nothing gets writeen in MySQL cdr table!! Why? I'm I skeeping something or what? Taking a look at the URL:
2005 Apr 07
1
SetCdrUserField
Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 467 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20050407/92567425/attachment.gif -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type:
2005 May 26
0
SetCDRUserField not working in cvs 5/25/05
SetCDRUserField doesn't appear to be working in the 5/25/05 CVS - Anyone else having this problem?
2005 May 10
2
DISA
...s 10 seconds after the outgoing number is dialed, no matter what I put for the timeout values. Anyone else using DISA that has run into this? exten => _2X,1,Answer exten => _2X,2,DigitTimeout(2) exten => _2X,3,ResponseTimeout(2) exten => _2X,4,SetAccount(1${EXTEN}) exten => _2X,5,SetCDRUserField(${SIPCALLID}) exten => _2X,6,DISA(no-password|<another context>) -- ----- Chris Stinson Network Operations Center ISDN-Net, Inc. 615-221-4200 x103 noc@isdn.net
2007 Jan 02
1
Double quotes in CDRUserField?
Question: I'm trying to put a double quote into the CDRUserField. What I end up with is a pair of double quotes. Example: exten => s,n,SetCDRUserField(data) exten => s,n,AppendCDRUserField(") exten => s,n,AppendCDRUserField(moredata) My record will look like this: data""moredata What I want is: data"moredata The wiki mentions using a backslash in order to 'quote the character' as it says. However, this exa...
2007 Nov 01
2
hostname in MySQL CDR records
I would like to send the CDR records from all our machines around the world to a single database. But I need the hostname included with each record for monitoring purposes. Is there a better way than using the userfield and adding SetCDRUserfield for every call to set the userfield to the name of the host? Thanks...
2007 Apr 03
1
ZAP device reference in Zaptel 1.4
...d ztcfg reports that it finds the two modules. Howevery when I try and place a call through the gateway I get the following error message. I have tried to refer to the ZAP device as ZAP/g2 etc Any suggestions? Anything that's different about Zaptel 1.4? -- Executing [169223139@default:1] SetCDRUserField("SIP/103-b7802230", ""Telstra"") in new stack -- Executing [169223139@default:2] Dial("SIP/103-b7802230", "ZAP/4/69223139") in new stack [Apr 4 10:47:43] WARNING[5659]: channel.c:3024 ast_request: No channel type registered for 'ZAP' [A...
2005 Aug 02
0
Hang up as soon as other party picks up call
...th DIALSTATUS=NOANSWER. -- Registered '2002' (AUTHENTICATED) at 192.168.1.41:4569 -- Registered '3002' (AUTHENTICATED) at 192.168.1.54:4569 Aug 2 11:04:38 WARNING[557083]: pbx.c:1933 ast_pbx_run: Timeout, but no rule 't' in context 'callout' -- Executing SetCDRUserField("SIP/4001-40ee", "STATUS=NOANSWER") in new stack Aug 2 11:04:38 DEBUG[557083]: cdr_addon_mysql.c:178 mysql_log: cdr_mysql: inserting a CDR record. Aug 2 11:04:38 DEBUG[557083]: cdr_addon_mysql.c:197 mysql_log: cdr_mysql: SQL command as follows: INSERT INTO cdr (calldate,clid,...
2005 Oct 05
0
Asterisk 1.0.9-BRIstuffed-0.2.0-RC8o memory leak when using call files ?
...EN,:,2) exten => _TEST.,4,Dial(${TRUNKTEST}/${REALEXTEN},30,ng) exten => _TEST.,5,DBPut(DIALTEST/${SMID}/HANGUPCAUSE=${HANGUPCAUSE}) exten => _TEST.,6,DBPut(DIALTESTVOICE/${SMID}/DIALSTATUS=${DIALSTATUS}) exten => _TEST.,105,goto(5) exten => _TEST.,205,goto(5) [test] exten => s,1,SetCDRUserField(ID=${SMID1}${SMID2}${SMID3}\;) exten => s,2,AppendCDRUserField(ADC=${SMADC}\;) exten => s,3,AppendCDRUserField(OADC=${SMOADC}\;) exten => s,4,AppendCDRUserField(INFO=${SMINFO}\;) exten => s,5,Playback(/opt/gucky/test/intro) exten => s,6,Playback(/opt/gucky/test/pending/${SMID1}${SMI...
2006 Nov 08
0
Warning: "Channel does not have a CDR" when doing ForkCDR
...ut] exten => s,1,DigitTimeout,1 exten => s,n,ResponseTimeout,10 exten => s,n,Answer exten => s,n,AMD exten => s,n,Noop(AMDSTATUS is '${AMDSTATUS"') exten => s,n,GotoIf($[${AMDSTATUS} = AMD_MACHINE]?lmtc,s,1:human) exten => s,n(human),Set(NUMTRIES=1) exten => s,n,SetCDRUserField(${dnum}) exten => s,n,AppendCDRUserField(:${cdn}) exten => s,n,AppendCDRUserField(:${dialednum}) exten => s,n(repeat),Background(Initial-greeting) exten => s,n,Wait(.1) exten => s,n,Flite(${fname}) exten => s,n,Flite(${lname}) exten => s,n,Background(If-this-person-press-1-else...
2006 Jun 07
19
Quad T1 Card
Ok... I am reluctant to ask this question as I believe that it may be like asking what someones favorite linux distribution is... but I need to make an informed decision. We are getting ready to upgrade from a TE210P to a quad T1 card with echo cancellation. I am trying to decide between the Sangoma card and the Digium card. I need this to have great quality and I need it to work well. I would
2004 Jan 12
0
Wiki - stable -dev
...r that this is a patch. We will probably find a syntax for this soon, but right now I leave it up to you to suggest how we shall handle this in a clear way for the reader. Also, I've tried to add pages to the wiki to stay up to date with the CVS. There's a few new applications - random(), setCDRUserField() etc and lots of small changes. If you have time, please check in to the Wiki and help us staying in sync with the CVS in these times with so many changes :-) /O
2004 Oct 01
1
How to contribute code?
Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: cdr_tds.c Type: application/octet-stream Size: 11765 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20041001/7193730a/cdr_tds.obj
2004 Oct 08
0
re:uniqueid - how unique it is (Sathya Weerasooriya)
...an></div> <div><font>&nbsp;</font></div> </blockquote> <br> The uniqueid&nbsp; is the based on unixtime and a sequence number since * was started&nbsp; so yes you can thrust uniqueid as long as you have one * server.<br> I do use 'SetCDRUserField' to add 'uname' into the billing stream. Uname.uniqueid&nbsp; is a safe key for the CDR's.<br> Freddi<br> </body> </html>
2005 Mar 09
1
Paging and Intercom using Sipura SPA-841
I want to implement a one way announcement and paging facility using Asterisk and Sipura phones. The wiki says Sipura phones only support Auto Answer using the Call-Info header which is no lone shipped with asterisk stable since 1.0.4. I would like to ask if anyone has implemented a similiar facility using Sipura SPA-841 or any other SIP phones. If I could take a look at how