search for: no_cid

Displaying 2 results from an estimated 2 matches for "no_cid".

Did you mean: docid
2007 Nov 09
3
How to get ten-digit number?
...mping forth to the "cid" extension: ======== exten => 777,1,Set(CALLERIDNUM=${CALLERID(num)}) exten => 777,n,GosubIf($[${LEN(${CALLERIDNUM})} != 10 ]?nocid,1:cid,1) ;prompt user for 10-digit #, and Return to GosubIf() exten => nocid,1,Read(CALLERIDNUM,/root/asterisk_sound_files/no_cid,10) exten => nocid,n,Verbose(User typed ${CALLERIDNUM}) ;Why does it hang up instead of jumping back to GosubIf? exten => nocid,n,Return exten => cid,1,Set(CALLERIDNAME = ${DB(cidname/${CALLERIDNUM})}) exten => cid,n,Background(/root/asterisk_sound_files/main_menu) exten => cid,n,Se...
2007 Oct 21
2
Prompting for number when CID number not sent?
...ting users for their phone number? Here's what I have at this point: ======== exten => s,1,Answer ;CID sent : go to main_menu exten => s,n,Background(/root/asterisk_sound_files/main_menu) ;CID hidden : prompt for CID and loop until ok exten => s/,n,Playback(/root/asterisk_sound_files/no_cid) exten => _[1-4],1,Playback(/root/asterisk_sound_files/you_can_record_msg) exten => _[1-4],n,Record(/tmp/asterisk-msg:wav) exten => _[1-4],n,Wait(1) exten => _[1-4],n,Playback(/tmp/asterisk-msg) exten => _[1-4],n,wait(1) ;here, rewrite CID name by looking up CID # in database ;put...