Hi
Vlasis,
I have updated the
alias.dailedDigit & callerID to allow "0123456789#*,"
characters.
Regards, Avin Patel Objective Systems,
Inc.
Hello,
Sorry for the mix up.
Here is the proper code for the function "int onNewCallCreated(ooCallData
*call)":
if(!ast_strlen_zero(p->exten))
{ for(i=0;
*(p->exten+i) != '\0';
i++)
{ if(
(!isdigit(*(p->exten+i))) && (!(*(p->exten+i)=='#'))
)
break;
} if(*(p->exten+i) ==
'\0'){
ooCallSetCalledPartyNumber(call,
p->exten);
ooCallAddRemoteAliasDialedDigits(call,
p->exten);
}
else
ooCallAddRemoteAliasH323ID(call, p->exten);
}
That will work for the dialed number. A similar change could be done
for the caller ID, or for allowing the '*' digit in the called number
etc.
Best regards, Vlasis.
|