zoukankan      html  css  js  c++  java
  • 语音实验7 2台CME,3台软件电话


    SCCP的配置
    R1
    telephony-service    启用cme sccp
    max-ephones 5
    max-dn 10
    ip source-address 192.168.1.137
    create cnf-files
    exit

    ephone-dn 1
    number 8001
    name John
    label John
    exit

    ephone-dn 2
    number 8002
    name Andy
    exit

    ephone-dn 3 dual-line 
    number 8003

    ephone 1
    mac-address 0050.56c0.0008
    button 1:1
    button 2:3
    restart

    通过show 命令也可以查看

    SIP配置
    R2
    voice service voip  启用cme sip
    sip
    registrar server
    exit
    allow-connections h323 to sip
    allow-connections sip to h323

    voice register global
    mode cme
    source-address 192.168.22.3
    max-dn 20
    max-pool 5
    authenticate register
    create profile
    voice register dn 1  定义号码
    number 7001
    exit

    voice register pool 1  定义话机
    id mac 7001.7001.7001
    number 1 dn 1
    username cisco passwrod cisco 
    codec g711ulaw
    exit

    dial-pe voic 8001 voip   定义静态呼叫路由
    desination-pattern 8001
    session target ipv4:12.1.1.1
    codec g711ulaw
    --到这里7001已经可以呼叫8001 

    如果要从8001呼叫7001,则在R1上配置dialpeer
    dial-peer voice 7000 voip
    destination-pattern 7...
    session target ipv4:12.1.1.2
    dtmf-relay h245-alphanumeric
    codec g711ulaw 
    no vad

    X-list 软件电话设置:
    Sip account setting 

    SIP account

    X-lite 软电话注册成功后

    所有电话都注册成功后

  • 相关阅读:
    我的Android app开发生涯
    极客学院
    区分H5和native页面
    H5之测试工具
    放最多水
    数组去重 快慢指针
    搜索插入位置 二分查找
    this指向
    JS 抖动和节流
    图片懒加载和预加载
  • 原文地址:https://www.cnblogs.com/cyrusxx/p/12824272.html
Copyright © 2011-2022 走看看