Author Topic: announcement to callee / play a file to callee before transfer the caller  (Read 1589 times)


  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
I have a little problem since a few days and i found no answer. Maybe someone can help me what i make wrong here.

I have a incoming number that will redirect to an special extension 301 that redirect the caller to an outside number (the callee).
Now i have played with the option to play an sound file to the callee before the call will be complete transferred. A(x) - Play an announcement to the called party, using 'x' as the file.
The announcement should only play the the callee and not to the caller.

here is my askozia external phone extension
; EXTERNAL-PHONE-201260147953b1209d5f922
exten => 301,1,NoOp(local calling internal phone: 0401111111 - <301>)
exten => 301,n,Set(CDR(InternalCalleridNum)=301)
exten => 301,n,Set(CALLED=301)
exten => 301,n,Dial(SIP/SIP-PROVIDER-66860469553ba70d059e36/0402222222,,tA(/storage/usbdisk1/askoziapbx/media/sounds/cfe/cfe_uploaded_file_1404374434))
exten => 301,n,Hangup()

i have played also without path and many other options like this
exten => 301,n,Dial(SIP/SIP-PROVIDER-66860469553ba70d059e36/0402222222,,A(/storage/usbdisk1/askoziapbx/media/sounds/cfe/cfe_uploaded_file_1404374434))
or this
exten => 301,n,Dial(SIP/SIP-PROVIDER-66860469553ba70d059e36/0402222222,,tA(cfe_uploaded_file_1404374434))

The phone of the callee ringing and after or before pickup the caller its not playing the file.
What i make wrong here?

regards and thanks for help