Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[Freeswitch-users] xml_rpc instead of xml_curl


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





PostPosted: Mon Oct 06, 2008 4:40 pm    Post subject: [Freeswitch-users] xml_rpc instead of xml_curl Reply with quote

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
Back to top
anthony.minessale at g...
Guest





PostPosted: Mon Oct 06, 2008 4:46 pm    Post subject: [Freeswitch-users] xml_rpc instead of xml_curl Reply with quote

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 (noah@allresearch.com)> wrote:
Quote:
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 (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 ([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
noah at allresearch.com
Guest





PostPosted: Mon Oct 06, 2008 5:05 pm    Post subject: [Freeswitch-users] xml_rpc instead of xml_curl Reply with quote

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:
Quote:
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 (noah@allresearch.com)> wrote:
Quote:
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 (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 ([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
Back to top
anthony.minessale at g...
Guest





PostPosted: Mon Oct 06, 2008 5:06 pm    Post subject: [Freeswitch-users] xml_rpc instead of xml_curl Reply with quote

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 (noah@allresearch.com)> wrote:
Quote:
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:

Quote:
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 (noah@allresearch.com)> wrote:
Quote:
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 (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 ([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






_______________________________________________
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/

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
mcollins at fcnetwork.com
Guest





PostPosted: Mon Oct 06, 2008 5:43 pm    Post subject: [Freeswitch-users] xml_rpc instead of xml_curl Reply with quote

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 (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 (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 (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 ([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






_______________________________________________
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/

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