Re: [asterisk-users] IP Address on CDR
Hi Sir, Tried it but it seems like it's saving the private IP. CDR(UserField)= what am i doing wrong? TIA Nhadie Stefan Schmidt wrote: > Nhadie schrieb: >> Hi Sir, >> >> basically I need the public IP, of the user who registered to my >> asterisk and made call. users IP address might changed anytime, but need >> to record the IP during each call so i can be able to trace it. >> >> Regards >> Nhadie > > Hello, > > > we use the following: > > exten => _X.,n,Set(CDR(UserField)=${SIP_HEADER(CONTACT)}) > > in the contact field you will see a sip adress like > which is exactly what you need. > > best regards. > > Steve Smith > > ___ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: >http://lists.digium.com/mailman/listinfo/asterisk-users > ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] IP Address on CDR
Nhadie schrieb: > Hi Sir, > > basically I need the public IP, of the user who registered to my > asterisk and made call. users IP address might changed anytime, but need > to record the IP during each call so i can be able to trace it. > > Regards > Nhadie Hello, we use the following: exten => _X.,n,Set(CDR(UserField)=${SIP_HEADER(CONTACT)}) in the contact field you will see a sip adress like which is exactly what you need. best regards. Steve Smith ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] IP Address on CDR
Hi Sir, basically I need the public IP, of the user who registered to my asterisk and made call. users IP address might changed anytime, but need to record the IP during each call so i can be able to trace it. Regards Nhadie Alex Balashov wrote: > Define "IP address of the caller?" > > From header, Contact, literal IP source of request...? > > Nhadie wrote: > >> Hi, >> >> How can i log the IP address of the caller on asterisk mysql cdr? >> >> Regards, >> Nhadie >> >> ___ >> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >> >> asterisk-users mailing list >> To UNSUBSCRIBE or update options visit: >>http://lists.digium.com/mailman/listinfo/asterisk-users > > ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] IP Address on CDR
Define "IP address of the caller?" From header, Contact, literal IP source of request...? Nhadie wrote: > Hi, > > How can i log the IP address of the caller on asterisk mysql cdr? > > Regards, > Nhadie > > ___ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: >http://lists.digium.com/mailman/listinfo/asterisk-users -- Alex Balashov Evariste Systems Web: http://www.evaristesys.com/ Tel: (+1) (678) 954-0670 Direct : (+1) (678) 954-0671 Mobile : (+1) (706) 338-8599 ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] IP Address on CDR
Maybe you can use ${SIP_HEADER(FROM)}. Regards, Juan On Sat, Oct 18, 2008 at 10:31 PM, Nhadie <[EMAIL PROTECTED]> wrote: > Hi, > > How can i log the IP address of the caller on asterisk mysql cdr? > > Regards, > Nhadie > > ___ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > -- Juan E. RodrÃguez Cel. 829-886-5565 Work: 809-724-9227 ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] IP Address on CDR
Hi, How can i log the IP address of the caller on asterisk mysql cdr? Regards, Nhadie ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users