during my dsm tests, i have not been able to figure out, how to prevent
forwarding of B2B.otherBye() to the caller.
i have tried to play an announcement after receiving bye from callee:
transition "bye from callee" connected - B2B.otherBye() / {
info("==== received bye from callee");
B2B.sendReinvite(true);
} -> thanks_for_calling;
state thanks_for_calling enter {
info("==== entering thanks_for_calling");
playFile("/usr/lib/sems/audio/thanks_for_calling.wav");
};
transition "audio_ends" thanks_for_calling - noAudio / {
info("==== audio ends at thanks_for_calling");
stop(true);
} -> end;
i get to syslog:
Sep 28 23:32:28 lohi sems[17415]: [#7f49f15fa700] [execute,
DSMCoreModule.cpp:634] INFO: FSM: '==== received bye from callee'
Sep 28 23:32:28 lohi sems[17415]: [#7f49f15fa700] [execute,
DSMCoreModule.cpp:634] INFO: FSM: '==== entering thanks_for_calling'
Sep 28 23:32:28 lohi /usr/bin/sip-proxy[10033]: INFO: Routing in-dialog BYE
<sip:[email protected]:49074;transport=tcp> from
<sip:[email protected]> to <sip:192.98.102.10:50767;transport=tcp>
based on gruu
that is, my script forwards bye from the callee to the caller rather
than sending the caller a re-invite.
i didn't find anything about B2B.sendReinvite in the examples. what is
it that i'm missing in above?
-- juha
_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems