FS has native file support so if your use PCMU codec in your channel you should can playback directly such as

originate user/1002 &playback(/tmp/a)
originate user/1002 &playback(/tmp/a.PCMU)

both will find /tmp/a.PCMU for play

-- 
Seven Du
http://www.freeswitch.org.cn
http://about.me/dujinfang
http://www.dujinfang.com

Sent with Sparrow

On Saturday, July 20, 2013 at 4:30 AM, veera wrote:

hello,


i am working on freeswitch-1.2.4 release.
How can i play .PCMU files in my module using switch_ivr_play_file function

thanks in advance,

bye

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org