号码优先
分离外国IP设置
This commit is contained in:
zxzyzw@163.com 2008-02-14 06:37:48 +00:00
parent fcc747cfb9
commit 51446c03fa
3 changed files with 8 additions and 1 deletions

View file

@ -39,6 +39,7 @@ extern const int smsn;
extern const int smsc;
extern const int voice;
extern const int ipx2;
extern const int ip00;
extern const int priority;
extern const unsigned int volume;

View file

@ -44,7 +44,10 @@ __root const int voice=0;
__root const CFG_HDR cfghdr1_11 = {CFG_CHECKBOX,"IP扩展",0,0};
__root const int ipx2=0;
__root const CFG_HDR cfghdr1_12={CFG_CBOX, "ÓÅÏȺÅÂë", 0, 5};
__root const CFG_HDR cfghdr1_12 = {CFG_CHECKBOX,"ip外国+00",0,0};
__root const int ip00=0;
__root const CFG_HDR cfghdr1_13={CFG_CBOX, "优先号码", 0, 5};
__root const int priority = 0;
__root const CFG_CBOX_ITEM cfgcbox1[5]={"电话号码","公司号码","移动号码","传真号码","传真号码2"};

View file

@ -1728,7 +1728,10 @@ void VoiceOrSMS(const char *num)
}
else
{
if(ip00)
sprintf(buf,"%d00",cfg_ip_number3);
else
sprintf(buf,"%d",cfg_ip_number3);
strcat(buf,num+1);
}