int found=0;
char *start, *pos, *conv,*stringp=NULL;
char fn[256];
+ if (!context || !strlen(context)) {
+ ast_log(LOG_WARNING, "Directory must be called with an argument (context in which to interpret extensions)\n");
+ return -1;
+ }
memset(ext, 0, sizeof(ext));
ext[0] = digit;
res = 0;
int expire;
int expirey;
int capability;
- int nonCodecCapability;
int insecure;
int nat;
int canreinvite;
if (!strcasecmp(p->name, peer)) {
found++;
r->capability = p->capability;
- r->nonCodecCapability = p->nonCodecCapability;
r->nat = p->nat;
if (r->rtp) {
ast_log(LOG_DEBUG, "Setting NAT on RTP to %d\n", r->nat);