[Freeswitch-users] Bridge an incoming call to an external SIP address

Cato Gonzalez catogonzalez at gmail.com
Wed Nov 23 15:48:30 MSK 2016


Hi Steven, thanks for your reply.

Yes, you are right, I had it all backwards :(

I solved this by bridging to a gateway but *also* had to place this before
bridging the call:

            <action application="set" data="bypass_media=true"/>

Thanks again for replying.


On Tue, Nov 22, 2016 at 6:14 PM, Steven Ayre <steveayre at gmail.com> wrote:

> Are you sure 'internal' is the sofia profile you want to be using to reach
> an external address?
>
> On 21 November 2016 at 13:35, Cato Gonzalez <catogonzalez at gmail.com>
> wrote:
>
>> Hi everyone,
>>
>> I am trying to get FS to route inbound calls to an outside sip provider
>> but I am getting the call hung up on the FS side just upon the first or
>> second ring on the B-leg. The diaplan action being executed is:
>>
>>          <action application="bridge" data="sofia/internal/XXX at sip.l
>> inphone.org"/>
>>
>> I have a softphone registered to this provider sip.linphone.org and it
>> works well when calling XXX from some other IP phone. FS reports this in
>> the logs:
>>
>> [DEBUG] switch_ivr_originate.c:1274 Raw Codec Activation Success
>> L16 at 48000hz 1 channel 20ms
>> [DEBUG] switch_core_codec.c:221 sofia/internal/anonymous at webrt
>> c.sip.mydomain.co Push codec L16:100
>> [DEBUG] switch_ivr_originate.c:1343 Play Ringback Tone
>> [%(2000,4000,440,480)]
>> [DEBUG] sofia.c:6760 Channel sofia/internal/anonymous at webrt
>> c.sip.mydomain.co entering state [terminated][500]
>> [NOTICE] sofia.c:7779 Hangup sofia/internal/anonymous at webrt
>> c.sip.mydomain.co [CS_EXECUTE] [NORMAL_TEMPORARY_FAILURE]
>> [DEBUG] switch_core_codec.c:246 sofia/internal/anonymous at webrt
>> c.sip.mydomain.co Restore previous codec opus:116.
>> [NOTICE] switch_ivr_originate.c:3523 Hangup sofia/external/
>> XXX at sip.linphone.org [CS_CONSUME_MEDIA] [ORIGINATOR_CANCEL]
>>
>> Result is the same if I try to call any other sip destination. I
>> appreciate any input anyone may give: have been working on this for a week
>> already.
>>
>> Thanks,
>>
>> Cato
>>
>>
>>
>>
>> _________________________________________________________________________
>> 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
>>
>
>
> _________________________________________________________________________
> 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/20161123/a07a5cd0/attachment.html 


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