[Freeswitch-users] In B2BUA mode, how can I delay answering first call

Dan Edwards DEdwards at vertical.com
Tue Oct 20 23:07:27 MSD 2015


I have attached MissingEarlyAudio.log which contains console, Sofia & SIP trace data.  Wave.xml is the dialplan I use and map.lua is a Lua script I use to map the PBX name for the user to the actual name of the user.

PBX (aka Wave)                                                                FS                                                           Browser
xxx.xxx.xxx.83                                  xxx.xxx.xxx.21                                                  xxx.xxx.xxx.156

                >>> INVITE v000008 w/no SDP
                <<< 100 Trying
                <<< 200 OK w/SDP
                >>> ACK w/SDP
                                                                Begins processing the call in the wave context
                                                                Maps the v000008 name to 22905_2, which is how the browser logged in
                                                                                                >>> INVITE 22905_2


From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Russell Treleaven
Sent: Tuesday, October 20, 2015 2:56 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] In B2BUA mode, how can I delay answering first call

the console log and sip trace would be useful as well as the relevant part of the dialplan.

On Tue, Oct 20, 2015 at 2:42 PM, Dan Edwards <DEdwards at vertical.com<mailto:DEdwards at vertical.com>> wrote:
I have a log with console, sofia logging set at 9 & SIP trace if that would help. Would you like to see that or are you asking for something else?

If I send it, do I paste it into the email or attach it?

Thank you for your help,
Dan


-----Original Message-----
From: freeswitch-users-bounces at lists.freeswitch.org<mailto:freeswitch-users-bounces at lists.freeswitch.org> [mailto:freeswitch-users-bounces at lists.freeswitch.org<mailto:freeswitch-users-bounces at lists.freeswitch.org>] On Behalf Of Stanislav Sinyagin
Sent: Tuesday, October 20, 2015 2:19 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] In B2BUA mode, how can I delay answering first call

this cannot be, as far as I now. 200 is sent only on "answer"
application, on when the bridged call is answered by the b-leg.

You need to give more insight on what's going on and how your systems are set up.

On Tue, Oct 20, 2015 at 5:27 PM, Dan Edwards <DEdwards at vertical.com<mailto:DEdwards at vertical.com>> wrote:
> I'm not executing 'answer'. Actually, the 200 OK is sent for the first call before my dialplan begins execution.
>
>
> -----Original Message-----
> From: freeswitch-users-bounces at lists.freeswitch.org<mailto:freeswitch-users-bounces at lists.freeswitch.org>
> [mailto:freeswitch-users-bounces at lists.freeswitch.org<mailto:freeswitch-users-bounces at lists.freeswitch.org>] On Behalf Of
> Stanislav Sinyagin
> Sent: Tuesday, October 20, 2015 11:01 AM
> To: FreeSWITCH Users Help
> Subject: Re: [Freeswitch-users] In B2BUA mode, how can I delay
> answering first call
>
> do you execute "answer" application before "bridge"? If so, answer can be removed.
>
>
>
> On Tue, Oct 20, 2015 at 4:11 PM, Dan Edwards <DEdwards at vertical.com<mailto:DEdwards at vertical.com>> wrote:
>> I am using FreeSWITCH as a B2BUA to handle WebRTC calls and link them
>> to a PBX that does not have WebRTC support. When the PBX calls a
>> WebRTC user, FreeSWITCH answers the initial call, then initiates the
>> call to the WebRTC user. This causes the first 2-4 seconds of the audio to be lost.
>>
>>
>>
>> Is there a way to have the first call wait until the second call is
>> answered?
>>
>>
>>
>> Thank you,
>>
>> Dan
>>
>>
>>
>>
>> _____________________________________________________________________
>> _ ___ Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org<mailto: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<mailto:FreeSWITCH-users at lists.freeswitch.org>
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-us
>> e
>> rs
>> http://www.freeswitch.org
>
> ______________________________________________________________________
> ___ Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org<mailto: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<mailto:FreeSWITCH-users at lists.freeswitch.org>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use
> rs
> http://www.freeswitch.org
>
> ______________________________________________________________________
> ___ Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org<mailto: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<mailto:FreeSWITCH-users at lists.freeswitch.org>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use
> rs
> http://www.freeswitch.org

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org<mailto: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<mailto: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<mailto: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<mailto: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/20151020/5e379242/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MissingEarlyAudio.log
Type: application/octet-stream
Size: 76289 bytes
Desc: MissingEarlyAudio.log
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151020/5e379242/attachment-0002.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: map.lua
Type: application/octet-stream
Size: 456 bytes
Desc: map.lua
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151020/5e379242/attachment-0003.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wave.xml
Type: text/xml
Size: 1770 bytes
Desc: wave.xml
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151020/5e379242/attachment-0001.xml 


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