[Freeswitch-users] can't add $us-ring at end of ringback string? FS Aborts
Mario G
mario_fs at mgtech.com
Thu Nov 11 15:22:23 PST 2010
Fixing the syntax did the trick. And thanks for the loop -1, all is well now. Thanks!
Mario G
On Nov 11, 2010, at 3:00 PM, Anthony Minessale wrote:
> I fixed the abort in tree so update
>
> also i see some errs in your syntax:
>
> its file_string:// then a list of paths sep by ! the // only happens once
>
> file_string:///foo.wav!/bar.wav
>
> The /// is because everything after // is parsed
>
> file_string:// ----> /foo.wav ! ---> /bar.wav
>
> also
>
> for the us-ring you will want to do
>
> tone_stream://${us-ring};loops=-1
>
> <action application="set"
> data="ringback=file_string:///ram/sr8k.wav!tone_stream://${us-ring}"/>
>
>
>
> On Thu, Nov 11, 2010 at 2:36 PM, Mario G <mario_fs at mgtech.com> wrote:
>> I want a custom ringback play 2 files then normal ringing. With ${us-ring}
>> added it does not work and FS aborts. Without ${us-ring} the files play but
>> no ring afterwards. I tried ${us-ring},
>> tone_stream://${us-ring}, local_stream:${us-ring}, etc.
>> Thanks,
>> Mario G
>> <action application="set"
>> data="ringback=file_string://${mvsounds}hi-long.wav!//${sayname}!tone_stream://${us-ring}"/>
>> Freeswitch Aborts:
>> 2010-11-11 12:26:08.413942 [DEBUG] switch_core_file.c:176 File
>> ///usr/local/freeswitch/conf/mvsounds/mario.wav sample rate 16000 doesn't
>> match requested rate 8000
>> Assertion failed: (fh->file_interface != ((void *)0)), function
>> switch_core_file_read, file src/switch_core_file.c, line 210.
>> Abort trap (core dumped)
>> _______________________________________________
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>
>
>
> --
> Anthony Minessale II
>
> FreeSWITCH http://www.freeswitch.org/
> ClueCon http://www.cluecon.com/
> Twitter: http://twitter.com/FreeSWITCH_wire
>
> AIM: anthm
> MSN:anthony_minessale at hotmail.com
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org
> googletalk:conf+888 at conference.freeswitch.org
> pstn:+19193869900
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
More information about the FreeSWITCH-users
mailing list