[Asterisk-Dev] Receive DTMF with BackGround & NOANSWER

reseaux reseauxit at yahoo.it
Tue Oct 12 07:04:23 MST 2004


OK now Works... Sorry Overlap=yes.. seems to broke the Read..
Thanks
Dimitri

On Tuesday 12 October 2004 15:40, reseaux wrote:
> More Info About my problem.. sometimes before ask is better to Read... :-)
> 	i have see from "CLI> show application Read" and report:
> ----------------------
> [Description]:
>   Read(variable[|filename][|maxdigits][|option])
>
> Reads a #-terminated string of digits from the user in to the given
> variable, optionally playing a given filename first.
>   maxdigits  -- maximum acceptable number of digits. Stops reading after
>                 maxdigits have been entered (without requiring the user to
>                 press the '#' key).
>                 Defaults to 0 - no limit - wait for the user press the '#'
> key.
>                 Any value below 0 means the same. Max accepted value is
> 255. option     -- may be 'skip' to return immediately if the line is not
> up, or 'noanswer' to read digits even if the line is not up.
>
> Returns -1 on hangup or error and 0 otherwise.
> -----------------------
> in my dialplan i have configured:
> exten => _X.,1,Read(NUMBER|beep|1|noanswer)
> exten => _X.,2,NoOp(${NUMBER})
>
> But seems to not work using "NOANSWER" option, but works well without it...
> Some suggest?
> Thanks
> Dimitri
>
> On Tuesday 12 October 2004 15:02, reseaux wrote:
> > Dear List
> > 	I ask for a possible solution (if there are one..) or suggest to have
> > this kind of situation:
> > Call arrived to my PBX -> Play BackGround(mex,noanswer) ->Send DTMF to my
> > PBX -> and go to and EXTEN
> >
> > Every step without send "CONNECT" but only using "PROGRESS".
> > I know is not good Telco Service but i need it for my PBX.
> > I have investigate using ZapBarge on Zap Channel and I have hear the Both
> > side on the Call, i try to explain much better. I can hear for example
> > the DTMF tone send by the Caller so i think is possible to detect it
> > using the BackGround App this scenario is test if Telco equipment and i
> > cant see no connect using the option NOASNWER in BackGroup app.
> > Im not a C guru and im not so good developer, someone can give me some
> > hit/tips/info to have the DTMF detection in PROGRESS scenario?
> > Thanks in advance for every help.
> > Dimitri
> > _______________________________________________
> > Asterisk-Dev mailing list
> > Asterisk-Dev at lists.digium.com
> > http://lists.digium.com/mailman/listinfo/asterisk-dev
> > To UNSUBSCRIBE or update options visit:
> >    http://lists.digium.com/mailman/listinfo/asterisk-dev
>
> -------------------------------------------------------
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev



More information about the asterisk-dev mailing list