Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Not hearing first prompt


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
info at tripple-o.nl
Guest





PostPosted: Mon May 19, 2008 3:45 pm    Post subject: [asterisk-users] Not hearing first prompt Reply with quote

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.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services