VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
visser.rafael at gmail... Guest
|
Posted: Thu Aug 07, 2014 3:56 pm Post subject: [asterisk-users] agi get_data noanswer |
|
|
Hi Guys..
I am making an anoucement machine that is not allowed to "answer" the call due to a billing issue.
I found that Playback with "noanwser" is usefull in this case.
$AGI->exec('Playback',"$message","noanswer")}
But when i request some values to the user with get_data, i think there is an answer anywere.
Is there a way to get_data without answering the call?
Thanks in advance!!
rv |
|
Back to top |
|
|
asterisk at voipbusine... Guest
|
Posted: Thu Aug 07, 2014 4:12 pm Post subject: [asterisk-users] agi get_data noanswer |
|
|
What you may want to check out is the PlayTones and Ringing applications in your dial plan. Asterisk will answer the call, but your users won't know that because all they hear is the call still ringing. After a certain amount of time passes, you can send them directly to voicemail, hangup, run your scripts, or anything else you want to do with the call. My dial plan snippet looks like this. Just an option.
exten => s,n(ringing),Answer
exten => s,n,PlayTones(ring)
exten => s,n,Ringing
exten => s,n,Wait(${TIMEOUT})
exten => s,n,GotoIf($["${BLOCKDEST}" = "3"]?s-NA-VOICEMAIL,1)
exten => s,n,GotoIf($["${CUSTCALLBLOCKACTION}" = "3"]?s-NA-VOICEMAIL,1) ;
exten => s,n,PlayTones(congestion)
exten => s,n,Congestion(10)
exten => s,n,Hangup
Regards;
John V.
From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Rafael Visser
Sent: Thursday, August 07, 2014 4:56 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] agi get_data noanswer
Hi Guys..
I am making an anoucement machine that is not allowed to "answer" the call due to a billing issue.
I found that Playback with "noanwser" is usefull in this case.
$AGI->exec('Playback',"$message","noanswer")}
But when i request some values to the user with get_data, i think there is an answer anywere.
Is there a way to get_data without answering the call?
Thanks in advance!!
rv |
|
Back to top |
|
|
visser.rafael at gmail... Guest
|
Posted: Thu Aug 07, 2014 4:37 pm Post subject: [asterisk-users] agi get_data noanswer |
|
|
Hi John.
I am making an inteligent annoucement resouce for a big ericsson switch. Is just an ivr with agi applications.
The tricky thing try to make asterisk not to send answer. The perl application with agi commands must be executed with out answering.
Something like
exten => 6009,1,Progress()
exten => 6009,n,Set(__INICIA=${EPOCH})
exten => 6009,n,Set(CHANNEL(language)=sc)
exten => 6009,n,AGI(anouncement.pl)
exten => 6009,n,Hangup()
Thanks anyway.
rv
2014-08-07 17:11 GMT-04:00 Tech Support <asterisk@voipbusiness.us (asterisk@voipbusiness.us)>:
Quote: |
What you may want to check out is the PlayTones and Ringing applications in your dial plan. Asterisk will answer the call, but your users won't know that because all they hear is the call still ringing. After a certain amount of time passes, you can send them directly to voicemail, hangup, run your scripts, or anything else you want to do with the call. My dial plan snippet looks like this. Just an option.
exten => s,n(ringing),Answer
exten => s,n,PlayTones(ring)
exten => s,n,Ringing
exten => s,n,Wait(${TIMEOUT})
exten => s,n,GotoIf($["${BLOCKDEST}" = "3"]?s-NA-VOICEMAIL,1)
exten => s,n,GotoIf($["${CUSTCALLBLOCKACTION}" = "3"]?s-NA-VOICEMAIL,1) ;
exten => s,n,PlayTones(congestion)
exten => s,n,Congestion(10)
exten => s,n,Hangup
Regards;
John V.
From: asterisk-users-bounces@lists.digium.com (asterisk-users-bounces@lists.digium.com) [mailto:asterisk-users-bounces@lists.digium.com (asterisk-users-bounces@lists.digium.com)] On Behalf Of Rafael Visser
Sent: Thursday, August 07, 2014 4:56 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] agi get_data noanswer
Hi Guys..
I am making an anoucement machine that is not allowed to "answer" the call due to a billing issue.
I found that Playback with "noanwser" is usefull in this case.
$AGI->exec('Playback',"$message","noanswer")}
But when i request some values to the user with get_data, i think there is an answer anywere.
Is there a way to get_data without answering the call?
Thanks in advance!!
rv
--
_____________________________________________________________________
-- 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 |
|
|
EWieling at nyigc.com Guest
|
Posted: Thu Aug 07, 2014 7:02 pm Post subject: [asterisk-users] agi get_data noanswer |
|
|
Generally the only thing you are allowed to do before answer is send audio. You can’t receive audio and can’t receive DTMF. I assume it is to prevent people from doing exactly what you are trying to do --- trying to have two way communications without paying for the call.
From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Rafael Visser
Sent: Thursday, August 07, 2014 4:56 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] agi get_data noanswer
Hi Guys..
I am making an anoucement machine that is not allowed to "answer" the call due to a billing issue.
I found that Playback with "noanwser" is usefull in this case.
$AGI->exec('Playback',"$message","noanswer")}
But when i request some values to the user with get_data, i think there is an answer anywere.
Is there a way to get_data without answering the call?
Thanks in advance!!
rv |
|
Back to top |
|
|
visser.rafael at gmail... Guest
|
Posted: Tue Aug 12, 2014 6:24 pm Post subject: [asterisk-users] agi get_data noanswer |
|
|
Eric is correct. There is no way to send dtmf while the call has not been answered.
But us very confusing the read command, in specific option = n(noanswer) to read digits even if the line is not up
My AGI line is the following
$AGI->exec("READ","umenu,VARXX,1,n,2,7");
The command works, but there is no dtmf negotiation
$AGI->exec("READ","umenu,VARXX,1,,2,7");
The command works, but there is a kind of answer
What is the purpose of this noanswer option in a read command when it is imposible to read?.
Is there any way to negotiate with the end user in this early media situation?
Thanks in advance.
rv
2014-08-07 20:02 GMT-04:00 Eric Wieling <EWieling@nyigc.com (EWieling@nyigc.com)>:
Quote: |
Generally the only thing you are allowed to do before answer is send audio. You can’t receive audio and can’t receive DTMF. I assume it is to prevent people from doing exactly what you are trying to do --- trying to have two way communications without paying for the call.
From: asterisk-users-bounces@lists.digium.com (asterisk-users-bounces@lists.digium.com) [mailto:asterisk-users-bounces@lists.digium.com (asterisk-users-bounces@lists.digium.com)] On Behalf Of Rafael Visser
Sent: Thursday, August 07, 2014 4:56 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] agi get_data noanswer
Hi Guys..
I am making an anoucement machine that is not allowed to "answer" the call due to a billing issue.
I found that Playback with "noanwser" is usefull in this case.
$AGI->exec('Playback',"$message","noanswer")}
But when i request some values to the user with get_data, i think there is an answer anywere.
Is there a way to get_data without answering the call?
Thanks in advance!!
rv
--
_____________________________________________________________________
-- 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 |
|
|
EWieling at nyigc.com Guest
|
Posted: Tue Aug 12, 2014 6:28 pm Post subject: [asterisk-users] agi get_data noanswer |
|
|
I do not know, maybe some of the other channel drivers sccp or sip support it.
From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Rafael Visser
Sent: Tuesday, August 12, 2014 7:24 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] agi get_data noanswer
Eric is correct. There is no way to send dtmf while the call has not been answered.
But us very confusing the read command, in specific option = n(noanswer) to read digits even if the line is not up
My AGI line is the following
$AGI->exec("READ","umenu,VARXX,1,n,2,7");
The command works, but there is no dtmf negotiation
$AGI->exec("READ","umenu,VARXX,1,,2,7");
The command works, but there is a kind of answer
What is the purpose of this noanswer option in a read command when it is imposible to read?.
Is there any way to negotiate with the end user in this early media situation?
Thanks in advance.
rv
2014-08-07 20:02 GMT-04:00 Eric Wieling <EWieling@nyigc.com (EWieling@nyigc.com)>:
Generally the only thing you are allowed to do before answer is send audio. You can’t receive audio and can’t receive DTMF. I assume it is to prevent people from doing exactly what you are trying to do --- trying to have two way communications without paying for the call.
From: asterisk-users-bounces@lists.digium.com (asterisk-users-bounces@lists.digium.com) [mailto:asterisk-users-bounces@lists.digium.com (asterisk-users-bounces@lists.digium.com)] On Behalf Of Rafael Visser
Sent: Thursday, August 07, 2014 4:56 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] agi get_data noanswer
Hi Guys..
I am making an anoucement machine that is not allowed to "answer" the call due to a billing issue.
I found that Playback with "noanwser" is usefull in this case.
$AGI->exec('Playback',"$message","noanswer")}
But when i request some values to the user with get_data, i think there is an answer anywere.
Is there a way to get_data without answering the call?
Thanks in advance!!
rv
--
_____________________________________________________________________
-- 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 |
|
|
visser.rafael at gmail... Guest
|
Posted: Tue Aug 12, 2014 6:35 pm Post subject: [asterisk-users] agi get_data noanswer |
|
|
I am talking about sip on asterisk 11.10.2
rv
2014-08-12 19:28 GMT-04:00 Eric Wieling <EWieling@nyigc.com (EWieling@nyigc.com)>:
Quote: |
I do not know, maybe some of the other channel drivers sccp or sip support it.
From: asterisk-users-bounces@lists.digium.com (asterisk-users-bounces@lists.digium.com) [mailto:asterisk-users-bounces@lists.digium.com (asterisk-users-bounces@lists.digium.com)] On Behalf Of Rafael Visser
Sent: Tuesday, August 12, 2014 7:24 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] agi get_data noanswer
Eric is correct. There is no way to send dtmf while the call has not been answered.
But us very confusing the read command, in specific option = n(noanswer) to read digits even if the line is not up
My AGI line is the following
$AGI->exec("READ","umenu,VARXX,1,n,2,7");
The command works, but there is no dtmf negotiation
$AGI->exec("READ","umenu,VARXX,1,,2,7");
The command works, but there is a kind of answer
What is the purpose of this noanswer option in a read command when it is imposible to read?.
Is there any way to negotiate with the end user in this early media situation?
Thanks in advance.
rv
2014-08-07 20:02 GMT-04:00 Eric Wieling <EWieling@nyigc.com (EWieling@nyigc.com)>:
Generally the only thing you are allowed to do before answer is send audio. You can’t receive audio and can’t receive DTMF. I assume it is to prevent people from doing exactly what you are trying to do --- trying to have two way communications without paying for the call.
From: asterisk-users-bounces@lists.digium.com (asterisk-users-bounces@lists.digium.com) [mailto:asterisk-users-bounces@lists.digium.com (asterisk-users-bounces@lists.digium.com)] On Behalf Of Rafael Visser
Sent: Thursday, August 07, 2014 4:56 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] agi get_data noanswer
Hi Guys..
I am making an anoucement machine that is not allowed to "answer" the call due to a billing issue.
I found that Playback with "noanwser" is usefull in this case.
$AGI->exec('Playback',"$message","noanswer")}
But when i request some values to the user with get_data, i think there is an answer anywere.
Is there a way to get_data without answering the call?
Thanks in advance!!
rv
--
_____________________________________________________________________
-- 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
--
_____________________________________________________________________
-- 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 |
|
|
michel at verbraak.org Guest
|
Posted: Wed Aug 13, 2014 4:26 am Post subject: [asterisk-users] agi get_data noanswer |
|
|
As we are top posting I will continue this.
Please have a look at: https://wiki.asterisk.org/wiki/display/AST/Early+Media+and+the+Progress+Application
I hope this answers your questions.
Regards,
Michel.
op 13-08-14 01:34, Rafael Visser schreef:
Quote: | I am talking about sip on asterisk 11.10.2
rv
2014-08-12 19:28 GMT-04:00 Eric Wieling <EWieling@nyigc.com (EWieling@nyigc.com)>:
Quote: |
I do not know, maybe some of the other channel drivers sccp or sip support it.
From: asterisk-users-bounces@lists.digium.com (asterisk-users-bounces@lists.digium.com) [mailto:asterisk-users-bounces@lists.digium.com (asterisk-users-bounces@lists.digium.com)] On Behalf Of Rafael Visser
Sent: Tuesday, August 12, 2014 7:24 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] agi get_data noanswer
Eric is correct. There is no way to send dtmf while the call has not been answered.
But us very confusing the read command, in specific option = n(noanswer) to read digits even if the line is not up
My AGI line is the following
$AGI->exec("READ","umenu,VARXX,1,n,2,7");
The command works, but there is no dtmf negotiation
$AGI->exec("READ","umenu,VARXX,1,,2,7");
The command works, but there is a kind of answer
What is the purpose of this noanswer option in a read command when it is imposible to read?.
Is there any way to negotiate with the end user in this early media situation?
Thanks in advance.
rv
2014-08-07 20:02 GMT-04:00 Eric Wieling <EWieling@nyigc.com (EWieling@nyigc.com)>:
Generally the only thing you are allowed to do before answer is send audio. You can’t receive audio and can’t receive DTMF. I assume it is to prevent people from doing exactly what you are trying to do --- trying to have two way communications without paying for the call.
From: asterisk-users-bounces@lists.digium.com (asterisk-users-bounces@lists.digium.com) [mailto:asterisk-users-bounces@lists.digium.com (asterisk-users-bounces@lists.digium.com)] On Behalf Of Rafael Visser
Sent: Thursday, August 07, 2014 4:56 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] agi get_data noanswer
Hi Guys..
I am making an anoucement machine that is not allowed to "answer" the call due to a billing issue.
I found that Playback with "noanwser" is usefull in this case.
$AGI->exec('Playback',"$message","noanswer")}
But when i request some values to the user with get_data, i think there is an answer anywere.
Is there a way to get_data without answering the call?
Thanks in advance!!
rv
--
_____________________________________________________________________
-- 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
--
_____________________________________________________________________
-- 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
|