voip mode ipconfig是什么意思思

DrayTek Vigor - ADSL Routers Firewalls UTM VoIP IP PBX and Networking Products
Like, follow & share:
LATEST TECHNOLOGY
Our latest solution sets are designed to deliver high speed internet connectivity, failover and redundancy for mission-critical applications, , site-wide managed WiFi, high-capacity firewalls and a central management system to monitor and control the network and your CPE..
BEST SELLERS
LATEST POSTS
PRIVACY NEWS:
Content filtering - is it wrong?
Internet Content filtering, especially as far as our own products go, is most commonly associated with the blocking of 'adult' content in environments where children might get access as well as content blocking for workplaces...
SECURITY NEWS:
Can trains and planes be hacked?
"Networking", in the context of computing, is the linking up two or more devices in order that they can communicate with each other, or with a central control point, locally or over a wide area...
SECURITY NEWS:
Driving licence on your phone?
The US state of Iowa is the latest to introduce electronic (app-based) driving licences (or 'drivers licenses'). In the USA, drivers are required to always carry their licence and insurance and provide it to a police officer who may stop them...
PRIVACY NEWS:
Is your tech spying on you?
Last week's "shock" story was that Samsung are warning users that their smart TVs are continuously listening into your conversations and broadcast to 3rd parties. Actually, this wasn't, as has been implied an alert to some new hack or vulnerability...Re: [cisco-voip] H323 config
Re: [cisco-voip] H323 config
[Voll, Scott]
Thanks to all (Robert, Carlos, Rob) that have helped...... I got it done
last night but now I have some things I can go back and tweak. You all
are awesome as usual.
-----Original Message-----
[] On Behalf Of Robert
Kulagowski
Sent: Friday, April 20,
Subject: Re: [cisco-voip] H323 config
Voll, Scott wrote:
& Can someone send me a sample config with 2 or 3 pri's in use for an
& Voice gateway.
I like using trunk groups, especially if you have a bunch of PRIs and/or
That way, you don't need to individually have a dial-peer for
each port.
Take a look at dial-peer 8011; it shows it pretty well.
Dial peer 10 shows how you can force calls out analogs without having to
have a DP for each analog port.
IOS 12.4.9(T)
I also have this as a Word D at the top of the Document I have
reminders like {SITEPREFIX} {IPSUBNET}, etc.
Then when it comes to
deploy I can just do a search / replace and get the boilerplate out of
the way and concentrate on dial-peers.
no service pad
service tcp-keepalives-in
service tcp-keepalives-out
no service config
service timestamps debug datetime msec localtime
service timestamps log datetime msec localtime
service password-encryption
hostname {SITEPREFIX}VGW01
card type t1 0 1
! Need to tell card whether it is an E1 or T1
logging buffered 51200 debugging
aaa new-model
aaa authentication login default group radius local
aaa authentication login console-in local
clock timezone {TIMEZONE} {TZOFFSET}
clock summer-time EDT recurring 2 Sun Mar 2:00 1 Sun Nov 2:00
network-clock-participate wic 1
network-clock-select 1 T1 0/1/0
voice-card 0
dsp tdm pooling
dsp services dspfarm
no local-bypass
! Use this so that individual ports don't have to be enumerated in
! the dial peers
trunk group
max-retry 5
voice-class cause-code 1
hunt-scheme round-robin
! Used to differentiate if there are multiple PRIs at a site
trunk group
trunk group
LongDistance
voice class cause-code 1
no-circuit
no ip dhcp use vrf connected
! Used to release IP address back in to the pool
no ip dhcp conflict logging
! Next command puts a copy of the dhcp database off-site
ip dhcp database t
ip dhcp excluded-address 1.1.{IPSUBNET}.1 1.1.{IPSUBNET}.20
! Polycom 7936's statically allocated downward from .19
! Generic &phones& makes other documentation easier,
! like firmware update doc
ip dhcp pool Phones
network 1.1.{IPSUBNET}.0 255.255.255.0
option 150 ip 1.1.1.10 1.1.23.10
default-router 1.1.{IPSUBNET}.1
no ip bootp server
no ip domain lookup
no ftp-server write-enable
isdn switch-type primary-ni
isdn voice-call-failure 0
voice call send-alert
voice call carrier capacity active
voice rtp send-recv
voice service voip
call preserve limit-media-detection
voice class codec 1
! TO select which codec to use
codec preference 1 g711ulaw
codec preference 2 g729r8
voice class h323 1
! If first call manager is not available timeout switch to 2nd
h225 timeout tcp establish 5
call preserve
voice vad-time 65536
voice translation-rule {SITECODE}
! for rule 1, we're taking inbound calls that start with 89 and changing
! it to 3489.
(Site prefix is 34)
rule 1 /^89/ /3489/
! for rule 2, we're taking any inbound call that comes in as 4141 and
! changing it to the operator number
rule 2 /^4141/ /348900/
! for rule 3, we're taking inbound call to 5921 and sending it to
! operator
(800 number has DNIS of 5921)
rule 3 /^5921/ /348900/
voice translation-profile Prepend_Sitecode
translate called {SITECODE}
! For AAR and SRST
application
service rdnis_save flash:rdnis_save.tcl
param restore_did
service alternate default
controller T1 0/1/0
framing esf
linecode b8zs
pri-group timeslots 1-24
description CIRCUIT ID
controller T1 0/2/0
framing esf
linecode b8zs
pri-group timeslots 1-24
description CIRCUIT ID
controller T1 0/2/1
framing esf
linecode b8zs
pri-group timeslots 1-24
description CIRCUIT ID
interface Loopback0
description For music-on-hold
ip address 6.6.6.6 255.255.255.255
interface GigabitEthernet0/0
description To {SITEPREFIX}VSW01 Port g1/0/1
ip address 1.1.{IPSUBNET}.1 255.255.255.0
no ip unreachables
no ip proxy-arp
duplex auto
speed auto
no mop enabled
! Best Practices security
h323-gateway voip bind srcaddr 10.1.{IPSUBNET}.1
interface GigabitEthernet0/1
description To Production
ip address 1.1.1.5 255.255.0.0
no ip unreachables
no ip proxy-arp
duplex full
no mop enabled
interface Serial0/1/0:23
no ip address
isdn switch-type primary-ni
isdn incoming-voice voice
isdn map address . plan isdn type national
no cdp enable
! Set to app Local or LongDistance
trunk-group Local
interface Serial0/2/0:23
no ip address
isdn switch-type primary-ni
isdn incoming-voice voice
isdn map address . plan isdn type national
no cdp enable
! Set to app Local or LongDistance
trunk-group Local
interface Serial0/2/1:23
no ip address
isdn switch-type primary-ni
isdn incoming-voice voice
isdn map address . plan isdn type national
no cdp enable
! Set to app Local or LongDistance
trunk-group LongDistance
ip classless
ip route 0.0.0.0 0.0.0.0 1.1.{IPSUBNET}.1.1
no ip http server
ip http authentication local
! Dump syslog to off-site server
! Use the IP address of the voice interface, not the one facing
! production
logging source-interface GigabitEthernet0/0
logging 1.1.23.9
control-plane
voice-port 0/0/0
trunk-group FXO
timing hookflash-out 500
connection plar {OperatorNumber}
voice-port 0/0/1
trunk-group FXO
timing hookflash-out 500
connection plar {OperatorNumber}
voice-port 0/0/2
trunk-group FXO
timing hookflash-out 500
connection plar {OperatorNumber}
voice-port 0/0/3
trunk-group FXO
timing hookflash-out 500
connection plar {OperatorNumber}
voice-port 0/1/0:23
translation-profile incoming Prepend_Sitecode
input gain -3
echo-cancel coverage 24
echo-cancel erl worst-case 0
playout-delay minimum low
no comfort-noise
voice-port 0/2/0:23
translation-profile incoming Prepend_Sitecode
input gain -3
echo-cancel coverage 24
echo-cancel erl worst-case 0
playout-delay minimum low
no comfort-noise
voice-port 0/2/1:23
translation-profile incoming Prepend_Sitecode
input gain -3
echo-cancel coverage 24
echo-cancel erl worst-case 0
playout-delay minimum low
no comfort-noise
sccp local GigabitEthernet0/0
sccp ccm 10.1.23.10 identifier 3 version 4.1
sccp ccm 10.1.1.12 identifier 2 version 4.1
sccp ccm 10.1.1.11 identifier 1 version 4.1
sccp ccm group 1
associate ccm 2 priority 2
associate ccm 1 priority 1
associate profile 10 register {SITEPREFIX}CFB01
dspfarm profile 10 conference
codec g711ulaw
codec g711alaw
codec g729ar8
codec g729abr8
codec g729r8
codec g729br8
associate application SCCP
! Dial-peer sequence and numbering pattern
! For incoming, use sitecode + a number
dial-peer voice {SITECODE}1 pots
description
incoming called-number {SITECODE}....
direct-inward-dial
port 0/1/0:15
dial-peer voice {SITECODE}2 pots
description
incoming called-number {SITECODE}....
direct-inward-dial
port 0/2/0:15
! Dial-peer for voip is the IP address without dots.
Use the right
dial-peer voice 11111 voip
destination-pattern {SITECODE}....
progress_ind setup enable 3
progress_ind progress enable 8
voice-class codec 1
voice-class h323 1
session target ipv4:1.1.1.11
dtmf-relay h245-alphanumeric
ip qos dscp cs3 signaling
fax-relay ecm disable
dial-peer voice 111112 voip
preference 1
destination-pattern {SITECODE}....
progress_ind setup enable 3
progress_ind progress enable 8
voice-class codec 1
voice-class h323 1
session target ipv4:1.1.1.12
dtmf-relay h245-alphanumeric
ip qos dscp cs3 signaling
fax-relay ecm disable
! Dial-peer for pots is &8& - as the escape code
! Next is the number of digits that we're dealing with, so 7, 10, 11,
! Last is the preference number so analog can be less preferred than PRI
! with the same destination
dial-peer voice 871 pots
trunkgroup Local 1
trunkgroup FXO 3
description Local Calling pattern - use Local PRI first, then FXO if PRI
is full or busy
destination-pattern 8.......
clid restrict
dial-peer voice 8101 pots
preference 1
trunkgroup LongDistance
description LD Calling pattern
destination-pattern 81..........
clid restrict
! LD calls out the LD PRI don't need a 1
dial-peer voice 8102 pots
! We only use this dial peer if the one above is down / full
preference 2
trunkgroup Local 1
trunkgroup FXO 3
description LD Calling pattern - use Local PRI first, then FXO if PRI
is full or busy
destination-pattern 81..........
clid restrict
! LD calls out the local PRI or FXO need the &1& in front.
dial-peer voice 8011 pots
! One dial-peer covers all of our bases.
trunkgroup LongDistance 1
trunkgroup Local 3
trunkgroup FXO 5
description International call
destination-pattern 8011T
progress_ind setup enable 3
prefix 011
dial-peer voice 911 pots
description Used with CER
destination-pattern 6911
progress_ind setup enable 3
trunkgroup Local
forward-digits 3
dial-peer voice 8411 pots
description x11 Services
destination-pattern 8[2-9]11
trunkgroup Local 1
trunkgroup FXO 3
forward-digits 3
dial-peer voice 9101 pots
description Used to send caller ID for inter-office calls
destination-pattern 91[2-9].........
progress_ind setup enable 3
trunkgroup LongDistance
! Note that we don't have clid restrict on this dial peer, and it has a
! &9& - we stuff the 9 on the route pattern in CM; users can't dial &9&
! directly
forward-digits 10
dial-peer voice 9011 pots
trunkgroup LongDistance
description Used to send caller ID for inter-office calls
internationally
destination-pattern 9011T
progress_ind setup enable 3
prefix 011
dial-peer voice 10 pots
description Different escape pattern to force a call to analog
trunkgroup FXO
destination-pattern *8T
! Convert to U.S.-based 911 fo do the same for
! &110& and &112& in case of SRST mode
num-exp 911 8911
num-exp 110 8911
num-exp 112 8911
media-inactivity-criteria rtp
timer receive-rtcp 1000
ip rtcp report interval 65535
line con 0
login authentication console-in
line vty 0 15
session-timeout 120
exec-timeout 60
autoselect during-login
ntp server 1.1.1.26
ntp update-calendar
! If there's a core dump, then send it via TFTP somewhere else for
exception dump 1.1.23.9
! archive command provides CLI history of who entered a command
log config
logging enable
notify syslog
_______________________________________________
cisco-voip mailing list
_______________________________________________
cisco-voip mailing list
Current&Thread
[Next&in&Thread&
, Voll, Scott
, Jonathan Charles
, CarlosOrtiz
, Robert Kulagowski
, Jonathan Charles
, Robert Kulagowski
Re: [cisco-voip] H323 config,
Voll, Scott&&=
Previous&by&Date:&
, Aman Chugh
Next&by&Date:&
, Voll, Scott
Previous&by&Thread:&
, Robert Kulagowski
Next&by&Thread:&
, Cathy Cheng实战VoIP部署_百度文库
两大类热门资源免费畅读
续费一年阅读会员,立省24元!
实战VoIP部署
上传于|0|0|文档简介
&&使用packet tracer 5.3模拟实现VoIP的部署
阅读已结束,如果下载本文需要使用5下载券
想免费下载本文?
定制HR最喜欢的简历
下载文档到电脑,查找使用更方便
还剩10页未读,继续阅读
定制HR最喜欢的简历
你可能喜欢F820语音业务_百度文库
两大类热门资源免费畅读
续费一年阅读会员,立省24元!
F820语音业务
上传于|0|0|文档简介
&&中兴EPON语音业务配置语句
阅读已结束,如果下载本文需要使用5下载券
想免费下载本文?
定制HR最喜欢的简历
你可能喜欢config·xml配置说明
config.xml文件是AppCan移动App的配置文件,用于指定应用的显示名称、图标、应用起始页地址及需要使用的设备权限等信息,用户可通过AppCan IDE的可视化界面视图或者源码视图来配置移动App的信息。
在IDE中创建“项目”应用后后都会在工程下生成config.xml文件,在“项目管理器”中双击即可打开 或 右键config文件选择打开方式进行代码编辑。
配置规范:config.xml中的&widget&节点内会有一个或多个&config&块(如下所示参考)
&?xml version=&1.0& encoding=&utf-8& ?&
&widget widgetId=&& pid=&& appId=&2222& channelCode=&0000& version=&00.00.0000& viewmode=&application& width=&320& height=&480& sreensize=&4.5&&
&name&2222&/name&
&description&&/description&
&author email=&&& &/author&
&icon src=&icon.png& /&
&license href=&&&&/license&
&content src=&index.html& encoding=&utf-8& &&/content&
&updateurl&&/updateurl&
&logserverip&&/logserverip&
&showmyspace&false&/showmyspace&
&obfuscation&true&/obfuscation&
&bgcolor&#fefefe&/bgcolor&
&orientation&15&/orientation&
&!-- 这里开始写配置--&
&config desc=&& type=&&&
&!-- .........--&
&!-- 以上区域为配置--&
其中desc为此config块的描述(无实际作用)
打包服务器会逐条处理每个&config&块,根据不同的type进行相应的操作
type=&KEY& 插件KEY值配置
本质上是进行替换操作
&config desc=&uexBaiduMap& type=&KEY&&
&param platform=&iOS&
name=&$uexBaiduMap_APIKey$& value=&qwerty&/&
&param platform=&Android&
name=&$uexBaiduMap_APIKey$& value=&123456&/&
另一个例子
&config desc=&uexJPush& type=&KEY&&
&param platform=&iOS&
file=&uexGroupfolder/PushConfig.plist& name=&$UEXJPUSH_APP_KEY$& value=&29f3ddad137a42df&/&
&param platform=&iOS&
file=&uexGroupfolder/PushConfig.plist& name=&$UEXJPUSH_PUSH_CHANNEL$& value=&TestPush&/&
&param platform=&iOS&
file=&uexGroupfolder/PushConfig.plist& name=&$UEXJPUSH_APS_ENVIRONMENT$& value=&1&/&
打包服务器对指定文件进行全局搜索,把name字段替换为value字段
platform 必选参数 操作平台
传值为&Android&或者&iOS&
file 可选参数 要进行替换操作的文件路径
不传此参数时,默认iOS为&AppCanPlugin-Info.plist& Android 为&AndroidManifest.xml&
路径起始目录为APP根目录
name 必选参数 全局搜索的值、既替换之前的值
value 必选参数 替换之后的值
插件开发者需保证name全局唯一,以避免冲突
type=&URLSCHEME& urlScheme管理(仅iOS)
什么是URLSchemes?
Url Scheme:简单来说可以通过该Url Scheme从一个应用打开启动另一个应用,并实现应用间的数据传递。Url Scheme是苹果方给开发者提供的一个键值,对于使用者来说,如有兴趣可通过搜索引擎搜索 URL Schemes 相关词条或文章都能找到答案,学习使用更多的URL Schemes 的能力。
第三方应用插件客户端:可以查看对应插件API文档说明部分查询Url Scheme配置如何定义或说明的;
*比如在微信支付过程中,App用过uexWeiXin插件打开微信客户端进行支付,支付过程完成后,微信客户端通过应用自定义的UrlScheme返回到本App,并传回支付结果;uexQQ插件文档说明部分也有相关说明,务必查看文档。
如果是另一个应用:对于appcan生成的iOS应用安装包,此属性可以通过AppCan平台生成的ipa包里的Info.plist文件中找到;或者可以自定义配置urlscheme值。
&config desc=&uexQQ& type=&URLSCHEME&&
&urlScheme name=&uexQQ& schemes=&['scheme1','scheme2','scheme3']&/&
name 必选参数 对所设置的urlscheme的名字 对应&key&CFBundleURLName&/key&项,可设置任意字符串,无实际作用
schemes 必选参数 要设置的urlschemes。schemes为数组形式的json字符串,具体规则如下:
数组用双引号(&)和中括号([])包含
每个urlscheme用单引号(')包含 多个urlscheme之间用逗号(,)隔开
以上所有标点均是半角英文符号
以上述配置为例,假设应用A中有进行此UrlScheme配置,在另一个应用B中,通过引擎的JS方法uexWidget.loadApp('scheme1:');即可打开应用A(注意不要漏掉冒号!)
type=&AUTHORITY& 权限设置
目前支持如下权限设置
iOS 设置APP后台权限
iOS 设置APP的urlScheme白名单
iOS 设置APP的隐私权限 参考
设置APP后台权限
&config desc=&backgroundConfig& type=&AUTHORITY&&
&permission platform=&iOS& info=&backgroundMode& flag=&5&/&
info 必选参数 所设置的权限 设置后台权限时,传&backgroundMode&
platform 必选参数 对应的平台 目前仅支持iOS 传&iOS&
flag 必选参数 所设置的权限flag
iOS 平台下 flag如下所示
info.plist里对应的字符串
&string&audio&/string&
后台音乐播放
&string&location&/string&
&string&voip&/string&
后台VoIP服务
&string&newsstand-content&/string&
后台新闻更新
&string&external-accessory&/string&
后台与iOS配件进行交互
&string&bluetooth-central&/string&
后台与蓝牙设备进行交互
此时iPhone作为central
&string&bluetooth-peripheral&/string&
后台通过蓝牙发送广播
此时iPhone作为peripheral
&string&fetch&/string&
后台下载内容
仅iOS 7.0+
&string&remote-notification&/string&
通过点击推送消息后台下载内容
仅iOS 7.0+
要配置多个权限时,将这些权限所对应的flag值相加后再传入
**注意:用户需慎重配置后台权限,不当的权限设置会导致APP上架审核失败。**
设置urlScheme白名单
&config desc=&whiteList& type=&AUTHORITY&&
&permission platform=&iOS& info=&urlSchemeWhiteList&&
&string&scheme1&/string&
&string&schene2&/string&
&/permission&
info 必选参数 所设置的权限 设置urlScheme白名单时,传&urlSchemeWhiteList&
platform 必选参数 对应的平台 传&iOS&
&permission&节点内 每一个&string&节点对应一个urlScheme,至多50个
uexQQ uexWeiXin uexAliPay uexSina 可参考如下配置
&config desc=&whiteList& type=&AUTHORITY&&
&permission platform=&iOS& info=&urlSchemeWhiteList&&
&!--如果您有用到uexWeiXin请添加如下urlSchemes至白名单中,本行不要复制--&
&string&wechat&/string&
&string&weixin&/string&
&!--如果您有用到uexSina请添加如下urlSchemes至白名单中,本行不要复制--&
&string&sinaweibohd&/string&
&string&sinaweibo&/string&
&string&sinaweibosso&/string&
&string&sinaweibohdsso&/string&
&string&weibosdk&/string&
&string&weibosdk2.5&/string&
&!-- 如果您有用到uexQQ请添加如下urlSchemes至白名单中,本行不要复制--&
&string&mqzoneopensdk&/string&
&string&mqzoneopensdkapi&/string&
&string&mqzoneopensdkapi19&/string&
&string&mqzoneopensdkapiV2&/string&
&string&mqqOpensdkSSoLogin&/string&
&string&mqqopensdkapiV2&/string&
&string&mqqopensdkapiV3&/string&
&string&wtloginmqq2&/string&
&string&mqqapi&/string&
&string&mqqwpa&/string&
&string&mqzone&/string&
&string&mqq&/string&
&!--如果您有用到uexAliPay请添加如下urlSchemes至白名单中,本行不要复制--&
&string&alipay&/string&
&string&alipayshare&/string&
&/permission&
type=&ENTITLEMENTS& 商用ID标识配置
主适用于用于iOS系统,目前支持如下需要配置的主要有uexApplePay插件apple pay、iOS推送功能apns。
在config.xml中添加如下配置
&config desc=&uexApplePay& type=&ENTITLEMENTS&&
&entitlement type=&merchant& value=&merchantIdentifier1&/&
&entitlement type=&merchant& value=&merchantIdentifier2&/&
iOS推送功能apns配置参考
其中&entitlement&节点数量取决于你的App中会用到的商用ID标识数量。你应该为每一个商用ID标识设置一个&entitlement&节点,并修改其中的value值为此商用ID标识的merchantIdentifier。(type值不要更改!)
.自定义错误页面error配置
主要用于当打开的页面或open一个新窗口出错,页面网络异常等场景。
1、只需将以下配置代码写进config.xml文件里实现。
2、自定义错误页面,可以自行UI设计,路径只支持&res://&,&wgt://&协议,详见。
&error src=&error_content.html&/&
.沉浸式状态栏(仅android)
主适用于用于安卓系统,简单地说就是状态栏透明;对于iOS系统,ios状态栏是系统的无需设置。
1、只需将以下配置代码写进config.xml文件里实现。
&statusbar color=&#&/&
2、支持版本:
ios引擎版本:4.0.0+
App启动页淡出动画效果
开发中对于启动页可能会有一些特别的要求,比如在启动页加动画,启动页加载完成后,config文件配置以下代码,就可产生一个过度的淡出效果。
.配置方法:
1、只需将以下配置代码写进config.xml文件里实现。
&config desc=&engine& type=&KEY&&
&param platform=&iOS&
name=&$ACELaunchImageFadingDuration$& value=&3000&/&
&config desc=&engine& type=&KEY&&
&param platform=&Android&
file=&res/anim/platform_myspace_fade_in_anim.xml& name=&300& value=&3000&/&
&param platform=&Android&
file=&res/anim/platform_myspace_fade_out_anim.xml& name=&300& value=&3000&/&
其中&platform&和&value&为可选值和自定义值,其他均为定值(按照以上配置即可).其中value值=3000为淡出动画总时长,单位为毫秒,可以替换为自己需要的时长。动画就不会有一闪而过的效果.
2、支持版本:
iOS引擎版本:4.1.5+(iOS_Engine_4.1.5_).安卓引擎版本:4.0.0+.
以上信息是否解决您的问题?
还需要帮助吗?

我要回帖

更多关于 voip是什么意思 的文章

 

随机推荐