[Freeswitch-users] originating a call from an outbound socket app

Hector Geraldino Hector.Geraldino at ip-soft.net
Mon Jun 13 22:47:55 MSD 2011


Right, the call log is on:

http://pastebin.com/kAEZsFe6

I found the issue which is really silly (don't know how I couldn't figure it out before): the call has been picked up by the voicemail, that's why the CHANNEL_ANSWER event is shown up.

What's the most common pattern to deal with this situation, when you want to know if the call has been answered by a human being and not by a machine? I'm thinking about requesting a confirmation (DTMF) and timeout the operation after a few secs, but as this seems to be a very common task, I was wondering if there's a better way of doing it.

From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Michael Collins
Sent: Monday, June 13, 2011 1:53 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] originating a call from an outbound socket app


On Mon, Jun 13, 2011 at 9:37 AM, Hector Geraldino <Hector.Geraldino at ip-soft.net<mailto:Hector.Geraldino at ip-soft.net>> wrote:
Hi Michael,

I finally figure out how to connect both calls using the command 'intercept'. From the inbound call (handled by the OB socket) I just do an execute intercept legB uuid, and both calls are bridged perfectly.  Thanks very much.

So the only thing that stills concerns me is why the event CHANNEL_ANSWER is always generated on the outbound call (legb), even if the user doesn't pick up the call. Also I can't find any differences on the CHANNEL_CALLSTATE or CALL_UPDATE events that allows me to determine when an outbound call generated from FS is actually answered or not.
Did you ever post the full call debug log with a siptrace? I don't recall seeing that...


BTW, I bought the FS 1.0.6 book on Amazon last week and I want to congratulate you and Anthony/Darren for the excellent work you've done, it has been really helpful.  My only complaint is that it doesn't have an eBook format so I can read it on my Kindle. Besides that, great work.
Yes, that complaint has been levied on more than one occasion. We've been imploring Packt to rectify the situation. We'll keep you posted on the status.

-MC

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110613/bbbb4965/attachment-0001.html 


More information about the FreeSWITCH-users mailing list