[Freeswitch-users] What does it mean by LOSE_RACE

Adeel Ansari adeel.gnome at gmail.com
Wed Aug 20 01:37:45 PDT 2008


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080820/11df5c19/attachment-0002.html 


More information about the FreeSWITCH-users mailing list