Hi, I have configured asterisk now with ENUM lookups which are working really perfect. Now I want to play a small soundfile before dial the number to inform the caller which protocl is used (SIP, IAX2 or ISDN). How can I do this? With Playback it doesn't seems to work: [iax2-sipport-out] ; with leading 3 using IAX-sipport exten => s,1,NoOp(Dialing ${DIALSTR} with iax2-sipport-out) exten => s,2,Answer exten => s,3,Playback(forwarded-iax) exten => s,4,Dial(IAX2/portunity-out/${DIALSTR},,trRg) exten => s,5,return Best regards, Matthias -- "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning." -- Rich Cook
What exactly doesn't work? Could you just paste the Asterisk debug output so that we could figure out which part has the problem. Maybe the "forwarded-iax" prompt does not exist, and it simply cannot play it... :) Regards, Hohenzolern Matthias Fechner wrote:>Hi, > >I have configured asterisk now with ENUM lookups which are working >really perfect. > >Now I want to play a small soundfile before dial the number to inform >the caller which protocl is used (SIP, IAX2 or ISDN). > >How can I do this? >With Playback it doesn't seems to work: >[iax2-sipport-out] >; with leading 3 using IAX-sipport >exten => s,1,NoOp(Dialing ${DIALSTR} with iax2-sipport-out) >exten => s,2,Answer >exten => s,3,Playback(forwarded-iax) >exten => s,4,Dial(IAX2/portunity-out/${DIALSTR},,trRg) >exten => s,5,return > > >Best regards, >Matthias > > >
----- Steve Totaro <stotaro@totarotechnologies.com> wrote:> If you converted a wav file to gsm in the sounds directory, you have > to > delete the original wav file. Not that this is the issue in your case > but just something I have run across.That should not be true. Asterisk will choose the 'best' format available when it tries to play the sound file, so it can easily handle the file being present in multiple formats. -- Kevin P. Fleming Senior Software Engineer Digium, Inc.