it turned out that it is sems ivr that is broken. when connectCallee call is connected, sems sends out two re-invites with different branch values to caller and when sems gets bye from caller, it sends out two byes to callee.
the problem can be reproduced by this minimal test app when caller hangs up after call is connected to callee. ---------------------------------------------------------------------------------- from log import * from ivr import * WELLCOME_MSG = "/home/jh/test/gong.wav" CALLEE_URI = "sip:[email protected]" class IvrDialog(IvrDialogBase): def onSessionStart(self): info("starting b2bua test ...") self.setNoRelayonly() self.welcome_msg = IvrAudioFile() self.welcome_msg.open(WELLCOME_MSG, AUDIO_READ) self.enqueue(self.welcome_msg,None) def onEmptyQueue(self): info("connecting " + CALLEE_URI + " to " + CALLEE_URI) self.disconnectMedia() self.mute() self.connectCallee(CALLEE_URI, CALLEE_URI) return def onBye(self): self.terminateOtherLeg() self.stopSession() ----------------------------------------------------------------------------------- if needed, i can provide debug and pcap of the test. -- juha _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
