[Freeswitch-users] change event value

2009-11-18 Thread Eli Hayun
Hi Is there is a way to intercept an event (for example : REGISTER) and change one of its parameters (for example: the extension number) and fire up the corrected event? I need it to set the speedial of the phone value to be **x but to make it register as x Thanks Eli

[Freeswitch-users] change event value

2009-11-18 Thread Eli Hayun
Hi Is there is a way to intercept an event (for example : REGISTER) and change one of its parameters (for example: the extension number) and fire up the corrected event? I need it to set the speedial of the phone value to be **x but to make it register as x Thanks Eli

[Freeswitch-users] How do I know the destination profile name?

2009-11-17 Thread Eli Hayun
Hi We have more then one profile. To make a call I have to enter : bridge sofia/profile/num...@ip The problem is when I use : ${use_profile} I am getting the caller profile, and I need the destination profile. How do I get this information? Thanks Eli

Re: [Freeswitch-users] How do I know the destination profile name?

2009-11-17 Thread Eli Hayun
Brian West wrote: Why do you need to know the destination profile like that? You get to pick that on your own so you should already know that before hand. /b On Nov 17, 2009, at 3:03 AM, Eli Hayun wrote: Hi We have more then one profile. To make a call I have to enter : bridge

Re: [Freeswitch-users] mod_sofia.c registered calls how to know

2009-10-12 Thread Eli Hayun
Is it possible to keep a list of registered phone, and when FS will start it will register them all automatically? On Mon, 2009-10-12 at 13:19 +0200, Seven Du wrote: try open YOUR_FreeSWITCH_INSTALL_DIR/db/*.db, you need sqlite3 to open them. not sure how to do that on windows, but on linux:

Re: [Freeswitch-users] A few questions about lua

2009-08-06 Thread Eli Hayun
Hi I dont know about events so much but I cannot see variable e is setting event_name = e:getHeader(Event-Name) or event_subclass = e:getHeader(Event-Subclass) or regurds Eli On Thu, 2009-08-06 at 12:58 +0300, Seven Du wrote: ALL- I have a few questions when scripting lua.

Re: [Freeswitch-users] Limit is not working when originate a call

2009-07-27 Thread Eli Hayun
Anthony Minessale wrote: limit is for inbound calls you cannot call it after you already made the call. The correct approach would be to not make the call at all. you could maybe use the limit FSAPI interface with apiExecute to check if the limit was exceeded and then not bother to place

Re: [Freeswitch-users] Limit is not working when originate a call

2009-07-26 Thread Eli Hayun
the call to begin with. otherwise it's sort of like putting a prisoner in the electric chair then giving him his trial. On Thu, Jul 23, 2009 at 12:04 AM, Eli Hayun eliha...@gmail.com mailto:eliha...@gmail.com wrote: Michael Jerris wrote: because your not running limit at all when

Re: [Freeswitch-users] How to initiate a call without dialing

2009-07-22 Thread Eli Hayun
Raymond Chandler wrote: Eli Hayun wrote: Is there is a way to initiate a call without making any dial manually? i think the api command originate is what you're looking for -Ray ___ Thanks, I figure that out, but now I have

Re: [Freeswitch-users] How to initiate a call without dialing

2009-07-22 Thread Eli Hayun
Szymon Olko wrote: Eli Hayun pisze: Raymond Chandler wrote: Eli Hayun wrote: Is there is a way to initiate a call without making any dial manually? i think the api command originate is what you're looking for -Ray

[Freeswitch-users] Limit is not working when originate a call

2009-07-22 Thread Eli Hayun
Hi I set the limit to 1 on the extension like that action application=limit_hash data=${destination_number} ${destination_number} 1 / When I am trying to make a call the that destination i transfered to limit_exceeded dialplan, just like I want The problem is, that when I am trying to make a

Re: [Freeswitch-users] Limit is not working when originate a call

2009-07-22 Thread Eli Hayun
Michael Jerris wrote: because your not running limit at all when you are doing an originate directly. You can use loopback to originate through a dialplan extension. Mike On Jul 22, 2009, at 8:45 AM, Eli Hayun wrote: Hi I set the limit to 1 on the extension like that action

[Freeswitch-users] How to detect that a party is in a conversation?

2009-07-21 Thread Eli Hayun
I want to know if the party that I am calling to is in a middle of a conversation. I did not get a busy line because he had more then one line defined. I tried to set max_calls=1 with no luck. any suggestions? Thanx Eli ___ FreeSWITCH-users mailing

[Freeswitch-users] Getting error without continuation

2009-07-21 Thread Eli Hayun
Hi I set continue_on_fail=true but I keep getting error : 2009-07-21 11:00:53.284148 [INFO] mod_dialplan_xml.c:252 Processing phone-1-limit_exceeded in context default 2 instead of continue to the line after the bridge What am I doing wrong? Eli ___

[Freeswitch-users] How to initiate a call without dialing

2009-07-21 Thread Eli Hayun
Is there is a way to initiate a call without making any dial manually? Suppose that I want to initiate a call let say every day at 17:00, is there is a way to do it? Eli ___ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org

[Freeswitch-users] Get voicemail messages

2009-07-14 Thread Eli Hayun
did NOT recieved any xml request at that point. What should I do to solve the problem. Thanks Eli Hayun ___ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http

Re: [Freeswitch-users] Getting xml_request in LUA

2009-07-14 Thread Eli Hayun
In the Perl example I found: How to access request parameters and how to return data You have two hashes that are populated for you by freeswitch. Those hashes are: * %XML_REQUEST * %XML_DATA I want to use LUA to set the directory and dialplan xml. How do I get the

Re: [Freeswitch-users] Freeswitch-users Digest, Vol 37, Issue 75

2009-07-14 Thread Eli Hayun
...@freeswitch.org Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes On Jul 14, 2009, at 5:02 AM, Eli Hayun eliha...@gmail.com wrote: Hi I am not using fixed xml files for the extension registration. I have LUA script to return an XML string to FS. Everything goes fine

Re: [Freeswitch-users] Get voicemail messages

2009-07-14 Thread Eli Hayun
did you bind your lua script to directory lookups in addition to the dialplan? On Tue, Jul 14, 2009 at 7:02 AM, Eli Hayun eliha...@gmail.com wrote: Hi I am not using fixed xml files for the extension registration. I have LUA script to return an XML string to FS. Everything goes fine until

[Freeswitch-users] Getting xml_request in LUA

2009-07-12 Thread Eli Hayun
/XML_DATA from LUA? Thanks Eli Hayun ___ 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

[Freeswitch-users] How to get the hook state?

2009-07-06 Thread Eli Hayun
Hi I am a newbie in FreeSwitch and my question is: When I am calling to an extension, how should I know in advance what is the hook status. I tried to find out a variable that can get me this information but with no success. any help? ___