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.
*********************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20060728/106fb704/attachment.htm
----- Original Message ----- From: Khaled Chehab [mailto:kchehab@xplorium.com] To: 'Asterisk Users Mailing List - Non-Commercial Discussion' [mailto:asterisk-users@lists.digium.com] Cc: asterisk-users-bounces@lists.digium.com 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
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 asterisk@home 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.
*********************************************