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:[email protected]:42840] has been answered 2009-08-12 11:25:07.599250 [NOTICE] switch_ivr_originate.c:2015 Channel [sofia/internal/[email protected]] has been answered 2009-08-12 11:25:07.614875 [ERR] switch_core_io.c:118 sofia/internal/sip:[email protected]:42840 has no read codec. 2009-08-12 11:25:07.614875 [NOTICE] switch_ivr_bridge.c:503 Hangup sofia/internal/sip:[email protected]:42840 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 2009-08-12 11:25:07.614875 [NOTICE] switch_ivr_bridge.c:1016 Hangup sofia/internal/[email protected] [CS_EXECUTE] [NORMAL_CLEARING] 2009-08-12 11:25:07.630500 [NOTICE] switch_core_session.c:1086 Session 133 (sofia/internal/sip:[email protected]: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 <[email protected]> > 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 >> <[email protected]>wrote: >> >>> >>> >>> On Tue, Aug 11, 2009 at 9:05 AM, Milena <[email protected]> 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 >>> [email protected] >>> 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 > [email protected] > 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 [email protected] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
