Re: [Freeswitch-users] Need Conference design help

2009-12-07 Thread lakshmanan ganapathy
Have a look at mod_conference http://wiki.freeswitch.org/wiki/Mod_conference On Sat, Dec 5, 2009 at 12:47 PM, shehzad p pmh...@gmail.com wrote: Hello Every one, I have to design conference, and I need community guidance to efficiently accomplish that. I need to create Conference which

Re: [Freeswitch-users] Callback to the user in ESL

2009-11-30 Thread lakshmanan ganapathy
, Nov 26, 2009 at 3:27 AM, lakshmanan ganapathy lakindi...@gmail.com wrote: Hi, Any help or suggestion regarding my previous post. Especially I also noted that, if I don't receive any events, especially SERVER_DISCONNECTED, then the connection is in established state, but once I receive

Re: [Freeswitch-users] Callback to the user in ESL

2009-11-26 Thread lakshmanan ganapathy
is 192.168.1.222 Connected call 65b7f64a-d8c0-11de-8d50-596fac84e59e, from 1000 to 9097 Connection exists Connection exists Connection exists Connection exists Connection exists On Tue, Nov 24, 2009 at 5:57 PM, lakshmanan ganapathy lakindi...@gmail.comwrote: I've tried

Re: [Freeswitch-users] Callback to the user in ESL

2009-11-24 Thread lakshmanan ganapathy
1000, reject the call. I can't control that. If the user 1000, reject the call, I need to call the user after some time. Any way to do this!! On Mon, Nov 23, 2009 at 11:21 PM, Michael Collins m...@freeswitch.orgwrote: On Mon, Nov 23, 2009 at 3:25 AM, lakshmanan ganapathy lakindi...@gmail.com

Re: [Freeswitch-users] Callback to the user in ESL

2009-11-24 Thread lakshmanan ganapathy
of your script so you can send your originate command. Since the channel hanging up will close your existing connection since it's only an outbound single session socket. On Mon, Nov 23, 2009 at 11:51 AM, Michael Collins m...@freeswitch.orgwrote: On Mon, Nov 23, 2009 at 3:25 AM, lakshmanan

[Freeswitch-users] Callback to the user in ESL

2009-11-23 Thread lakshmanan ganapathy
Hi, I'm using perl ESL to control the call in freeswitch. I'm having the following scenario, but not able to get it right. Dialplan: extension name=outbound_soc condition field=destination_number expression=^9097$ action application=set data=continue_on_fail=true/

Re: [Freeswitch-users] Flushing the Event buffer in Perl Event Socket

2009-11-10 Thread lakshmanan
Hi anthony, I was in a need of flushing the events buffer without reading it.I've done the following ESL(Async) program to flush the events. First I register for events. I answered the call and playback some message. Now the events would have been queued. I, then send noevents. After sending

Re: [Freeswitch-users] Freeswitch core dumped, when setting callback to events

2009-11-10 Thread lakshmanan ganapathy
and start over. On Mon, Nov 9, 2009 at 5:53 AM, lakshmanan ganapathy lakindi...@gmail.com wrote: Dear all, I did the below code, to callback a function when CHANNEL_EXECUTE_COMPLETE event comes. I executed the script for the 1st time and I got nothing. When I executed the script

Re: [Freeswitch-users] Freeswitch core dumped, when setting callback to events

2009-11-10 Thread lakshmanan ganapathy
What is meant by debug packages. Kindly specify where it is available. On Wed, Nov 11, 2009 at 10:09 AM, Brian West br...@freeswitch.org wrote: You need to install the debug packages so you the symbols because that backtrace is useless. /b On Nov 10, 2009, at 10:10 PM, lakshmanan ganapathy

Re: [Freeswitch-users] Flushing the Event buffer in Perl Event Socket

2009-11-10 Thread lakshmanan ganapathy
for. /b On Nov 10, 2009, at 4:51 AM, lakshmanan wrote: I was in a need of flushing the events buffer without reading it.I've done the following ESL(Async) program to flush the events. ___ FreeSWITCH-users mailing list FreeSWITCH-users

[Freeswitch-users] Freeswitch core dumped, when setting callback to events

2009-11-09 Thread lakshmanan ganapathy
Dear all, I did the below code, to callback a function when CHANNEL_EXECUTE_COMPLETE event comes. I executed the script for the 1st time and I got nothing. When I executed the script for the 2nd time, it ended with Sedmentation fault with core dumped. I was unable to attach the core dump file

[Freeswitch-users] Events in mod_perl

2009-11-05 Thread lakshmanan ganapathy
Hi all, Is there any way to receive events while running a perl program with the help of mod_perl?? I've seen some functions related to sending and receiving events in the mod_perl wiki. But I don't know how to use that. Any help!!! ___

Re: [Freeswitch-users] Playing Background music as well as a file

2009-10-27 Thread lakshmanan ganapathy
I tried the uuid_displace by using the Event Socket Outbound. Not tried within dialplan, and I'm not sure whether that could be done in dialplan itself. On Tue, Oct 27, 2009 at 12:37 PM, Dome Charoenyost d...@tel.co.th wrote: 2009/10/27 lakshmanan ganapathy lakindi...@gmail.com: Hi all

[Freeswitch-users] Playing Background music as well as a file

2009-10-26 Thread lakshmanan ganapathy
Hi all, I've done experimenting with the uuid_displace and mux. What mux does is playing a file when the conversation is also happening. But I've a different requirement. I need to play a background music to a UUID, that will get played continuously and also I need to play some other voice

[Freeswitch-users] Digium TE220 wiki

2009-10-20 Thread lakshmanan ganapathy
Hi all, I've created a wiki page, which contains the example configuration for making Digium TE220 to work. I request you people to check this, and give feedbacks. http://wiki.freeswitch.org/wiki/Configuration_OpenZap-DigiumTE220-Example ___

Re: [Freeswitch-users] openzap Failure opening channel error

2009-10-13 Thread lakshmanan ganapathy
some clue. On Tue, Oct 13, 2009 at 9:16 PM, Michael S Collins m...@freeswitch.orgwrote: On Oct 13, 2009, at 6:45 AM, lakshmanan ganapathy lakindi...@gmail.com wrote: We are using Reliance as the Carrier. I think, with this same Reliance carrier, in my office, they are able to make

Re: [Freeswitch-users] openzap Failure opening channel error

2009-10-13 Thread lakshmanan ganapathy
, peerstate Null On Tue, Oct 13, 2009 at 9:16 PM, Michael S Collins m...@freeswitch.orgwrote: On Oct 13, 2009, at 6:45 AM, lakshmanan ganapathy lakindi...@gmail.com wrote: We are using Reliance as the Carrier. I think, with this same Reliance carrier, in my office, they are able to make

Re: [Freeswitch-users] openzap Failure opening channel error

2009-10-12 Thread lakshmanan ganapathy
On Sat, Oct 10, 2009 at 6:47 AM, lakshmanan ganapathy lakindi...@gmail.com wrote: Hi, I've tried with the following dialplan(After making the changes that are recommended). But still I got INVALID_IE_CONTENTS error. Another thing is, if I use prispan configuration, I'm able to make

Re: [Freeswitch-users] openzap Failure opening channel error

2009-10-10 Thread lakshmanan ganapathy
, which says INVALID_IE_CONTENTS. I've been struck with this problem for the past 1 week. Any solution to this??? On Fri, Oct 9, 2009 at 6:06 PM, russell.mosem...@cune.org wrote: lakshmanan ganapathy lakindi...@gmail.com said: But still I'm facing problem with the outgoing call. It says

Re: [Freeswitch-users] openzap Failure opening channel error

2009-10-09 Thread lakshmanan ganapathy
at 5:41 AM, lakshmanan ganapathy lakindi...@gmail.com wrote: Hi I tried with the following openzap.conf [span zt PRI_1] trunk_type = e1 b-channel = 1:1-15,17-31 d-channel = 1:16 This does not look like a healthy config to me. You are using span:channels notation in zaptel spans, zaptel

Re: [Freeswitch-users] openzap Failure opening channel error

2009-10-08 Thread lakshmanan ganapathy
: On Wed, Oct 7, 2009 at 3:34 AM, lakshmanan ganapathy lakindi...@gmail.com wrote: Hi, Again I was struck in a problem, Here is the scenario. On incomming call, I just call an event outboud socket. But what happens is, for the first 15 call, it is working fine. But from the 16th call to 30th

Re: [Freeswitch-users] oz debug says error

2009-10-07 Thread lakshmanan
, is this Sangoma or zaptel-based hardware? If it's Sangoma, pastebin your wanpipe1.conf file. If zaptel, please paste your zaptel.conf file. -MC On Mon, Oct 5, 2009 at 9:06 PM, lakshmanan ganapathy lakindi...@gmail.comwrote: Openzap.conf.xml configuration name=openzap.conf description=OpenZAP

[Freeswitch-users] openzap Failure opening channel error

2009-10-07 Thread lakshmanan ganapathy
Hi, Again I was struck in a problem, Here is the scenario. On incomming call, I just call an event outboud socket. But what happens is, for the first 15 call, it is working fine. But from the 16th call to 30th call, it says the below error. 2009-10-07 15:07:48.201846 [WARNING] ozmod_libpri.c:761

Re: [Freeswitch-users] openzap Failure opening channel error

2009-10-07 Thread lakshmanan ganapathy
31 TE2/0/1/31 Clear On Wed, Oct 7, 2009 at 5:29 PM, russell.mosem...@cune.org wrote: lakshmanan ganapathy lakindi...@gmail.com said: On incomming call, I just call an event outboud socket. But what happens is, for the first 15 call, it is working fine. But from the 16th call to 30th

[Freeswitch-users] Outgoing via openzap is not working

2009-10-06 Thread lakshmanan ganapathy
Hi I'm using freeswitch1.0.4. This post is moreover similar to my previous post. When I make an outgoing call, it is saying INVALID_IE_CONTENTS. Here are the details. openzap.conf.xml configuration name=openzap.conf description=OpenZAP Configuration settings param name=debug value=7/ /settings

[Freeswitch-users] oz dump Saying error

2009-10-05 Thread lakshmanan ganapathy
HI all, ___ 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] oz debug says error

2009-10-05 Thread lakshmanan ganapathy
Hi all, I've compiled the freeswitch with libpri support. But when I execute oz libpri debug 1 all, I got the following error. API CALL [oz(libpri debug 1 all )] output: src/ozmod/ozmod_libpri/ozmod_libpri.c: -ERR invalid span. Here is my openzap configurations. openzap.conf [span zt PRI_1]

Re: [Freeswitch-users] oz dump Saying error

2009-10-05 Thread lakshmanan ganapathy
Sorry my mail client has some problem. I've send another mail with my question. Kindly ignore this one. On Mon, Oct 5, 2009 at 12:43 PM, Diego Viola diego.vi...@gmail.com wrote: Hello? On Mon, Oct 5, 2009 at 7:07 AM, lakshmanan ganapathy lakindi...@gmail.com wrote: HI all

Re: [Freeswitch-users] oz debug says error

2009-10-05 Thread lakshmanan
/9952248266 9952248266)] output: -ERR INVALID_IE_CONTENTS I also gone and looked up the hangup_cause page for the reason. But I was unable to understand that. Can u please tell why it is reporting this error? Russell.Mosemann wrote: On Behalf Of lakshmanan ganapathy ... I've compiled

Re: [Freeswitch-users] oz debug says error

2009-10-05 Thread lakshmanan
/libpri_spans /configuration Output of oz list in fs_cli span: 1 (PRI_1) type: isdn chan_count: 47 dialplan: XML context: default dial_regex: fail_dial_regex: hold_music: analog_options none freeswitch.log http://pastebin.freeswitch.org/10604 Russell.Mosemann wrote: lakshmanan lakindi

Re: [Freeswitch-users] oz debug says error

2009-10-05 Thread lakshmanan ganapathy
dial_regex: fail_dial_regex: hold_music: analog_options none freeswitch.log http://pastebin.freeswitch.org/10604 On Mon, Oct 5, 2009 at 6:18 PM, russell.mosem...@cune.org wrote: lakshmanan lakindi...@gmail.com said: Thanks for pointing that. I also tried that. But in that case, I'm

[Freeswitch-users] Mod_perl $session in not hangup

2009-09-22 Thread lakshmanan
Hi all, I've the following mod_perl program to execute when I call to an extension (say 777). I use twinkle as a soft phone, to make calls. #!/usr/bin/perl use strict; use freeswitch; our $session; $session-answer(); if($session-ready()) { my $uuid=$session-getVariable(uuid);

Re: [Freeswitch-users] Mod_perl $session in not hangup

2009-09-22 Thread lakshmanan ganapathy
update to latest trunk it will probably work more how you want it to because a recent change will make this possible. On Tue, Sep 22, 2009 at 4:30 AM, lakshmanan lakindi...@gmail.com wrote: Hi all, I've the following mod_perl program to execute when I call to an extension (say 777). I use

[Freeswitch-users] How to find which leg got terminated

2009-09-02 Thread lakshmanan
I want to find which leg has cut the call? Is it possible to find that in freeswitch? For example: A and B are speaking. If B cuts the call, then I need to play appropriate message to A, and if A cuts the call, I need to play some messages to B. What is the way to do this? -- View this message

Re: [Freeswitch-users] How to make a call back

2009-08-28 Thread lakshmanan
-bridge($sess,$new_sess); } } In the above program I got usage error on $session-bridge. mercutioviz wrote: Sent from my iPhone On Aug 27, 2009, at 10:01 PM, lakshmanan ganapathy lakindi...@gmail.com wrote: No. In the dial plan I said, application=perl data=The perl script

Re: [Freeswitch-users] How to make a call back

2009-08-28 Thread lakshmanan
.wav); my $dtmf = $sess-getDigits(4,, 5000); freeswitch::consoleLog(INFO,I received $dtmf\n); $sess-execute(bridge,user/$dtmf); } lakshmanan wrote: I also tried the following. #!/usr/bin/perl use strict; use freeswitch; our $session; my $sess=new freeswitch::Session(user/1000

Re: [Freeswitch-users] How to make a call back

2009-08-27 Thread lakshmanan ganapathy
, lakshmanan lakindi...@gmail.com wrote: When I give the following from the command line it calls to 1010 extension and once answered, it calls to 1000 and bridge the connection. originate user/1010 bridge(user/1000) But I want to do this in perl. So I have given as follows

[Freeswitch-users] How to make a call back

2009-08-26 Thread lakshmanan
When I give the following from the command line it calls to 1010 extension and once answered, it calls to 1000 and bridge the connection. originate user/1010 bridge(user/1000) But I want to do this in perl. So I have given as follows $session-originate($session,user/1010

Re: [Freeswitch-users] Error while creating object

2009-08-11 Thread lakshmanan ganapathy
in require at (eval 2) line 1. Please help me to solve this issue!!! On Tue, Aug 11, 2009 at 4:59 AM, Michael Collins m...@freeswitch.org wrote: On Mon, Aug 10, 2009 at 3:00 AM, lakshmanan lakindi...@gmail.com wrote: Can any one please say what I did wrong here? Maybe this instead? my $sess

Re: [Freeswitch-users] Error while creating object

2009-08-10 Thread lakshmanan
Can any one please say what I did wrong here? regards, Lakshmanan G. lakshmanan wrote: Hi all, Greets. I am in the process of controlling the freeswitch with perl. I have read about mod_perl and I wrote some scripts to test which works fine. Yesterday I tried to access the digit_set

[Freeswitch-users] Error while creating object

2009-08-06 Thread lakshmanan ganapathy
Hi all, Greets. I am in the process of controlling the freeswitch with perl. I have read about mod_perl and I wrote some scripts to test which works fine. Yesterday I tried to access the digit_set function. So I create an object for the freeswitch::DTMF. But it reported the following error.