Re: [Freeswitch-users] answer command
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 m...@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.tsve...@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
Re: [Freeswitch-users] answer command
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.vi...@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 m...@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.tsve...@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 ___ 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
Re: [Freeswitch-users] answer command
Err, I asked if that was wrong to fix it. On Thu, Aug 13, 2009 at 2:15 PM, Diego Viola diego.vi...@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 m...@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.vi...@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 m...@jerris.com m...@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.tsve...@gmail.com maxim.tsve...@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.orghttp://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.orghttp://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.orghttp://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 ___ 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
Re: [Freeswitch-users] answer command
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:1...@10.107.181.160:42840] has been answered 2009-08-12 11:25:07.599250 [NOTICE] switch_ivr_originate.c:2015 Channel [sofia/internal/1...@10.107.249.12] has been answered 2009-08-12 11:25:07.614875 [ERR] switch_core_io.c:118 sofia/internal/sip:1...@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:1...@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/1...@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:1...@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.vi...@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 m...@freeswitch.orgwrote: On Tue, Aug 11, 2009 at 9:05 AM, Milena testeado...@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
Re: [Freeswitch-users] answer command
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:1...@10.107.181.160:42840] has been answered 2009-08-12 11:25:07.599250 [NOTICE] switch_ivr_originate.c:2015 Channel [sofia/internal/1...@10.107.249.12] has been answered 2009-08-12 11:25:07.614875 [ERR] switch_core_io.c:118 sofia/internal/sip:1...@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:1...@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/1...@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:1...@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.vi...@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 m...@freeswitch.orgwrote: On Tue, Aug 11, 2009 at 9:05 AM, Milena testeado...@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
Re: [Freeswitch-users] answer command
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:1...@10.107.181.160:42840] has been answered 2009-08-12 11:25:07.599250 [NOTICE] switch_ivr_originate.c:2015 Channel [sofia/internal/1...@10.107.249.12] has been answered 2009-08-12 11:25:07.614875 [ERR] switch_core_io.c:118 sofia/internal/sip:1...@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:1...@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/1...@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:1...@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.vi...@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 m...@freeswitch.orgwrote: On Tue, Aug 11, 2009 at 9:05 AM, Milena testeado...@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. ___ 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
Re: [Freeswitch-users] answer command
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
Re: [Freeswitch-users] answer command
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
Re: [Freeswitch-users] answer command
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.tsve...@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] answer command
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 ___ 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
Re: [Freeswitch-users] answer command
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
Re: [Freeswitch-users] answer command
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
Re: [Freeswitch-users] answer command
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.tsve...@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 ___ 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
Re: [Freeswitch-users] answer command
why not use: session:answer() 2009/8/11 Maxim Tsvetov maxim.tsve...@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 ___ 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
Re: [Freeswitch-users] answer command
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.tsve...@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 ___ 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. ___ 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
Re: [Freeswitch-users] answer command
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.tsve...@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 ___ 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
Re: [Freeswitch-users] answer command
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.tsve...@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 ___ 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 ___ 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
Re: [Freeswitch-users] answer command
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#sendmsgbtw, 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.tsve...@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.tsve...@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 ___ 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 ___ 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
Re: [Freeswitch-users] answer command
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
Re: [Freeswitch-users] answer command
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 br...@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 ___ 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
Re: [Freeswitch-users] answer command
On Tue, Aug 11, 2009 at 9:05 AM, Milena testeado...@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
Re: [Freeswitch-users] answer command
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 m...@freeswitch.org wrote: On Tue, Aug 11, 2009 at 9:05 AM, Milena testeado...@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
Re: [Freeswitch-users] answer command
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.vi...@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 m...@freeswitch.orgwrote: On Tue, Aug 11, 2009 at 9:05 AM, Milena testeado...@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
Re: [Freeswitch-users] answer command
On Tue, Aug 11, 2009 at 1:10 PM, Diego Viola diego.vi...@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 ___ 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