[asterisk-users] Collect digits from the Callee after the Call is connected.

Doug Lytle support at drdos.info
Thu Nov 20 08:28:30 CST 2008


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."




More information about the asterisk-users mailing list