RingBack for PSTN call

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

RingBack for PSTN call

This post has NOT been accepted by the mailing list yet.

I want to set .wav as ringback tone for PSTN call, like caller tune. I have implemented it partially for local calls by getting idea from here, https://wiki.freeswitch.org/wiki/Custom_Ring_Back_Tones 

i have set the param like this, $xml .="<action application=\"set\" data=\"ringback=/usr/local/freeswitch/sounds/en/us/callie/astpp-menu.wav\"/>"; before bridge line in dialplan.

This works with local calls , but when i dial PSTN call then i hear only ring tone and not my set .wav audio.
Any suggestions are welcome.

Ankit Doshi