[asterisk-users] CDR IP Authorization
I tried to edit the cdr import function but I didn't know where it placed or what function to edit , Please can you tell me where to place this function exten = s,1,Set(CDR(userfield)=${SIPCHANINFO(recvip)}) to have it stored in the mysql record . I am using [EMAIL PROTECTED] 2.6 Regards * No employee or agent is authorized to conclude any binding agreement on behalf of Xplorium with another party by e-mail without express written confirmation by an officer of Xplorium. Any views expressed by an individual in this electronic message do not necessarily reflect views of Xplorium or its subsidiaries and associates. This electronic message and its attachments are solely addressed to the addressee(s), and contain confidential information protected from disclosure belonging to Xplorium. If you are not the intended addressee of this electronic message and its attachments, kindly delete it immediately from your system and notify the sender by electronic mail. You must not copy this message or attachment or disclose its content to any other person. Xplorium does not guarantee the integrity of this electronic message and any of its attachments, or that they are free from computer viruses or other defects. * ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] CDR IP Authorization
- Original Message - From: Khaled Chehab [mailto:[EMAIL PROTECTED] To: 'Asterisk Users Mailing List - Non-Commercial Discussion' [mailto:[EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Mon, 31 Jul 2006 10:40:23 -0300 Subject: [asterisk-users] CDR IP Authorization I tried to edit the cdr import function but I didn't know where it placed or what function to edit , Please can you tell me where to place this function exten = s,1,Set(CDR(userfield)=${SIPCHANINFO(recvip)}) to have it stored in the mysql record . I am using [EMAIL PROTECTED] 2.6 Regards It would go into the dialplan in extensions.conf - I don't know exactly how yours is setup though (especially with [EMAIL PROTECTED] involved) so I can't tell you where to put it exactly. Joshua Colp Digium ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] CDR IP Authorization
On 7/31/06, Joshua Colp [EMAIL PROTECTED] wrote: I tried to edit the cdr import function but I didn't know where it placed or what function to edit , Please can you tell me where to place thisfunction exten = s,1,Set(CDR(userfield)=${SIPCHANINFO(recvip)}) to have it stored in the mysql record . I am using [EMAIL PROTECTED] 2.6 RegardsIt would go into the dialplan in extensions.conf - I don't know exactly how yours is setup though (especially with [EMAIL PROTECTED] involved) so I can't tell you where to put it exactly. Joshua ColpDigium Khaled, Go to /etc/asterisk/cdr_mysql.conf and under [global] adduserfield=1, ifit is not already there. Then, wherever you have your trunks setup, you will need to insert that line of code somewhere above the dial part of the context. Here is what I use: exten = s,1,Set(CDR(userfield)=${ARG2} ${SIPCHANINFO(recvip)})exten = s,2,absolutetimeout,${settimeout}exten = s,3,Dial(SIP/[EMAIL PROTECTED]}) If you still cannot figure this out, try emailing the [EMAIL PROTECTED] group. Few people on the Asterisk list know much about [EMAIL PROTECTED]. Good Luck, bp ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [asterisk-users] CDR IP Authorization
I tried to edit the cdr import function but I didn't know where it placed or what function to edit , Please can you tell me where to place this function exten = s,1,Set(CDR(userfield)=${SIPCHANINFO(recvip)}) to have it stored in the mysql record . I am using [EMAIL PROTECTED] 2.6 Regards * No employee or agent is authorized to conclude any binding agreement on behalf of Xplorium with another party by e-mail without express written confirmation by an officer of Xplorium. Any views expressed by an individual in this electronic message do not necessarily reflect views of Xplorium or its subsidiaries and associates. This electronic message and its attachments are solely addressed to the addressee(s), and contain confidential information protected from disclosure belonging to Xplorium. If you are not the intended addressee of this electronic message and its attachments, kindly delete it immediately from your system and notify the sender by electronic mail. You must not copy this message or attachment or disclose its content to any other person. Xplorium does not guarantee the integrity of this electronic message and any of its attachments, or that they are free from computer viruses or other defects. * ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] CDR IP Authorization
Dear This function retrieves the ip address of the caller ,I want to import the value of (recvip) in the mysql cdr ,how can I do that exten = s,1,NoOp(${SIPCHANINFO(recvip)}) Regards * No employee or agent is authorized to conclude any binding agreement on behalf of Xplorium with another party by e-mail without express written confirmation by an officer of Xplorium. Any views expressed by an individual in this electronic message do not necessarily reflect views of Xplorium or its subsidiaries and associates. This electronic message and its attachments are solely addressed to the addressee(s), and contain confidential information protected from disclosure belonging to Xplorium. If you are not the intended addressee of this electronic message and its attachments, kindly delete it immediately from your system and notify the sender by electronic mail. You must not copy this message or attachment or disclose its content to any other person. Xplorium does not guarantee the integrity of this electronic message and any of its attachments, or that they are free from computer viruses or other defects. * ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] CDR IP Authorization
- Original Message - From: Khaled Chehab [mailto:[EMAIL PROTECTED] To: 'Asterisk Users Mailing List - Non-Commercial Discussion' [mailto:[EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Fri, 28 Jul 2006 06:34:05 -0300 Subject: [asterisk-users] CDR IP Authorization Dear This function retrieves the ip address of the caller ,I want to import the value of (recvip) in the mysql cdr ,how can I do that exten = s,1,NoOp(${SIPCHANINFO(recvip)}) The only place that you could put this to have it stored in the record would be the user field. Here's an example for storing it there: exten = s,1,Set(CDR(userfield)=${SIPCHANINFO(recvip)}) Regards Joshua Colp Digium ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users