[Freeswitch-users] playing sound file without answering the call

Brian West brian at freeswitch.org
Tue Aug 19 06:18:15 PDT 2008


Using setCallerData isn't the proper way to set the callerid.

http://wiki.freeswitch.org/wiki/Channel_Variables#origination_caller_id_name

and

http://wiki.freeswitch.org/wiki/Channel_Variables#origination_caller_id_number

As for playing a file to the called party try

http://wiki.freeswitch.org/wiki/Channel_Variables#group_confirm_file

/b





On Aug 19, 2008, at 6:39 AM, vidhya sagar dixit wrote:

>                                          
> new_session.setCallerData("caller_id_name", "ABC");
>                                          
> new_session.setCallerData("caller_id_number", "2121231234");

Brian West
sip:brian at freeswitch.org







More information about the FreeSWITCH-users mailing list