[Freeswitch-users] Socket-Event on "originate call"?

Dennis odermann at googlemail.com
Wed Feb 11 10:37:51 PST 2009


anthony, did you make the changes with "add {instant_ringback=true} to
make ringback not wait for indication to generate ringback" for the
described problem?

we read something like this out of it, but we can not test it, because
we get errors with the latest fs version (switch_ivr.c:674
switch_ivr_park() Cannot park channels that have no read codec.).



2009/2/10 Dennis <odermann at googlemail.com>:
> yes, you are right. we are receiving the reply.
>
> but, we are using socket outbound and manage all calls over this
> socket. we also measure the durations (like variable_duration and
> variable_billsec) and count all outgoing calls over the socket.
> but, if the originate (without an inbound call) will not start the
> socket, we can not count up, how many calls failed because of "user
> busy" or how long the platform was in use.
>
> a possible workarround: is it possible to trigger a dialplan over the
> cli (like our default dialplan, which starts the socket), so that the
> dialplan starts the originates?
>
> the basic problem for us, that, if we just want to make dialouts, we
> are missing the inbound call to start the socket.
>
>
> kind regards
> dennis
>
>
>
> 2009/2/9 Anthony Minessale <anthony.minessale at gmail.com>:
>> when an originate is unsuccessful the failure and the cause code is returned
>> as the reply to the originate request.
>>
>>
>> On Mon, Feb 9, 2009 at 9:16 AM, Dennis <odermann at googlemail.com> wrote:
>>>
>>> hi,
>>>
>>> i am using socket outbound with fs.
>>>
>>> if i do an originate over the console, for starting an outbound call
>>> without having an inbound call, and send the originate directly to the
>>> socket, the socket is first started, if the call is in answer or
>>> ringing state.
>>> before this, i will not receive any event, because the socket was not
>>> started. therefore i will not know, if the target is "busy" (hangup,
>>> hangup cause: user busy).
>>>
>>> it would be very helpful, if the socket would start immediately on an
>>> event like "channel originate".
>>>
>>>
>>> thanks for the help
>>> dennis
>




More information about the FreeSWITCH-users mailing list