return;
}
}
- switch_channel_set_variable(channel, "endpoint_disposition", "NO CODECS");
+ if (channel) {
+ switch_channel_set_variable(channel, "endpoint_disposition", "NO CODECS");
+ }
nua_respond(nh, SIP_488_NOT_ACCEPTABLE,
//SIPTAG_CONTACT(tech_pvt->contact),
TAG_END());
return;
}
}
- switch_channel_set_variable(channel, "endpoint_disposition", "NO CODECS");
+ if (channel) {
+ switch_channel_set_variable(channel, "endpoint_disposition", "NO CODECS");
+ }
nua_respond(nh, SIP_488_NOT_ACCEPTABLE,
//SIPTAG_CONTACT(tech_pvt->contact),
TAG_END());
return;
}
}
- switch_channel_set_variable(channel, "endpoint_disposition", "NO CODECS");
+ if (channel) {
+ switch_channel_set_variable(channel, "endpoint_disposition", "NO CODECS");
+ }
nua_respond(nh, SIP_488_NOT_ACCEPTABLE,
//SIPTAG_CONTACT(tech_pvt->contact),
TAG_END());