[asterisk-users] asterisk cdr - remote ip address

marek cervenka cervajs at fpf.slu.cz
Mon Nov 16 10:39:30 CST 2009


> - exten => s,x,Set(CDR(userfield) = "information") - replace "information"
> with the information like ${remoteip}

${remoteip} variable doesnt exist in asterisk (for remote voip phone)
SIPURI=sip:6666 at 192.168.1.184:5061 doesnt have public ip

i'm only found way
- check ${CHANNEL} for name
- check astDB SIP/Registry
- set some variable

really doesnt exist some "cleaner" way?

> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of marek cervenka
> Sent: Monday, November 16, 2009 8:50 AM
> To: asterisk-users at lists.digium.com
> Subject: [asterisk-users] asterisk cdr - remote ip address
>
> hi,
>
> i want add info about remote party ip address to the asterisk cdr table
>
> can you recommend me "the system way"?

---------------------------------------
Marek Cervenka
=======================================




More information about the asterisk-users mailing list