Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[Freeswitch-users] Suggestion for xml_curl performance


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





PostPosted: Fri Feb 20, 2009 6:08 am    Post subject: [Freeswitch-users] Suggestion for xml_curl performance Reply with quote

My setup of the system is like:
When calls come from Originator gateway I route the call to Terminator
Gateway based on database lookup.
FS works as switching platform.

In previous setup using JavaScript, JavaScript caused the performance
bottleneck when call traffic increases.
Now I am testing xml_curl so asking for any suggestion, if some one has
experienced...



shehzad p wrote:
Quote:

Hi all,

Recently I faced some performance bottleneck by using Javascript.

Now I am testing xml_curl for next setup,
In terms of performance and stability will any body give me some
information, what are the pros & cons of using xml_curl, what is
precaution for using it, or any other recommendations...

Thanks,
msp


--
View this message in context: http://www.nabble.com/Suggestion-for-xml_curl-performance-tp22118122p22118614.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.


_______________________________________________
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
brian at freeswitch.org
Guest





PostPosted: Fri Feb 20, 2009 9:31 am    Post subject: [Freeswitch-users] Suggestion for xml_curl performance Reply with quote

it all depends on what you're doing.. can you elaborate?

/b

On Feb 20, 2009, at 4:18 AM, shehzad p wrote:

Quote:
Recently I faced some performance bottleneck by using Javascript.


_______________________________________________
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
pmhshz at gmail.com
Guest





PostPosted: Sat Feb 21, 2009 1:32 am    Post subject: [Freeswitch-users] Suggestion for xml_curl performance Reply with quote

Hi Brian,

My setup is to use FS as basic calls routing.
1. Calls are coming to FS from more than one customer Gateways, and I need
to authenticate them and check for enough balance based on database,
[Caller Gateways] ===> [FreeSWITCH] ===>
[Provider Gateways]
2. After knowing that Caller Gateways is valid, then based on dialed number
it search in database for Provider Gateway and bridge the call there.
3. After call finish CDR is inserted back into database.

My old setup was using Javascript which works fine in traffic of 10 to 20
calls, but then increase of traffic causes many problems.

Now I eliminate use of any of the script (javascript or any other) for call
routing, and route calls directly from dialplan,
So I have setup test system using xml-curl to generate dynamic dialplan,
I used below xml_curl PHP example as reference:
http://wiki.freeswitch.org/wiki/Mod_xml_curl_PHP_example
For CDR processing I used xml_cdr, with help of the example in FS source
:scripts/contrib/trixter/xml-cdr.


Waiting for any better suggestions, any comments...

thanks
msp.

Brian West-3 wrote:
Quote:

it all depends on what you're doing.. can you elaborate?

/b

On Feb 20, 2009, at 4:18 AM, shehzad p wrote:

Quote:
Recently I faced some performance bottleneck by using Javascript.


_______________________________________________
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



--
View this message in context: http://www.nabble.com/Suggestion-for-xml_curl-performance-tp22118122p22133185.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.


_______________________________________________
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
shannon at sacredheart...
Guest





PostPosted: Sat Feb 21, 2009 10:21 am    Post subject: [Freeswitch-users] Suggestion for xml_curl performance Reply with quote

I'd recommend having a look at fastcgi as well.

On 2/21/09, shehzad p <pmhshz@gmail.com> wrote:
Quote:

Hi Brian,

My setup is to use FS as basic calls routing.
1. Calls are coming to FS from more than one customer Gateways, and I need
to authenticate them and check for enough balance based on database,
[Caller Gateways] ===> [FreeSWITCH] ===>
[Provider Gateways]
2. After knowing that Caller Gateways is valid, then based on dialed number
it search in database for Provider Gateway and bridge the call there.
3. After call finish CDR is inserted back into database.

My old setup was using Javascript which works fine in traffic of 10 to 20
calls, but then increase of traffic causes many problems.

Now I eliminate use of any of the script (javascript or any other) for call
routing, and route calls directly from dialplan,
So I have setup test system using xml-curl to generate dynamic dialplan,
I used below xml_curl PHP example as reference:
http://wiki.freeswitch.org/wiki/Mod_xml_curl_PHP_example
For CDR processing I used xml_cdr, with help of the example in FS source
:scripts/contrib/trixter/xml-cdr.


Waiting for any better suggestions, any comments...

thanks
msp.

Brian West-3 wrote:
Quote:

it all depends on what you're doing.. can you elaborate?

/b

On Feb 20, 2009, at 4:18 AM, shehzad p wrote:

Quote:
Recently I faced some performance bottleneck by using Javascript.


_______________________________________________
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



--
View this message in context:
http://www.nabble.com/Suggestion-for-xml_curl-performance-tp22118122p22133185.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.


_______________________________________________
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



--
Shannon

_______________________________________________
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
freeswitch at serverco...
Guest





PostPosted: Sat Feb 21, 2009 11:03 am    Post subject: [Freeswitch-users] Suggestion for xml_curl performance Reply with quote

Is this a good application for the new ESL (Event Socket Library)interface?

-anm



On Sat, Feb 21, 2009 at 9:11 AM, Shannon <shannon@sacredhearts.us> wrote:
Quote:
I'd recommend having a look at fastcgi as well.

On 2/21/09, shehzad p <pmhshz@gmail.com> wrote:
Quote:

Hi Brian,

My setup is to use FS as basic calls routing.
1. Calls are coming to FS from more than one customer Gateways, and I need
to authenticate them and check for enough balance based on database,
[Caller Gateways] ===> [FreeSWITCH] ===>
[Provider Gateways]
2. After knowing that Caller Gateways is valid, then based on dialed number
it search in database for Provider Gateway and bridge the call there.
3. After call finish CDR is inserted back into database.

My old setup was using Javascript which works fine in traffic of 10 to 20
calls, but then increase of traffic causes many problems.

Now I eliminate use of any of the script (javascript or any other) for call
routing, and route calls directly from dialplan,
So I have setup test system using xml-curl to generate dynamic dialplan,
I used below xml_curl PHP example as reference:
http://wiki.freeswitch.org/wiki/Mod_xml_curl_PHP_example
For CDR processing I used xml_cdr, with help of the example in FS source
:scripts/contrib/trixter/xml-cdr.


Waiting for any better suggestions, any comments...

thanks
msp.

Brian West-3 wrote:
Quote:

it all depends on what you're doing.. can you elaborate?

/b

On Feb 20, 2009, at 4:18 AM, shehzad p wrote:

Quote:
Recently I faced some performance bottleneck by using Javascript.


_______________________________________________
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



--
View this message in context:
http://www.nabble.com/Suggestion-for-xml_curl-performance-tp22118122p22133185.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.


_______________________________________________
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



--
Shannon

_______________________________________________
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
Back to top
pmhshz at gmail.com
Guest





PostPosted: Fri Feb 27, 2009 1:11 am    Post subject: [Freeswitch-users] Suggestion for xml_curl performance Reply with quote

Thanks for your response,
I am studying FastCGI as Shannon recommend.

Is there any other possibility of making this setup better,
OR making it better requires change in architecture, If yes please anybody
comment and point me out to that direction.

Thanks
msp


Shannon-27 wrote:
Quote:

I'd recommend having a look at fastcgi as well.

On 2/21/09, shehzad p <pmhshz@gmail.com> wrote:
Quote:

Hi Brian,

My setup is to use FS as basic calls routing.
1. Calls are coming to FS from more than one customer Gateways, and I
need
to authenticate them and check for enough balance based on database,
[Caller Gateways] ===> [FreeSWITCH] ===>
[Provider Gateways]
2. After knowing that Caller Gateways is valid, then based on dialed
number
it search in database for Provider Gateway and bridge the call there.
3. After call finish CDR is inserted back into database.

My old setup was using Javascript which works fine in traffic of 10 to 20
calls, but then increase of traffic causes many problems.

Now I eliminate use of any of the script (javascript or any other) for
call
routing, and route calls directly from dialplan,
So I have setup test system using xml-curl to generate dynamic dialplan,
I used below xml_curl PHP example as reference:
http://wiki.freeswitch.org/wiki/Mod_xml_curl_PHP_example
For CDR processing I used xml_cdr, with help of the example in FS source
:scripts/contrib/trixter/xml-cdr.


Waiting for any better suggestions, any comments...

thanks
msp.

Brian West-3 wrote:
Quote:

it all depends on what you're doing.. can you elaborate?

/b

On Feb 20, 2009, at 4:18 AM, shehzad p wrote:

Quote:
Recently I faced some performance bottleneck by using Javascript.


_______________________________________________
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



--
View this message in context:
http://www.nabble.com/Suggestion-for-xml_curl-performance-tp22118122p22133185.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.


_______________________________________________
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



--
Shannon

_______________________________________________
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



--
View this message in context: http://www.nabble.com/Suggestion-for-xml_curl-performance-tp22118122p22240044.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.


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