VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
venefax at gmail.com Guest
|
Posted: Mon Aug 01, 2016 9:38 am Post subject: [asterisk-users] Detecting end of Ringback |
|
|
On an outbound call, PJSIP, I execute a macro and try to detect the end of ringback, inside the macro. So far waitforring() does nothing, stays stuck. Any combination of waitffornoise and waitforsilence, or backgrounddetect fail to find the moment when the ringabck stops. I can detect when it starts, with waitfornoise, but not its end.Any idea? Should I open a ticket for waitforring? |
|
Back to top |
|
|
jcolp at digium.com Guest
|
Posted: Mon Aug 01, 2016 10:23 am Post subject: [asterisk-users] Detecting end of Ringback |
|
|
Saint Michael wrote:
Quote: | On an outbound call, PJSIP, I execute a macro and try to detect the end
of ringback, inside the macro. So far waitforring() does nothing, stays
stuck. Any combination of waitffornoise and waitforsilence, or
backgrounddetect fail to find the moment when the ringabck stops. I can
detect when it starts, with waitfornoise, but not its end.
Any idea? Should I open a ticket for waitforring?
|
WaitForRing doesn't do audio analysis to determine ringing, it's up to
the channel driver to signal that ringing has occurred using a frame. As
PJSIP doesn't do audio analysis (it's up to the provider or gateway)
it's just answered instead.
--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
|
|
|
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
|