[Freeswitch-users] answer command

Seven Du dujinfang at gmail.com
Wed Aug 12 04:17:21 PDT 2009


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 at 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 at 10.107.249.12] has been answered
> 2009-08-12 11:25:07.614875 [ERR] switch_core_io.c:118
> sofia/internal/sip:1000 at 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 at 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 at 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 at 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 at 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 at freeswitch.org>wrote:
>>>
>>>>
>>>>
>>>> On Tue, Aug 11, 2009 at 9:05 AM, Milena <testeador01 at 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 at 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 at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org





More information about the FreeSWITCH-users mailing list