#define CONF_SIZE 160
static struct ast_channel *get_zap_channel_locked(int num) {
- struct ast_channel *c=NULL;
char name[80];
snprintf(name,sizeof(name),"Zap/%d-1",num);
/*--- handle_response_register: Handle responses on REGISTER to services ---*/
static int handle_response_register(struct sip_pvt *p, int resp, char *rest, struct sip_request *req, int ignore, int seqno)
{
+ int expires, expires_ms;
struct sip_registry *r;
r=p->registry;
ast_set_flag(p, SIP_NEEDDESTROY);
return 0;
}
- int expires, expires_ms;
r->regstate=REG_STATE_REGISTERED;
manager_event(EVENT_FLAG_SYSTEM, "Registry", "Channel: SIP\r\nDomain: %s\r\nStatus: %s\r\n", r->hostname, regstate2str(r->regstate));
struct skinny_device *next;
} *devices = NULL;
-static struct skinny_paging_device {
+struct skinny_paging_device {
char name[80];
char id[16];
struct skinny_device ** devices;
struct skinny_paging_device *next;
-} *paging_devices = NULL;
+};
static struct skinnysession {
pthread_t t;
char *cat;
char iabuf[INET_ADDRSTRLEN];
struct skinny_device *d;
- struct skinny_paging_device *p;
int oldport = ntohs(bindaddr.sin_port);
#if 0