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:
|
||||
|
||||
|
||||
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());
|
||||
}
|
||||
|
||||
end:
|
||||
|
||||
|
|
Loading…
Reference in New Issue