[Freeswitch-users] How to delay IVR answer during an outbound call
Jan Kubr
jan.kubr at gmail.com
Thu Aug 20 08:43:57 PDT 2009
I have been experiencing this as well. It happens randomly and I
haven't been able to find out what the issue is. I think there is some
delay when the RTP ports are being negotiated/allocated. Or something.
What helped me a bit: I start with playing a file containing 1 second
of silence and only then do whatever I want to do.
Jan
On Wed, Aug 12, 2009 at 8:23 AM, Paul Li<plite2012 at gmail.com> wrote:
> I am actually doing a lua script for IVR as follows
>
> -- answer the call
> session:answer();
>
> while session:ready() == true do
> -- sleep a second
> session:sleep(1000);
>
> -- play a file
> session:streamFile("/path/to/blah.wav");
>
> -- hangup
> session:hangup();
> end
>
> The problem lies in: when I picked up my phone, blah.wav was already
> played for a while, instead of from the beginning.
>
> I shall greatly appreciate any input.
>
> On Wed, Aug 12, 2009 at 12:58 AM, Paul Li<plite2012 at gmail.com> wrote:
>> I have a dummy question. Say, you have an outbound call to the demo
>> IVR as below:
>>
>> originate sofia/gateway/myvoip/19876543210 5000
>>
>> How do I delay the IVR response until the recipient at 19876543210
>> picks up the call? I tried "ignore_early_media=true", which had no
>> effect.
>>
>> Many thanks in advance.
>>
>
> _______________________________________________
> 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