mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-05-18 05:36:23 +00:00
just ok mwi notifies
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12865 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
9fb1c60825
commit
5e26d325b9
@ -254,7 +254,13 @@ void sofia_handle_sip_i_notify(switch_core_session_t *session, int status,
|
|||||||
|
|
||||||
error:
|
error:
|
||||||
|
|
||||||
|
|
||||||
|
if (sip->sip_event && sip->sip_event->o_type && !strcasecmp(sip->sip_event->o_type, "message-summary")) {
|
||||||
|
/* unsolicited mwi, just say ok */
|
||||||
|
nua_respond(nh, SIP_200_OK, NUTAG_WITH_THIS(nua), TAG_END());
|
||||||
|
} else {
|
||||||
nua_respond(nh, 481, "Subscription Does Not Exist", NUTAG_WITH_THIS(nua), TAG_END());
|
nua_respond(nh, 481, "Subscription Does Not Exist", NUTAG_WITH_THIS(nua), TAG_END());
|
||||||
|
}
|
||||||
|
|
||||||
end:
|
end:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user