info at tripple-o.nl Guest
|
Posted: Mon May 19, 2008 3:45 pm Post subject: [asterisk-users] Not hearing first prompt |
|
|
This does the trick for me. Sorry for not posting it earlier
As long as there is no answer the channel takes a second pause by
jumping to (wait). As soon as the status is not "NOANSWER" anymore the
routine jumps to (go_on) and plays the "special_message" or any other
message of our choice.
exten => s,1(answer),Answer()
exten => s,n(gotoif),Gotoif($[ "${DIALSTATUS}" : "NOANSWER"]?wait:go_on)
exten => s,n(wait),Wait(1)
exten => s,n,Goto(gotoif)
exten => s,n(go_on),Playback(special_message)
Erik de Wild
Tripple-o
Your Asterisk migration partner
Quote: | Another solution that works for me is to add "Playback(silence/1)"
just
before whatever you are about to do. Something about the playback
command opens the channel up.
-Brent
Sherwood McGowan wrote:
Quote: | Alan Lord wrote:
Quote: | Sherwood McGowan wrote:
<snip />
Quote: | Hrm...I have encountered this before and sometimes doing an
explicit
Answer() then a Wait(2), then calling the service can help.
Hope this is helpful
Sherwood McGowan
| Bingo!
Thanks a bunch. That sorted it.
Al
| Fantastic! Very glad I could help. |
|
|
|