VoIP
   

How to determine which end of the call hang up?

yporat
Joined: Wed 21 of Apr, 2010

Re: How to determine which end of the call hang up?

Posted:Wed 28 of Apr, 2010 (18:31 UTC)
sometimes I have similar issues, I am interested in knowing the solution as well.

Regards,
Yosef Shevah Porat
Shimshon 367 http://www.shimshon367.com/
joshuakok
Joined: Wed 24 of Mar, 2010

How to determine which end of the call hang up?

Posted:Wed 24 of Mar, 2010 (02:54 UTC)
Hi all,
I'm currently facing an issue of drop calls and am not able to determine which end of the call has drop.
Below is the log that was captured during a simulation test, where caller is my extension and recipient is a mobile number.

When caller hangup:
-- Executing [h@macro-dialout-trunk:1] Macro("SIP/8011-09fd3d78", "hangupcall|") in new stack
    -- Executing [s@macro-hangupcall:1] ResetCDR("SIP/8011-09fd3d78", "w") in new stack
    -- Executing [s@macro-hangupcall:2] NoCDR("SIP/8011-09fd3d78", "") in new stack
    -- Executing [s@macro-hangupcall:3] GotoIf("SIP/8011-09fd3d78", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,6)
    -- Executing [s@macro-hangupcall:6] GotoIf("SIP/8011-09fd3d78", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] GotoIf("SIP/8011-09fd3d78", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,11)
    -- Executing [s@macro-hangupcall:11] Hangup("SIP/8011-09fd3d78", "") in new stack
  == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/8011-09fd3d78' in macro 'hangupcall'
  == Spawn h extension (macro-dialout-trunk, h, 1) exited non-zero on 'SIP/8011-09fd3d78'
  == Spawn extension (macro-dialout-trunk, s, 22) exited non-zero on 'SIP/8011-09fd3d78' in macro 'dialout-trunk'
  == Spawn extension (from-internal, 01________, 4) exited non-zero on 'SIP/8011-09fd3d78'


When Recieptient hangup:
    -- Executing [h@macro-dialout-trunk:1] Macro("SIP/8011-09f622f0", "hangupcall|") in new stack
    -- Executing [s@macro-hangupcall:1] ResetCDR("SIP/8011-09f622f0", "w") in new stack
    -- Executing [s@macro-hangupcall:2] NoCDR("SIP/8011-09f622f0", "") in new stack
    -- Executing [s@macro-hangupcall:3] GotoIf("SIP/8011-09f622f0", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,6)
    -- Executing [s@macro-hangupcall:6] GotoIf("SIP/8011-09f622f0", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] GotoIf("SIP/8011-09f622f0", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,11)
    -- Executing [s@macro-hangupcall:11] Hangup("SIP/8011-09f622f0", "") in new stack
  == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/8011-09f622f0' in macro 'hangupcall'
  == Spawn h extension (macro-dialout-trunk, h, 1) exited non-zero on 'SIP/8011-09f622f0'
  == Spawn extension (macro-dialout-trunk, s, 22) exited non-zero on 'SIP/8011-09f622f0' in macro 'dialout-trunk'
  == Spawn extension (from-internal, 01________, 4) exited non-zero on 'SIP/8011-09f622f0'



As shown above, both logs are the same.
Is there anyway for me to log down which end of the call hangs up?