Hello, I found in WIKI list of supported commands http://wiki.freeswitch.org/wiki/Mod_commands. I need command "answer" but it doesn't exist (Freeswitch 1.04, Win32) That's what Freeswitch replies for this command: "answer: Command not found!" Сould you please help? Regards, Maxim Tsvetov
Maxim Tsvetov pisze:
Hello,
I found in WIKI list of supported commands http://wiki.freeswitch.org/wiki/Mod_commands.
I need command "answer" but it doesn't exist (Freeswitch 1.04, Win32)
That's what Freeswitch replies for this command:
"answer: Command not found!"
Сould you please help?
Answer is in dialplan commands. http://wiki.freeswitch.org/wiki/Mod_dptools Szymon
Thank you. Is it possible to use this command from command line or via event_socket interface? Szymon Olko wrote:
Maxim Tsvetov pisze:
Hello,
I found in WIKI list of supported commands http://wiki.freeswitch.org/wiki/Mod_commands.
I need command "answer" but it doesn't exist (Freeswitch 1.04, Win32)
That's what Freeswitch replies for this command:
"answer: Command not found!"
Сould you please help?
Answer is in dialplan commands.
http://wiki.freeswitch.org/wiki/Mod_dptools
Szymon
_______________________________________________ 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/answer-command-tp24912812p24916765.html Sent from the Freeswitch-users mailing list archive at Nabble.com.
sendmsg call-command: execute execute-app-name: answer\n\n the example is in this wiki page: http://wiki.freeswitch.org/wiki/Event_socket_outbound <http://wiki.freeswitch.org/wiki/Event_socket_outbound> 2009/8/11 Maxim Tsvetov <maxim.tsvetov@gmail.com>
Thank you.
Is it possible to use this command from command line or via event_socket interface?
Szymon Olko wrote:
Maxim Tsvetov pisze:
Hello,
I found in WIKI list of supported commands http://wiki.freeswitch.org/wiki/Mod_commands.
I need command "answer" but it doesn't exist (Freeswitch 1.04, Win32)
That's what Freeswitch replies for this command:
"answer: Command not found!"
Сould you please help?
Answer is in dialplan commands.
http://wiki.freeswitch.org/wiki/Mod_dptools
Szymon
_______________________________________________ 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/answer-command-tp24912812p24916765.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
I've tried all this command from FS console and all of them return "Unknown command". Milena-6 wrote:
sendmsg call-command: execute execute-app-name: answer\n\n
the example is in this wiki page: http://wiki.freeswitch.org/wiki/Event_socket_outbound <http://wiki.freeswitch.org/wiki/Event_socket_outbound> 2009/8/11 Maxim Tsvetov <maxim.tsvetov@gmail.com>
Thank you.
Is it possible to use this command from command line or via event_socket interface?
Szymon Olko wrote:
Maxim Tsvetov pisze:
Hello,
I found in WIKI list of supported commands http://wiki.freeswitch.org/wiki/Mod_commands.
I need command "answer" but it doesn't exist (Freeswitch 1.04, Win32)
That's what Freeswitch replies for this command:
"answer: Command not found!"
Сould you please help?
Answer is in dialplan commands.
http://wiki.freeswitch.org/wiki/Mod_dptools
Szymon
_______________________________________________ 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
-- View this message in context: http://www.nabble.com/answer-command-tp24912812p24916765.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
_______________________________________________ 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/answer-command-tp24912812p24917680.html Sent from the Freeswitch-users mailing list archive at Nabble.com.
why not use: session:answer() 2009/8/11 Maxim Tsvetov <maxim.tsvetov@gmail.com>
Thank you.
Is it possible to use this command from command line or via event_socket interface?
Szymon Olko wrote:
Maxim Tsvetov pisze:
Hello,
I found in WIKI list of supported commands http://wiki.freeswitch.org/wiki/Mod_commands.
I need command "answer" but it doesn't exist (Freeswitch 1.04, Win32)
That's what Freeswitch replies for this command:
"answer: Command not found!"
Сould you please help?
Answer is in dialplan commands.
http://wiki.freeswitch.org/wiki/Mod_dptools
Szymon
_______________________________________________ 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/answer-command-tp24912812p24916765.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
I've tried all this command from FS console and all of them return "Unknown command" daqiang wang wrote:
why not use: session:answer()
2009/8/11 Maxim Tsvetov <maxim.tsvetov@gmail.com>
Thank you.
Is it possible to use this command from command line or via event_socket interface?
Szymon Olko wrote:
Maxim Tsvetov pisze:
Hello,
I found in WIKI list of supported commands http://wiki.freeswitch.org/wiki/Mod_commands.
I need command "answer" but it doesn't exist (Freeswitch 1.04, Win32)
That's what Freeswitch replies for this command:
"answer: Command not found!"
Сould you please help?
Answer is in dialplan commands.
http://wiki.freeswitch.org/wiki/Mod_dptools
Szymon
_______________________________________________ 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
-- View this message in context: http://www.nabble.com/answer-command-tp24912812p24916765.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
_______________________________________________ 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/answer-command-tp24912812p24917706.html Sent from the Freeswitch-users mailing list archive at Nabble.com.
answer only works on outbound event socket. why you don't answer in a dialplan? what's scenario you use this? On Aug 11, 2009, at 9:31 PM, Maxim Tsvetov wrote:
I've tried all this command from FS console and all of them return "Unknown command"
daqiang wang wrote:
why not use: session:answer()
2009/8/11 Maxim Tsvetov <maxim.tsvetov@gmail.com>
Thank you.
Is it possible to use this command from command line or via event_socket interface?
Szymon Olko wrote:
Maxim Tsvetov pisze:
Hello,
I found in WIKI list of supported commands http://wiki.freeswitch.org/wiki/Mod_commands.
I need command "answer" but it doesn't exist (Freeswitch 1.04, Win32)
That's what Freeswitch replies for this command:
"answer: Command not found!"
Сould you please help?
Answer is in dialplan commands.
http://wiki.freeswitch.org/wiki/Mod_dptools
Szymon
_______________________________________________ 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
-- View this message in context: http://www.nabble.com/answer-command-tp24912812p24916765.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
_______________________________________________ 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/answer-command-tp24912812p24917706.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
you can send the "answer" on the console too;this is *how to* use *sendmsg*from the console: http://wiki.freeswitch.org/wiki/Event_Socket#sendmsg <http://wiki.freeswitch.org/wiki/Event_Socket#sendmsg>btw, the previous command i gave you works just fine on event socket, it will work for you if you replicate the Netcat example. 2009/8/11 Maxim Tsvetov <maxim.tsvetov@gmail.com>
I've tried all this command from FS console and all of them return "Unknown command"
daqiang wang wrote:
why not use: session:answer()
2009/8/11 Maxim Tsvetov <maxim.tsvetov@gmail.com>
Thank you.
Is it possible to use this command from command line or via event_socket interface?
Szymon Olko wrote:
Maxim Tsvetov pisze:
Hello,
I found in WIKI list of supported commands http://wiki.freeswitch.org/wiki/Mod_commands.
I need command "answer" but it doesn't exist (Freeswitch 1.04, Win32)
That's what Freeswitch replies for this command:
"answer: Command not found!"
Сould you please help?
Answer is in dialplan commands.
http://wiki.freeswitch.org/wiki/Mod_dptools
Szymon
_______________________________________________ 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
-- View this message in context: http://www.nabble.com/answer-command-tp24912812p24916765.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
_______________________________________________ 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/answer-command-tp24912812p24917706.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
Hello Brian, I wanna fix the wiki, but to make sure i got it right, does it only work on outbound event socket? or is there any other scenario where it would work. Thank you. 2009/8/11 Brian West <brian@freeswitch.org>
Its not an api command the docs are wrong and should be fixed.
/b
On Aug 11, 2009, at 8:31 AM, Maxim Tsvetov wrote:
I've tried all this command from FS console and all of them return "Unknown command"
_______________________________________________ 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
On Tue, Aug 11, 2009 at 9:05 AM, Milena <testeador01@gmail.com> wrote:
Hello Brian,
I wanna fix the wiki, but to make sure i got it right, does it only work on outbound event socket? or is there any other scenario where it would work.
FYI, Diego Viola fixed the wiki. (Thanks Diego!) -MC
Michael, you're welcome :). Milena, answer is a mod_dptools command, you can use it from the XML dialplan or from the event socket outbound. mod_commands API are APIs that you execute from the socket, event socket inbound, etc. But you can also execute them from event socket outbound using the "api" command. I hope that makes sense, correct me if I'm wrong =D. On Tue, Aug 11, 2009 at 1:09 PM, Michael Collins <msc@freeswitch.org> wrote:
On Tue, Aug 11, 2009 at 9:05 AM, Milena <testeador01@gmail.com> wrote:
Hello Brian,
I wanna fix the wiki, but to make sure i got it right, does it only work on outbound event socket? or is there any other scenario where it would work.
FYI, Diego Viola fixed the wiki. (Thanks Diego!) -MC
_______________________________________________ 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
On Tue, Aug 11, 2009 at 1:10 PM, Diego Viola <diego.viola@gmail.com> wrote:
Michael, you're welcome :).
Milena, answer is a mod_dptools command, you can use it from the XML dialplan or from the event socket outbound. mod_commands API are APIs that you execute from the socket, event socket inbound, etc. But you can also execute them from event socket outbound using the "api" command.
I hope that makes sense, correct me if I'm wrong =D.
A simple way to remember it is like this: mod_dptools are dialplan tools that go in the dialplan, aka dialplan apps mod_commands are APIs that are typed at the FS command line Of course, there's some crossover, but as long as you separate the idea of an API and an app you'll be fine. -MC
I suggest that you learn the differences between mod_commands commands and mod_dptools applications, and also the interfaces where you can access and use them. As said before, mod_dptools is accessible from dialplan, event socket outbound, etc. and mod_commands is accessible from the CLI, event socket (inbound/outbound), XML RPC, etc. That's all described in the wiki I think. Let us know if you have any questions =D. On Tue, Aug 11, 2009 at 2:10 PM, Diego Viola <diego.viola@gmail.com> wrote:
Michael, you're welcome :).
Milena, answer is a mod_dptools command, you can use it from the XML dialplan or from the event socket outbound. mod_commands API are APIs that you execute from the socket, event socket inbound, etc. But you can also execute them from event socket outbound using the "api" command.
I hope that makes sense, correct me if I'm wrong =D.
On Tue, Aug 11, 2009 at 1:09 PM, Michael Collins <msc@freeswitch.org>wrote:
On Tue, Aug 11, 2009 at 9:05 AM, Milena <testeador01@gmail.com> wrote:
Hello Brian,
I wanna fix the wiki, but to make sure i got it right, does it only work on outbound event socket? or is there any other scenario where it would work.
FYI, Diego Viola fixed the wiki. (Thanks Diego!) -MC
_______________________________________________ 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
I've tried to use "answer" command from outbound event socket and it's working, but the problem is that FS answering the call, but SIP Client (we tried this with EyeBeam and CISCO 7960) doesn't know that call was answered. So, as long as FS doesn't know what to do with this number it then disconnects the call. 2009-08-12 11:25:07.599250 [NOTICE] mod_dptools.c:649 Channel [sofia/internal/sip:1000@10.107.181.160:42840] has been answered 2009-08-12 11:25:07.599250 [NOTICE] switch_ivr_originate.c:2015 Channel [sofia/internal/1003@10.107.249.12] has been answered 2009-08-12 11:25:07.614875 [ERR] switch_core_io.c:118 sofia/internal/sip:1000@10.107.181.160:42840 has no read codec. 2009-08-12 11:25:07.614875 [NOTICE] switch_ivr_bridge.c:503 Hangup sofia/internal/sip:1000@10.107.181.160:42840 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 2009-08-12 11:25:07.614875 [NOTICE] switch_ivr_bridge.c:1016 Hangup sofia/internal/1003@10.107.249.12 [CS_EXECUTE] [NORMAL_CLEARING] 2009-08-12 11:25:07.630500 [NOTICE] switch_core_session.c:1086 Session 133 (sofia/internal/sip:1000@10.107.181.160:42840) Ended Maybe there is the way to acknowledge SIP client that call was answered? Regards, Maxim Tsvetov Diego Viola wrote:
I suggest that you learn the differences between mod_commands commands and mod_dptools applications, and also the interfaces where you can access and use them.
As said before, mod_dptools is accessible from dialplan, event socket outbound, etc. and mod_commands is accessible from the CLI, event socket (inbound/outbound), XML RPC, etc.
That's all described in the wiki I think.
Let us know if you have any questions =D.
On Tue, Aug 11, 2009 at 2:10 PM, Diego Viola <diego.viola@gmail.com> wrote:
Michael, you're welcome :).
Milena, answer is a mod_dptools command, you can use it from the XML dialplan or from the event socket outbound. mod_commands API are APIs that you execute from the socket, event socket inbound, etc. But you can also execute them from event socket outbound using the "api" command.
I hope that makes sense, correct me if I'm wrong =D.
On Tue, Aug 11, 2009 at 1:09 PM, Michael Collins <msc@freeswitch.org>wrote:
On Tue, Aug 11, 2009 at 9:05 AM, Milena <testeador01@gmail.com> wrote:
Hello Brian,
I wanna fix the wiki, but to make sure i got it right, does it only work on outbound event socket? or is there any other scenario where it would work.
FYI, Diego Viola fixed the wiki. (Thanks Diego!) -MC
_______________________________________________ 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
-- View this message in context: http://www.nabble.com/answer-command-tp24912812p24931876.html Sent from the Freeswitch-users mailing list archive at Nabble.com.
It's not Eyebeam but FS hung up the call because it have nothing to do after answer. You should either playback a sound, do the echo command, record, hold the call, bridge to another channel or transfer somewhere else..... On Aug 12, 2009, at 4:54 PM, Maxim Tsvetov wrote:
I've tried to use "answer" command from outbound event socket and it's working, but the problem is that FS answering the call, but SIP Client (we tried this with EyeBeam and CISCO 7960) doesn't know that call was answered. So, as long as FS doesn't know what to do with this number it then disconnects the call.
2009-08-12 11:25:07.599250 [NOTICE] mod_dptools.c:649 Channel [sofia/internal/sip:1000@10.107.181.160:42840] has been answered 2009-08-12 11:25:07.599250 [NOTICE] switch_ivr_originate.c:2015 Channel [sofia/internal/1003@10.107.249.12] has been answered 2009-08-12 11:25:07.614875 [ERR] switch_core_io.c:118 sofia/internal/sip:1000@10.107.181.160:42840 has no read codec. 2009-08-12 11:25:07.614875 [NOTICE] switch_ivr_bridge.c:503 Hangup sofia/internal/sip:1000@10.107.181.160:42840 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 2009-08-12 11:25:07.614875 [NOTICE] switch_ivr_bridge.c:1016 Hangup sofia/internal/1003@10.107.249.12 [CS_EXECUTE] [NORMAL_CLEARING] 2009-08-12 11:25:07.630500 [NOTICE] switch_core_session.c:1086 Session 133 (sofia/internal/sip:1000@10.107.181.160:42840) Ended
Maybe there is the way to acknowledge SIP client that call was answered?
Regards, Maxim Tsvetov
Diego Viola wrote:
I suggest that you learn the differences between mod_commands commands and mod_dptools applications, and also the interfaces where you can access and use them.
As said before, mod_dptools is accessible from dialplan, event socket outbound, etc. and mod_commands is accessible from the CLI, event socket (inbound/outbound), XML RPC, etc.
That's all described in the wiki I think.
Let us know if you have any questions =D.
On Tue, Aug 11, 2009 at 2:10 PM, Diego Viola <diego.viola@gmail.com> wrote:
Michael, you're welcome :).
Milena, answer is a mod_dptools command, you can use it from the XML dialplan or from the event socket outbound. mod_commands API are APIs that you execute from the socket, event socket inbound, etc. But you can also execute them from event socket outbound using the "api" command.
I hope that makes sense, correct me if I'm wrong =D.
On Tue, Aug 11, 2009 at 1:09 PM, Michael Collins <msc@freeswitch.org>wrote:
On Tue, Aug 11, 2009 at 9:05 AM, Milena <testeador01@gmail.com> wrote:
Hello Brian,
I wanna fix the wiki, but to make sure i got it right, does it only work on outbound event socket? or is there any other scenario where it would work.
FYI, Diego Viola fixed the wiki. (Thanks Diego!) -MC
_______________________________________________ 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
-- View this message in context: http://www.nabble.com/answer-command-tp24912812p24931876.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
I will try to paraphrase my question. Is there any possibility to answer call from CTI application and synchronise answer with answer in SIP client?Maybe we can use SIP functions in our CTI application instead of FS api commands? I'm trying to find the way to make prototype of lineAnswer command in TAPI. Seven Du wrote:
It's not Eyebeam but FS hung up the call because it have nothing to do after answer.
You should either playback a sound, do the echo command, record, hold the call, bridge to another channel or transfer somewhere else.....
On Aug 12, 2009, at 4:54 PM, Maxim Tsvetov wrote:
I've tried to use "answer" command from outbound event socket and it's working, but the problem is that FS answering the call, but SIP Client (we tried this with EyeBeam and CISCO 7960) doesn't know that call was answered. So, as long as FS doesn't know what to do with this number it then disconnects the call.
2009-08-12 11:25:07.599250 [NOTICE] mod_dptools.c:649 Channel [sofia/internal/sip:1000@10.107.181.160:42840] has been answered 2009-08-12 11:25:07.599250 [NOTICE] switch_ivr_originate.c:2015 Channel [sofia/internal/1003@10.107.249.12] has been answered 2009-08-12 11:25:07.614875 [ERR] switch_core_io.c:118 sofia/internal/sip:1000@10.107.181.160:42840 has no read codec. 2009-08-12 11:25:07.614875 [NOTICE] switch_ivr_bridge.c:503 Hangup sofia/internal/sip:1000@10.107.181.160:42840 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 2009-08-12 11:25:07.614875 [NOTICE] switch_ivr_bridge.c:1016 Hangup sofia/internal/1003@10.107.249.12 [CS_EXECUTE] [NORMAL_CLEARING] 2009-08-12 11:25:07.630500 [NOTICE] switch_core_session.c:1086 Session 133 (sofia/internal/sip:1000@10.107.181.160:42840) Ended
Maybe there is the way to acknowledge SIP client that call was answered?
Regards, Maxim Tsvetov
Diego Viola wrote:
I suggest that you learn the differences between mod_commands commands and mod_dptools applications, and also the interfaces where you can access and use them.
As said before, mod_dptools is accessible from dialplan, event socket outbound, etc. and mod_commands is accessible from the CLI, event socket (inbound/outbound), XML RPC, etc.
That's all described in the wiki I think.
Let us know if you have any questions =D.
On Tue, Aug 11, 2009 at 2:10 PM, Diego Viola <diego.viola@gmail.com> wrote:
Michael, you're welcome :).
Milena, answer is a mod_dptools command, you can use it from the XML dialplan or from the event socket outbound. mod_commands API are APIs that you execute from the socket, event socket inbound, etc. But you can also execute them from event socket outbound using the "api" command.
I hope that makes sense, correct me if I'm wrong =D.
On Tue, Aug 11, 2009 at 1:09 PM, Michael Collins <msc@freeswitch.org>wrote:
On Tue, Aug 11, 2009 at 9:05 AM, Milena <testeador01@gmail.com> wrote:
Hello Brian,
I wanna fix the wiki, but to make sure i got it right, does it only work on outbound event socket? or is there any other scenario where it would work.
FYI, Diego Viola fixed the wiki. (Thanks Diego!) -MC
_______________________________________________ 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
-- View this message in context: http://www.nabble.com/answer-command-tp24912812p24931876.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
_______________________________________________ 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/answer-command-tp24912812p24940548.html Sent from the Freeswitch-users mailing list archive at Nabble.com.
Well you can only truly answer an inbound call to FS... you can't force answer an outbound call. /b On Aug 12, 2009, at 11:49 AM, Maxim Tsvetov wrote:
I will try to paraphrase my question. Is there any possibility to answer call from CTI application and synchronise answer with answer in SIP client?Maybe we can use SIP functions in our CTI application instead of FS api commands? I'm trying to find the way to make prototype of lineAnswer command in TAPI.
If I have two FS extensions A and B. I'm calling from A to B and want to answer from B-side in my CTI application and to make SIP phone to be synchronised to my CTI application. Is it possible to do it? Brian West-3 wrote:
Well you can only truly answer an inbound call to FS... you can't force answer an outbound call.
/b
On Aug 12, 2009, at 11:49 AM, Maxim Tsvetov wrote:
I will try to paraphrase my question. Is there any possibility to answer call from CTI application and synchronise answer with answer in SIP client?Maybe we can use SIP functions in our CTI application instead of FS api commands? I'm trying to find the way to make prototype of lineAnswer command in TAPI.
_______________________________________________ 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/answer-command-tp24912812p24941422.html Sent from the Freeswitch-users mailing list archive at Nabble.com.
Sip does not support this functionality. The called device would have to support this via some other mechanism such as ctsa which I have seen recently someone was looking at for freeswitch. So the first issue you must resolve is the called device needs to support some way to do this. Mike On Aug 12, 2009, at 10:38 AM, Maxim Tsvetov <maxim.tsvetov@gmail.com> wrote:
If I have two FS extensions A and B. I'm calling from A to B and want to answer from B-side in my CTI application and to make SIP phone to be synchronised to my CTI application. Is it possible to do it?
Brian West-3 wrote:
Well you can only truly answer an inbound call to FS... you can't force answer an outbound call.
/b
On Aug 12, 2009, at 11:49 AM, Maxim Tsvetov wrote:
I will try to paraphrase my question. Is there any possibility to answer call from CTI application and synchronise answer with answer in SIP client?Maybe we can use SIP functions in our CTI application instead of FS api commands? I'm trying to find the way to make prototype of lineAnswer command in TAPI.
_______________________________________________ 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/answer-command-tp24912812p24941422.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
Hey Michael, Just wondering something, I have found that you added "conference_set_auto_outcall" on the dptools wiki, but I could not find that function in the mod_dptools.c, shouldn't that be part of the mod_conference wiki article? =D. Best regards, Diego On Wed, Aug 12, 2009 at 1:50 PM, Michael Jerris <mike@jerris.com> wrote:
Sip does not support this functionality. The called device would have to support this via some other mechanism such as ctsa which I have seen recently someone was looking at for freeswitch. So the first issue you must resolve is the called device needs to support some way to do this.
Mike
On Aug 12, 2009, at 10:38 AM, Maxim Tsvetov <maxim.tsvetov@gmail.com> wrote:
If I have two FS extensions A and B. I'm calling from A to B and want to answer from B-side in my CTI application and to make SIP phone to be synchronised to my CTI application. Is it possible to do it?
Brian West-3 wrote:
Well you can only truly answer an inbound call to FS... you can't force answer an outbound call.
/b
On Aug 12, 2009, at 11:49 AM, Maxim Tsvetov wrote:
I will try to paraphrase my question. Is there any possibility to answer call from CTI application and synchronise answer with answer in SIP client?Maybe we can use SIP functions in our CTI application instead of FS api commands? I'm trying to find the way to make prototype of lineAnswer command in TAPI.
_______________________________________________ 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
-- View this message in context: http://www.nabble.com/answer-command-tp24912812p24941422.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
_______________________________________________ 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
It probably belongs there. It's a wiki, feel free to fix it. What does this have to do with this thread? On Aug 13, 2009, at 4:03 AM, Diego Viola <diego.viola@gmail.com> wrote:
Hey Michael,
Just wondering something, I have found that you added "conference_set_auto_outcall" on the dptools wiki, but I could not find that function in the mod_dptools.c, shouldn't that be part of the mod_conference wiki article? =D.
Best regards,
Diego
On Wed, Aug 12, 2009 at 1:50 PM, Michael Jerris <mike@jerris.com> wrote: Sip does not support this functionality. The called device would have to support this via some other mechanism such as ctsa which I have seen recently someone was looking at for freeswitch. So the first issue you must resolve is the called device needs to support some way to do this.
Mike
On Aug 12, 2009, at 10:38 AM, Maxim Tsvetov <maxim.tsvetov@gmail.com> wrote:
If I have two FS extensions A and B. I'm calling from A to B and want to answer from B-side in my CTI application and to make SIP phone to be synchronised to my CTI application. Is it possible to do it?
Brian West-3 wrote:
Well you can only truly answer an inbound call to FS... you can't force answer an outbound call.
/b
On Aug 12, 2009, at 11:49 AM, Maxim Tsvetov wrote:
I will try to paraphrase my question. Is there any possibility to answer call from CTI application and synchronise answer with answer in SIP client?Maybe we can use SIP functions in our CTI application instead of FS api commands? I'm trying to find the way to make prototype of lineAnswer command in TAPI.
_______________________________________________ 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/answer-command-tp24912812p24941422.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
_______________________________________________ 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
I was talking with Michael about fixing stuff in the wiki, so I just asked to fix that also. On Thu, Aug 13, 2009 at 9:10 AM, Michael Jerris <mike@jerris.com> wrote:
It probably belongs there. It's a wiki, feel free to fix it. What does this have to do with this thread?
On Aug 13, 2009, at 4:03 AM, Diego Viola <diego.viola@gmail.com> wrote:
Hey Michael,
Just wondering something, I have found that you added "conference_set_auto_outcall" on the dptools wiki, but I could not find that function in the mod_dptools.c, shouldn't that be part of the mod_conference wiki article? =D.
Best regards,
Diego
On Wed, Aug 12, 2009 at 1:50 PM, Michael Jerris < <mike@jerris.com> mike@jerris.com> wrote:
Sip does not support this functionality. The called device would have to support this via some other mechanism such as ctsa which I have seen recently someone was looking at for freeswitch. So the first issue you must resolve is the called device needs to support some way to do this.
Mike
On Aug 12, 2009, at 10:38 AM, Maxim Tsvetov < <maxim.tsvetov@gmail.com> maxim.tsvetov@gmail.com> wrote:
If I have two FS extensions A and B. I'm calling from A to B and want to answer from B-side in my CTI application and to make SIP phone to be synchronised to my CTI application. Is it possible to do it?
Brian West-3 wrote:
Well you can only truly answer an inbound call to FS... you can't force answer an outbound call.
/b
On Aug 12, 2009, at 11:49 AM, Maxim Tsvetov wrote:
I will try to paraphrase my question. Is there any possibility to answer call from CTI application and synchronise answer with answer in SIP client?Maybe we can use SIP functions in our CTI application instead of FS api commands? I'm trying to find the way to make prototype of lineAnswer command in TAPI.
_______________________________________________ FreeSWITCH-users mailing list <FreeSWITCH-users@lists.freeswitch.org>
FreeSWITCH-users@lists.freeswitch.org
<http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:<http://lists.freeswitch.org/mailman/options/freeswitch-users> http://lists.freeswitch.org/mailman/options/freeswitch-users <http://www.freeswitch.org>http://www.freeswitch.org
-- View this message in context: <http://www.nabble.com/answer-command-tp24912812p24941422.html> http://www.nabble.com/answer-command-tp24912812p24941422.html Sent from the Freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ FreeSWITCH-users mailing list <FreeSWITCH-users@lists.freeswitch.org> FreeSWITCH-users@lists.freeswitch.org <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:<http://lists.freeswitch.org/mailman/options/freeswitch-users> http://lists.freeswitch.org/mailman/options/freeswitch-users <http://www.freeswitch.org>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> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:<http://lists.freeswitch.org/mailman/options/freeswitch-users> http://lists.freeswitch.org/mailman/options/freeswitch-users <http://www.freeswitch.org>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://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
Err, I asked if that was wrong to fix it. On Thu, Aug 13, 2009 at 2:15 PM, Diego Viola <diego.viola@gmail.com> wrote:
I was talking with Michael about fixing stuff in the wiki, so I just asked to fix that also.
On Thu, Aug 13, 2009 at 9:10 AM, Michael Jerris <mike@jerris.com> wrote:
It probably belongs there. It's a wiki, feel free to fix it. What does this have to do with this thread?
On Aug 13, 2009, at 4:03 AM, Diego Viola <diego.viola@gmail.com> wrote:
Hey Michael,
Just wondering something, I have found that you added "conference_set_auto_outcall" on the dptools wiki, but I could not find that function in the mod_dptools.c, shouldn't that be part of the mod_conference wiki article? =D.
Best regards,
Diego
On Wed, Aug 12, 2009 at 1:50 PM, Michael Jerris < <mike@jerris.com> mike@jerris.com> wrote:
Sip does not support this functionality. The called device would have to support this via some other mechanism such as ctsa which I have seen recently someone was looking at for freeswitch. So the first issue you must resolve is the called device needs to support some way to do this.
Mike
On Aug 12, 2009, at 10:38 AM, Maxim Tsvetov < <maxim.tsvetov@gmail.com> maxim.tsvetov@gmail.com> wrote:
If I have two FS extensions A and B. I'm calling from A to B and want to answer from B-side in my CTI application and to make SIP phone to be synchronised to my CTI application. Is it possible to do it?
Brian West-3 wrote:
Well you can only truly answer an inbound call to FS... you can't force answer an outbound call.
/b
On Aug 12, 2009, at 11:49 AM, Maxim Tsvetov wrote:
I will try to paraphrase my question. Is there any possibility to answer call from CTI application and synchronise answer with answer in SIP client?Maybe we can use SIP functions in our CTI application instead of FS api commands? I'm trying to find the way to make prototype of lineAnswer command in TAPI.
_______________________________________________ FreeSWITCH-users mailing list <FreeSWITCH-users@lists.freeswitch.org>
FreeSWITCH-users@lists.freeswitch.org
<http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:<http://lists.freeswitch.org/mailman/options/freeswitch-users> http://lists.freeswitch.org/mailman/options/freeswitch-users <http://www.freeswitch.org>http://www.freeswitch.org
-- View this message in context: <http://www.nabble.com/answer-command-tp24912812p24941422.html> http://www.nabble.com/answer-command-tp24912812p24941422.html Sent from the Freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ FreeSWITCH-users mailing list <FreeSWITCH-users@lists.freeswitch.org> FreeSWITCH-users@lists.freeswitch.org <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:<http://lists.freeswitch.org/mailman/options/freeswitch-users> http://lists.freeswitch.org/mailman/options/freeswitch-users <http://www.freeswitch.org>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> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:<http://lists.freeswitch.org/mailman/options/freeswitch-users> http://lists.freeswitch.org/mailman/options/freeswitch-users <http://www.freeswitch.org>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://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
Hi, Were you able to resolve the issue to answer the call from CTI Web Application and SIP phone synchronized with that -- Sent from: http://freeswitch-users.2379917.n2.nabble.com/
What phone? On Mon, Sep 21, 2020 at 4:18 PM Malik Ehtasham < ehtasham.malik@expertflow.com> wrote:
Hi, Were you able to resolve the issue to answer the call from CTI Web Application and SIP phone synchronized with that
-- Sent from: http://freeswitch-users.2379917.n2.nabble.com/
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.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 https://freeswitch.com
-- Brian West | Co-founder and Developer Need Commercial support? email sales@freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 <https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g> Email: brian@freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/> [image: https://www.facebook.com/signalwireinc?src=email] <https://www.facebook.com/freeswitch> [image: https://twitter.com/freeswitch] <https://twitter.com/freeswitch>
participants (11)
-
Brian West
-
Brian West
-
daqiang wang
-
Diego Viola
-
Malik Ehtasham
-
Maxim Tsvetov
-
Michael Collins
-
Michael Jerris
-
Milena
-
Seven Du
-
Szymon Olko