Try send ringing before early media.


On Tue, Dec 8, 2015, 16:22 Luis Daniel Lucio Quiroz <luis.daniel.lucio@gmail.com> wrote:

Sounds nice a cussed problem.

First, convert your sound to wav, mono, 8khz
You will offload FreeSWITCH and retry

Le 8 déc. 2015 7:46 AM, "Michael Nielsen" <mic.niel84@gmail.com> a écrit :
Yes. For ringback music. When answering sound is there. 

On Tuesday, December 8, 2015, Sergey Safarov <s.safarov@gmail.com> wrote:
Silence on leg connected via Twilio?

On Tue, Dec 8, 2015 at 1:49 PM, Michael Nielsen <mic.niel84@gmail.com> wrote:
Hi,

I found out that it's only when there's an external sip trunk in use (Twilio in this case) that there's silence.
Between subscribers directly connected to FS it works.

On Tue, Dec 8, 2015 at 11:25 AM, Michael Nielsen <mic.niel84@gmail.com> wrote:
I'm running FreeSWITCH

In my log I get Action set(ringback=/etc/freeswitch/ringback.mp3) and also, later on:

2015-12-08 10:20:00.539190 [DEBUG] switch_ivr_originate.c:1274 Raw Codec Activation Success L16@8000hz 1 channel 20ms

2015-12-08 10:20:00.539190 [DEBUG] switch_core_codec.c:221 sofia/external/+4454443356778@my-domain.pstn.twilio.com Push codec L16:100

2015-12-08 10:20:00.539190 [DEBUG] switch_ivr_originate.c:1306 Play Ringback File [/etc/freeswitch/ringback.mp3]

2015-12-08 10:20:00.539190 [WARNING] switch_core_file.c:341 File has 2 channels, muxing to 1 channel will occur.

2015-12-08 10:20:00.699194 [DEBUG] switch_rtp.c:6640 Correct audio ip/port confirmed.


However, there is no sound in my real GSM phone when waiting for answer. Just silence.


On Mon, Dec 7, 2015 at 10:21 PM, Brian West <brian@freeswitch.org> wrote:
I can't replicate the behavior you're describing, can you give me a few more details?  What REV of FreeSWITCH are you running?

On Mon, Dec 7, 2015 at 2:41 PM, Michael Nielsen <mic.niel84@gmail.com> wrote:
Yes. 
When I put instant_ringback on it seems
to be silent when ringing - but when I hang up in one end the music actually starts in the other end. Kind of weird. 
Putting ignore_early_media makes the music play less than a seconds at first and then normal ringtone...


On Monday, December 7, 2015, Denis Papes <shishko69@gmail.com> wrote:
Did you load mod_shout?


On 12/07/2015 07:52 PM, Michael Nielsen wrote:
If I remove my ringback-variable I do get a normal ringtone.
So I guess it's something with my file perhaps - or...?

On Mon, Dec 7, 2015 at 7:49 PM, Anthony Minessale <anthony.minessale@gmail.com> wrote:
Make sure you add {ignore_early_media=true} to dial string and possibly also {instant_ringback=true} if your call does not get any ringing indication. (180 183 etc) or is not SIP.


On Mon, Dec 7, 2015 at 12:33 PM, Michael Nielsen <mic.niel84@gmail.com> wrote:
Hi,

I'm trying to add a custom ringback tone on my FreeSWITCH server.

I've created a .mp3 file and added:

      <action application="set" data="ringback=/home/user/ringback.mp3"/>


However, when trying to call, there's just silence...

Should the format be different, and if so how do I convert this?

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

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.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



--
Anthony Minessale II       ♬ @anthmfs  ♬ @FreeSWITCH  ♬

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

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.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



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

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.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


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

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.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



--

Brian West
brian@freeswitch.org


Twitter: @FreeSWITCH , @briankwest
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com

Got Bugs? Report them here! | Reddit: /r/freeswitch

T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378)
iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest


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

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.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



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

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.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


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

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.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
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.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