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.
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> wrote:
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
-- 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 <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
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> wrote: 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
-- 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 GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org pstn:213-799-1400
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> wrote:
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> wrote:
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
-- 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 <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
_______________________________________________ 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
-- 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 <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
participants (2)
-
Anthony Minessale
-
DJB