switch(condition) {
case AST_CONTROL_RINGING:
if (c->_state == AST_STATE_RING) {
- // transmit_response(p, "180 Ringing", &p->initreq);
- break;
+ return -1;
}
return 0;
case AST_CONTROL_BUSY:
} else {
/* Either this call is not from the Gatekeeper
or we are not allowing gk routed calls */
-
-
user = find_user(cd);
-
if (!user) {
sprintf(p->callerid, "%s <%s>", p->cd.call_source_aliases, p->cd.call_source_e164);
if (!ast_strlen_zero(p->cd.call_dest_e164)) {
}
}
-/* I know this is horrid, don't kill me saddam */
exit:
/* allocate a channel and tell asterisk about it */
c = oh323_new(p, AST_STATE_RINGING, cd.call_token);