Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] How to delay IVR answer during an outbound call


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
plite2012 at gmail.com
Guest





PostPosted: Wed Aug 12, 2009 1:01 am    Post subject: [Freeswitch-users] How to delay IVR answer during an outboun Reply with quote

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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
brian at freeswitch.org
Guest





PostPosted: Wed Aug 12, 2009 1:07 am    Post subject: [Freeswitch-users] How to delay IVR answer during an outboun Reply with quote

Is your provider answering the call before its connected? If so then
they should be shot. I can't imagine other way the call would be
answered unless you're using ignore_early_media wrong.... can you show
me who you're doing this?

/b

On Aug 12, 2009, at 12:58 AM, Paul Li wrote:

Quote:
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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
plite2012 at gmail.com
Guest





PostPosted: Wed Aug 12, 2009 1:32 am    Post subject: [Freeswitch-users] How to delay IVR answer during an outboun Reply with quote

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@gmail.com> wrote:
Quote:
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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
jan.kubr at gmail.com
Guest





PostPosted: Thu Aug 20, 2009 10:52 am    Post subject: [Freeswitch-users] How to delay IVR answer during an outboun Reply with quote

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@gmail.com> wrote:
Quote:
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@gmail.com> wrote:
Quote:
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@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
brian at freeswitch.org
Guest





PostPosted: Thu Aug 20, 2009 11:10 am    Post subject: [Freeswitch-users] How to delay IVR answer during an outboun Reply with quote

Nope. The issue is the far end isn't done in time. So we send
packets and they ignore them. The only way to prevent this is to
answer, silence_stream://1000, then playback.

/b

On Aug 20, 2009, at 10:43 AM, Jan Kubr wrote:

Quote:
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


_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services