Stefan wrote:
> sorry, it's called #StopProcessing. The idea is that this should be
> set in the event handler, i.e. in onOtherReply
After a break I tried again figure out how to prevent ivr script from
ending bye when
def onOtherReply(self, code, reason):
gets 480 Temporarily Unavailable event.
First I forced in Ivr.cpp onOtherReply(const AmSipReply& r) to always
return true. Then I put some debug in AmB2BSession.cpp ang got this:
Nov 23 11:19:49 rautu sems[6361]: [#b33b6b70] [onB2BEvent,
AmB2BSession.cpp:1040] INFO: 480 Temporalily Unavailable reply received from
other leg
Nov 23 11:19:49 rautu sems[6361]: [#b33b6b70] [onB2BEvent,
AmB2BSession.cpp:1091] INFO: ###### AmB2BSession::onB2BEvent
terminatingOtherLeg
Nov 23 11:19:49 rautu sems[6361]: [#b33b6b70] [onB2BEvent,
AmB2BSession.cpp:1100] INFO: ###### AmB2BSession::onB2BEvent calling
onOtherReply
Nov 23 11:19:49 rautu sems[6361]: [#b33b6b70] [onOtherReply, Ivr.cpp:714] INFO:
**** onOtherReply 480
Nov 23 11:19:49 rautu sems[6361]: [#b33b6b70] [onB2BEvent,
AmB2BSession.cpp:1105] INFO: ###### AmB2BSession::onB2BEvent onOtherReply call
returned true
But still even when processed var is true after
processed = onOtherReply(reply);
sems sends BYE and terminates the whole b2b call. The debug output is
the same when 486 reply is received, but the call is not terminated.
Any help on solving this would be greatly appreciated.
-- Juha
_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev