Hi Vlasis,
I have updated the alias.dailedDigit & callerID to allow "0123456789#*," characters.
 
Regards,
Avin Patel
Objective Systems, Inc.

-----Original Message-----
From: Kinetix Tele.com Support [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 09, 2006 4:14 AM
To: [EMAIL PROTECTED]
Cc: Vlasis Hatzistavrou @ Kinetix Tele.com
Subject: [Fwd: Re: [ooh323c-devel] Fix for # digit in dialed numbers]


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.

 

Reply via email to