ast_log(LOG_DEBUG,"Got a subscription within the context of another call, can't handle that - %s (Method %s)\n",p->callid,sip_methods[p->initreq.method].text);
ast_log(LOG_DEBUG,"Got a subscription within the context of another call, can't handle that - %s (Method %s)\n",p->callid,sip_methods[p->initreq.method].text);
return0;
return0;
}elseif(debug){
}elseif(debug){
if(p->subscribed!=NONE)
if(resubscribe)
ast_log(LOG_DEBUG,"Got a re-subscribe on existing subscription %s\n",p->callid);
ast_log(LOG_DEBUG,"Got a re-subscribe on existing subscription %s\n",p->callid);
else
else
ast_log(LOG_DEBUG,"Got a new subscription %s (possibly with auth)\n",p->callid);
ast_log(LOG_DEBUG,"Got a new subscription %s (possibly with auth)\n",p->callid);