also i think the problem that the calls on on astrisk side so the phone the the call was disconnected, then u get the beep beep beep… after disconnected call sound
L(x[:y][:z]): Limit the call to ‘x’ ms, warning when ‘y’ ms are left, repeated every ‘z’ ms) Only ‘x’ is required, ‘y’ and ‘z’ are optional. Numbers must be integers- beware of AGI scripts that may return long integers in scientific notation (esp PHP 5.2.5&6) The following special variables are optional for limit calls: (pasted from app_dial.c)
LIMIT_PLAYAUDIO_CALLER - yes|no (default yes) - Play sounds to the caller.
LIMIT_PLAYAUDIO_CALLEE - yes|no - Play sounds to the callee.
LIMIT_TIMEOUT_FILE - File to play when time is up.
LIMIT_CONNECT_FILE - File to play when call begins.
LIMIT_WARNING_FILE - File to play as warning if 'y' is defined. If LIMIT_WARNING_FILE is not defined, then the default behaviour is to announce ("You have [XX minutes] YY seconds").
No.
What i am trying to achive is like when you dial *79
You hear the messages "Do not desturib deactivted"
Then the session ends after 3sec, you hear nothing. (no hangup Sound)
If i use Hangup Command, it close the session but then you hear the common sound of the ta ta ta ta when someone closed the line.
It is just possible that your dialplan leaves the call appearing unanswered, and giving an explicit normal clearing cause would help. However it may just be the phone reminding you to hangup. One would need to see the full dialplan and log to see if you were getting non-normal clearing.
Another approach to sending the DTMF would be to use G on Dial and an explicit PlayDTMF.
one last thing, is it possible to eliminate the sound on execute of dial cmd?
like sending dial to background, i dont want to hear the beep, and want to my my own sound.