Hi, I'm looking at developing a dynamic dialplan for FS. I'm curious as if the group has a suggestion as to which method would be better, and why... 1) Use mod_xml_curl to fetch the dialplan from a script 2) use mod_rpc to fetch the dialplan from a script. At first glance, it looks like both options will do essentially the same thing. My goal is to have a bunch of routing tables in mysql and then use a short php script to lookup the cheapest route and return the correct dialplan for a given call. Can anybody offer any suggestions? Thanks, -N
xml_curl would work also lua perl and python embedded modules have a way to bind to xml lookups. mod_rpc i have never heard of =D On Mon, Oct 6, 2008 at 4:37 PM, Noah Silverman <noah@allresearch.com> wrote:
Hi,
I'm looking at developing a dynamic dialplan for FS.
I'm curious as if the group has a suggestion as to which method would be better, and why...
1) Use mod_xml_curl to fetch the dialplan from a script
2) use mod_rpc to fetch the dialplan from a script.
At first glance, it looks like both options will do essentially the same thing. My goal is to have a bunch of routing tables in mysql and then use a short php script to lookup the cheapest route and return the correct dialplan for a given call.
Can anybody offer any suggestions?
Thanks,
-N
_______________________________________________ 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/ 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
I meant "mod_xml_rpc". Is there any advantage to using mod_xml_rpc over mod_curl?? Thanks, -N On Oct 6, 2008, at 2:43 PM, Anthony Minessale wrote:
xml_curl would work also lua perl and python embedded modules have a way to bind to xml lookups.
mod_rpc i have never heard of =D
On Mon, Oct 6, 2008 at 4:37 PM, Noah Silverman <noah@allresearch.com> wrote: Hi,
I'm looking at developing a dynamic dialplan for FS.
I'm curious as if the group has a suggestion as to which method would be better, and why...
1) Use mod_xml_curl to fetch the dialplan from a script
2) use mod_rpc to fetch the dialplan from a script.
At first glance, it looks like both options will do essentially the same thing. My goal is to have a bunch of routing tables in mysql and then use a short php script to lookup the cheapest route and return the correct dialplan for a given call.
Can anybody offer any suggestions?
Thanks,
-N
_______________________________________________ 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/
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 _______________________________________________ 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
they have nothing to do with each other. there is more info about it on the wiki. On Mon, Oct 6, 2008 at 5:03 PM, Noah Silverman <noah@allresearch.com> wrote:
I meant "mod_xml_rpc".
Is there any advantage to using mod_xml_rpc over mod_curl??
Thanks,
-N
On Oct 6, 2008, at 2:43 PM, Anthony Minessale wrote:
xml_curl would work also lua perl and python embedded modules have a way to bind to xml lookups.
mod_rpc i have never heard of =D
On Mon, Oct 6, 2008 at 4:37 PM, Noah Silverman <noah@allresearch.com>wrote:
Hi,
I'm looking at developing a dynamic dialplan for FS.
I'm curious as if the group has a suggestion as to which method would be better, and why...
1) Use mod_xml_curl to fetch the dialplan from a script
2) use mod_rpc to fetch the dialplan from a script.
At first glance, it looks like both options will do essentially the same thing. My goal is to have a bunch of routing tables in mysql and then use a short php script to lookup the cheapest route and return the correct dialplan for a given call.
Can anybody offer any suggestions?
Thanks,
-N
_______________________________________________ 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/
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
_______________________________________________ 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/ 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
Based upon your original post I'd say you probably want mod_xml_curl, which essentially just fetches data from a server. I believe you will find some examples in the source directory under scripts/contrib/intralanman/PHP/fs_curl -MC ________________________________ From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Anthony Minessale Sent: Monday, October 06, 2008 3:05 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] xml_rpc instead of xml_curl they have nothing to do with each other. there is more info about it on the wiki. On Mon, Oct 6, 2008 at 5:03 PM, Noah Silverman <noah@allresearch.com> wrote: I meant "mod_xml_rpc". Is there any advantage to using mod_xml_rpc over mod_curl?? Thanks, -N On Oct 6, 2008, at 2:43 PM, Anthony Minessale wrote: xml_curl would work also lua perl and python embedded modules have a way to bind to xml lookups. mod_rpc i have never heard of =D On Mon, Oct 6, 2008 at 4:37 PM, Noah Silverman <noah@allresearch.com> wrote: Hi, I'm looking at developing a dynamic dialplan for FS. I'm curious as if the group has a suggestion as to which method would be better, and why... 1) Use mod_xml_curl to fetch the dialplan from a script 2) use mod_rpc to fetch the dialplan from a script. At first glance, it looks like both options will do essentially the same thing. My goal is to have a bunch of routing tables in mysql and then use a short php script to lookup the cheapest route and return the correct dialplan for a given call. Can anybody offer any suggestions? Thanks, -N _______________________________________________ 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/ AIM: anthm MSN:anthony_minessale@hotmail.com <mailto:MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com <mailto:PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <mailto:sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org <mailto: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 _______________________________________________ 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/ AIM: anthm MSN:anthony_minessale@hotmail.com <mailto:MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com <mailto:PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <mailto:sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org <mailto:googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
participants (3)
-
Anthony Minessale
-
Michael Collins
-
Noah Silverman