Google
  Web www.spinics.net

Re: Collect digits from the Callee after the Call is connected.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Simith Nambiar wrote:
> Hello Darrin / Doug,
>                                  Thank you for your response, i find 
> that the Read Aplication blocks for input and  returns when a DTMF is 
> dialled, which is fine.
> My problem is that when i use the Dial Application , it is blocking too, 
> so wheee do i put the Read call in my extensions.conf, this is how it looks.
>
> exten => 807,1,Dial(SIP/807)
> exten => 807,n,Hangup()
>
> Where can i put the below Read ? 
> exten => 807 ,n, Read(DIGITLIST,,1)
>   

;**********************
;* Get number from user
;**********************

exten => 807,1,Answer()
exten => 807,n,Read(get-room-num|conf-getconfno)

;***************************************
;*  Echo that number back to the console
;***************************************

exten => 807,n,NoOP(${conf-getchannel})

;********************
;* Dial extension 807
;********************

exten => 807,n,Dial(SIP/807)

;*******************************
;* Play back entered info to 807
;*******************************

exten => 807,n,Playback(${conf-getchannel})

;********
;* Hangup
;********

exten => 807,n,Hangup()

Doug


-- 
 
Ben Franklin quote:

"Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."


_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[Home]     [Open H.323]     [Gnu Gatekeeper]     [Info Cyrus]     [ALSA User]     [Fedora Linux Users]     [DCCP]     [Gimp]     [100% Free Online Dating]     [Yosemite News]     [Yosemite Photos]     [Deep Creek Hot Springs]     [Yosemite Campsites]     [Building Telephony Systems with Asterisk]     [ISDN Cause Codes]


Add to Google Powered by Linux