mobile_push: handle dlg errors gracefully

sayer/1.4-spce2.6
Stefan Sayer 14 years ago
parent 8c0a4b6679
commit 0e6245da71

@ -30,6 +30,13 @@ import(mod_curl);
initial state START;
transition "SIP dialog error" START - exception; test(#type=="dlg") / {
log(1, "Error in accepting call:");
logParams(1);
set($connect_session=0);
stop(false);
} -> END;
transition "DB exception" START - exception / {
log(1, "Error in initializing mobile push:");
logAll(1);
@ -55,6 +62,7 @@ transition "invite" START - invite / {
-- send 183 with early media
dlg.acceptInvite(183, "Progress");
throwOnError();
-- no default 200 OK
set($connect_session=0);

Loading…
Cancel
Save