----- 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