[Freeswitch-users] GSM to GSM bridge with ringback question

Anonim Stefan fanx07 at gmail.com
Fri Feb 24 11:23:25 MSK 2017


Hi Brian,

I put the Freeswitch logs in previous mail also:
http://pastebin.com/XkcX7HXg. If comment out the session.answer() in the
python script, 200 OK won't go to A-leg until B-leg answers.

Further test: If I try to "playback" a 8KHz file for A-leg when it answers,
it behaves the same as setting the ringback (i.e. won't get any incoming
RTP after)

Thank you,
Stefan

On Fri, Feb 24, 2017 at 1:07 AM, Brian West <brian at freeswitch.org> wrote:

> Is one leg already answered?  Without logs its hard to tell.
>
>
> On Thu, Feb 23, 2017 at 6:17 AM, Anonim Stefan <fanx07 at gmail.com> wrote:
>
>> Hi,
>>
>> I'm doing a GSM call bridge between two phones connected to a nanoBTS,
>> with no dtmf. I am facing an issue only when setting ringback; here's my
>> dialplan python code:
>>
>>         bts_command="{ignore_early_media=true,bridge_early_media=fal
>> se}sofia/gateway/gw/43112"
>>         session.answer()
>>         session.execute("set","ringback=local_stream://moh") -> plays
>> the stream at 8000 Khz
>>         session.execute("bridge", bts_command)
>>
>> The problem is that when the B-peer answers, A-party ringback stops and I
>> *can not* hear the B-party. If I'm doing this without the ringback line it
>> works ok. See logs at [1] for this scenario.
>>
>> This is not happening with PCMA codec tests (which also have dtmf codec).
>> I tried also libearal or disabled DTMF without success.
>>
>> I am using FreeSWITCH version: 1.6.12~64bit ( 64bit)
>>
>> Did something similar happen to someone before and has an idea how to fix
>> this, while still keeping the ringback tone?
>>
>> [1] http://pastebin.com/XkcX7HXg
>>
>> Thank you,
>> Stefan
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at 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 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
>>
>
>
>
> --
>
> *Brian West*
> brian at freeswitch.org
>
> *Twitter: @FreeSWITCH , @briankwest*
>
> http://www.freeswitchbook.com
> http://www.freeswitchcookbook.com
>
> Allison prompts for FreeSWITCH:
>
> *https://www.gofundme.com/allison-prompts-for-freeswitch*
> <https://www.gofundme.com/allison-prompts-for-freeswitch>
>
> Wish to schedule a meeting?
>
> http://app.timebridge.com/#/meet/freeswitch
>
> Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit:
> /r/freeswitch <https://www.reddit.com/r/freeswitch>
>
> *T:*+19184209001 <(918)%20420-9001> | *F:*+19184209002 <(918)%20420-9002>
> | *M:*+1918424WEST (9378)
> *Skype:*briankwest
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at 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 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170224/1055de38/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list