Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

To override restriction of being able to dial feature code 74 as external caller - we can use the following Custom application: 

Principle of work: 

We are using old recording file, in our example it will be "test": 

This is the original file that was recorded via Feature Code 74/Message recording option in Sounds menu. Idea is to replace existing file with new one.  When caller will reach to this entry of the dialplan - he will hear "Beep" sound and recording will start, however you can add "Play sound" application to announce that your message will be recorded after "Beep" sound. 

To do this, we need to build such row in the dialplan:


Record(/rw2/var/lib/callweaver/sounds/00000/test:alaw, 0,0,k)       | ORIGINAL VIEW: Record(filename:format[|silence][|maxduration][|option])

Where :

  • (/rw2/var/lib/callweaver/sounds/00000/) - /path/to/file 

    NOTE: How to see /path/to/file  -  open your dialplan and use "Play sound" application and choose your message from Sounds menu: 
    /rw2/var/lib/callweaver/sounds/00000/ - is DEFAULT path and is used by DEFAULT . If you will place your recording in other folder - you will see /path/to/file. In this example file is stored at ~/00000/MusicOnHold/ folder . 
  • test:alaw - file name and format 
  •  silence: seconds of silence allowed before the recording is stopped. If missing or 0, silence detection is disabled. ( In our case this is 0 ) 
  •  maxduration: maximum recording duration in seconds. If missing or 0, there is no maximum.  ( In our case this is 0 ) 
  •  option: may be ‘skip’ to return immediately if the line is not up, or ‘noanswer’ to record even if the line is not up. ( In our case this is k )

    Option parameters in 1.8:

    •  a: Append to existing recording rather than replacing.
    •  n: Do not answer, but record anyway if line not yet answered.
    •  q: quiet (do not play a beep tone).
    •  s: skip recording if the line is not yet answered.
    •  t: use alternate ‘*’ terminator key (DTMF) instead of default ‘#’
    •  x: Ignore all terminator keys (DTMF) and keep recording until hangup.
    •  k: Keep recorded file upon hangup.
    •  y: Terminate recording if *any* DTMF digit is received.
  • No labels