Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[asterisk-users] Checking for human answer


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





PostPosted: Sun Jul 20, 2014 9:34 am    Post subject: [asterisk-users] Checking for human answer Reply with quote

We redirect calls to another pbx - which are not under our control.

So, we need to distinguish when an operator answer from the time the call stays on queue.


To do so, we use dial cmd with M option. M calls a macro that repeats a digit (saydigit) until someone dial it.


When operator dials the correct digit we finish the macro making it to be bridged (caller and called).


It almost works perfectly - the problem lays that macro knows if called hangs-out but not if caller hangs-out - so que keep repeating digit even when caller quits the call.


Does someone know a solutions or even an alternative implementation to make such thing works?


Att
Back to top
support at drdos.info
Guest





PostPosted: Sun Jul 20, 2014 9:37 am    Post subject: [asterisk-users] Checking for human answer Reply with quote

Valter Nogueira wrote:
Quote:
Does someone know a solutions or even an alternative implementation to
make such thing works?

Set up a loop in your programming that counts the number of times the
loop has been processed. At a certain count, assume nobody is there and
terminate the call.

Doug


--
_____________________________________________________________________
-- 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
vgnogueira at gmail.com
Guest





PostPosted: Sun Jul 20, 2014 10:20 am    Post subject: [asterisk-users] Checking for human answer Reply with quote

The problem is in the opposite side - when someone call us and hangs before the operator press the number. In this case we are not aware that caller hang until de operator interacts.


2014-07-20 11:37 GMT-03:00 Doug Lytle <support@drdos.info (support@drdos.info)>:
Quote:
Valter Nogueira wrote:
Quote:
Does someone know a solutions or even an alternative implementation to make such thing works?


Set up a loop in your programming that counts the number of times the loop has been processed.  At a certain count, assume nobody is there and terminate the call.

Doug


--
_____________________________________________________________________
-- 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
support at drdos.info
Guest





PostPosted: Sun Jul 20, 2014 10:31 am    Post subject: [asterisk-users] Checking for human answer Reply with quote

Valter Nogueira wrote:
Quote:
The problem is in the opposite side - when someone call us and hangs
before the operator press the number.

Then my guess would be you're on analog lines?

Without call supervision on the line, there will be no way of detecting
when an analog call has been dropped, other then when the operator has
decided there is nobody there and hangs up at which point the call
should be dropped.

Digital lines and VOIP lines shouldn't have this issue since they have
call supervision.

Doug




--
_____________________________________________________________________
-- 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
vgnogueira at gmail.com
Guest





PostPosted: Sun Jul 20, 2014 11:19 am    Post subject: [asterisk-users] Checking for human answer Reply with quote

No, I am testing with IP phones.

When caller hangs-out the macro is not aware - but when calle hangs the macro is.



2014-07-20 12:31 GMT-03:00 Doug Lytle <support@drdos.info (support@drdos.info)>:
Quote:
Valter Nogueira wrote:
Quote:
The problem is in the opposite side - when someone call us and hangs before the operator press the number.


Then my guess would be you're on analog lines?

Without call supervision on the line, there will be no way of detecting when an analog call has been dropped, other then when the operator has decided there is nobody there and hangs up at which point the call should be dropped.

Digital lines and VOIP lines shouldn't have this issue since they have call supervision.

Doug




--
_____________________________________________________________________
-- 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
vgnogueira at gmail.com
Guest





PostPosted: Sun Jul 20, 2014 11:20 am    Post subject: [asterisk-users] Checking for human answer Reply with quote

In fact, Asterisk console shows a message warning that call is not finished because of the macro leg






2014-07-20 13:19 GMT-03:00 Valter Nogueira <vgnogueira@gmail.com (vgnogueira@gmail.com)>:
Quote:
No, I am testing with IP phones.

When caller hangs-out the macro is not aware - but when calle hangs the macro is.



2014-07-20 12:31 GMT-03:00 Doug Lytle <support@drdos.info (support@drdos.info)>:
Quote:
Valter Nogueira wrote:
Quote:
The problem is in the opposite side - when someone call us and hangs before the operator press the number.


Then my guess would be you're on analog lines?

Without call supervision on the line, there will be no way of detecting when an analog call has been dropped, other then when the operator has decided there is nobody there and hangs up at which point the call should be dropped.

Digital lines and VOIP lines shouldn't have this issue since they have call supervision.

Doug




--
_____________________________________________________________________
-- 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
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk 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