Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] CDR CSV variables


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
djbinter at yahoo.com
Guest





PostPosted: Fri Oct 30, 2009 11:17 am    Post subject: [Freeswitch-users] CDR CSV variables Reply with quote

I wonder if I don't want to have b-leg in cdr csv, is there any variables that can give me the actual gateway ip address that is actually went out.

For instance, if I have this in my dialplan:
<action application="bridge" data="sofia/default/$1@192.168.1.4|sofia/default/$1@192.168.1.5"/>
the only value that I can think of from cdr csv is to get remote_ip_last_arg, but it would contains the whole line of both ip addresses.

Thank you,
Dorn B.





_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
anthony.minessale at g...
Guest





PostPosted: Sun Nov 01, 2009 2:53 pm    Post subject: [Freeswitch-users] CDR CSV variables Reply with quote

you can make up your own variable and set whatever you want in there then add it to the template.


On Fri, Oct 30, 2009 at 10:04 AM, DJB <djbinter@yahoo.com (djbinter@yahoo.com)> wrote:
Quote:
I wonder if I don't want to have b-leg in cdr csv, is there any variables that can give me the actual gateway ip address that is actually went out.

For instance, if I have this in my dialplan:
<action application="bridge" data="sofia/default/$1@192.168.1.4 (1@192.168.1.4)|sofia/default/$1@192.168.1.5 (1@192.168.1.5)"/>
the only value that I can think of from cdr csv is to get remote_ip_last_arg, but it would contains the whole line of both ip addresses.

Thank you,
Dorn B.





_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
Back to top
djbinter at yahoo.com
Guest





PostPosted: Mon Nov 02, 2009 12:09 pm    Post subject: [Freeswitch-users] CDR CSV variables Reply with quote

Anthony,


Yes, if you can advise, how would I detect whether it's going out to 192.168.1.4 or 192.168.1.5 without having to activate b-leg of the CDRs.


Thank you,
Dorn B.

From: Anthony Minessale <anthony.minessale@gmail.com>
To: freeswitch-users@lists.freeswitch.org
Sent: Sun, November 1, 2009 11:40:21 AM
Subject: Re: [Freeswitch-users] CDR CSV variables

you can make up your own variable and set whatever you want in there then add it to the template.


On Fri, Oct 30, 2009 at 10:04 AM, DJB <djbinter@yahoo.com (djbinter@yahoo.com)> wrote:
Quote:
I wonder if I don't want to have b-leg in cdr csv, is there any variables that can give me the actual gateway ip address that is actually went out.

For instance, if I have this in my dialplan:
<action application="bridge" data="sofia/default/$1@192.168.1.4 (1@192.168.1.4)|sofia/default/$1@192.168.1.5 (1@192.168.1.5)"/>
the only value that I can think of from cdr csv is to get remote_ip_last_arg, but it would contains the whole line of both ip addresses.

Thank you,
Dorn B.





_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
Back to top
anthony.minessale at g...
Guest





PostPosted: Mon Nov 02, 2009 12:28 pm    Post subject: [Freeswitch-users] CDR CSV variables Reply with quote

if you enable debug on the cdr_csv module you will get a big dump of all the data you have available and you may be able to pick something out that indicates which one it was.


On Mon, Nov 2, 2009 at 10:52 AM, DJB <djbinter@yahoo.com (djbinter@yahoo.com)> wrote:
Quote:
Anthony,


Yes, if you can advise, how would I detect whether it's going out to 192.168.1.4 or 192.168.1.5 without having to activate b-leg of the CDRs.


Thank you,
Dorn B.

From: Anthony Minessale <anthony.minessale@gmail.com (anthony.minessale@gmail.com)>
To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)

Sent: Sun, November 1, 2009 11:40:21 AM
Subject: Re: [Freeswitch-users] CDR CSV variables


you can make up your own variable and set whatever you want in there then add it to the template.


On Fri, Oct 30, 2009 at 10:04 AM, DJB <djbinter@yahoo.com (djbinter@yahoo.com)> wrote:
Quote:
I wonder if I don't want to have b-leg in cdr csv, is there any variables that can give me the actual gateway ip address that is actually went out.

For instance, if I have this in my dialplan:
<action application="bridge" data="sofia/default/$1@192.168.1.4 (1@192.168.1.4)|sofia/default/$1@192.168.1.5 (1@192.168.1.5)"/>
the only value that I can think of from cdr csv is to get remote_ip_last_arg, but it would contains the whole line of both ip addresses.

Thank you,
Dorn B.





_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400









_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org




--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services