[Freeswitch-users] What does it mean by LOSE_RACE

Adeel Ansari adeel.gnome at gmail.com
Wed Aug 20 04:25:29 PDT 2008


My intention is, say

using 1001 ---  voip user1 -------> hardphone1
using 1001 ---  voip user2 -------> hardphone2
and then bridge both, so they can talk to each other.

Am I making sense here? I mean, can we bridge one or more session using
bridge? Or do we need to do it via conference?

Thanks.

On Wed, Aug 20, 2008 at 4:37 PM, Adeel Ansari <adeel.gnome at gmail.com> wrote:

> Hi Guys,
>
> I have got this error lately, while trying to bridge 2 calls.
>
> ====
> 2008-08-20 16:27:48 [NOTICE] switch_ivr_originate.c:1311
> switch_ivr_originate() Hangup sofia/external/01160163472932
> [CS_CONSUME_MEDIA] [LOSE_RACE]
> 2008-08-20 16:27:48 [DEBUG] switch_channel.c:1362
> switch_channel_perform_hangup() Kill sofia/external/01160163472932 [KILL]
> 2008-08-20 16:27:48 [DEBUG] switch_core_session.c:727
> switch_core_session_signal_state_change() Kill sofia/external/01160163472932
> [BREAK]
> 2008-08-20 16:27:48 [DEBUG] sofia_glue.c:1756 sofia_glue_activate_rtp()
> AUDIO RTP [sofia/internal/1001 at 192.168.253.101] 192.168.253.101 port 24120
> -> 192.168.253.101 port 8880 codec: 8 ms: 20
> 2008-08-20 16:27:48 [DEBUG] switch_rtp.c:813 switch_rtp_create() Starting
> timer [soft] 160 bytes per 20000ms
> 2008-08-20 16:27:48 [DEBUG] switch_core_state_machine.c:442
> switch_core_session_run() (sofia/external/01160163472932) State
> CONSUME_MEDIA going to sleep
> 2008-08-20 16:27:48 [DEBUG] switch_core_state_machine.c:365
> switch_core_session_run() sofia/external/01160163472932 Running State Change
> CS_HANGUP
> 2008-08-20 16:27:48 [DEBUG] switch_core_state_machine.c:393
> switch_core_session_run() (sofia/external/01160163472932) State HANGUP
> 2008-08-20 16:27:48 [DEBUG] mod_sofia.c:264 sofia_on_hangup() Channel
> sofia/external/01160163472932 hanging up, cause: LOSE_RACE
> 2008-08-20 16:27:48 [DEBUG] mod_sofia.c:328 sofia_on_hangup() Sending
> CANCEL to sofia/external/01160163472932
> 2008-08-20 16:27:48 [DEBUG] switch_core_state_machine.c:46
> switch_core_standard_on_hangup() Standard HANGUP
> sofia/external/01160163472932, cause: LOSE_RACE
> ====
>
> One phone rang not the other, as we can see the cause from the error log.
> Below is the way I am bridging calls.
>
> ====
>       <extension name="con-1019" continue="true">
>           <condition field="destination_number" expression="^1019$">
>               <action application="set" data="call_timeout=20"/>
>               <action application="bridge"
> data="sofia/gateway/gizmo1/011xxxxxxxx,sofia/gateway/gizmo2/011yyyyyyyy" />
>           </condition>
>       </extension>
> ====
>
> Thanks for your support.
>
> --
> Best,
> Adeel Ansari
>
> http://www.linkedin.com/in/adeelansari
>



-- 
Best,
Adeel Ansari

http://www.linkedin.com/in/adeelansari
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080820/c37bcada/attachment-0002.html 


More information about the FreeSWITCH-users mailing list