• <strike id="fdgpu"><input id="fdgpu"></input></strike>
    <label id="fdgpu"></label>
    <s id="fdgpu"><code id="fdgpu"></code></s>

  • <label id="fdgpu"></label>
  • <span id="fdgpu"><u id="fdgpu"></u></span>

    <s id="fdgpu"><sub id="fdgpu"></sub></s>

    如何使用Asterisk-13對接VOS呼出

    2014-12-29 11:29:23   作者:   來(lái)源:CTI論壇   評論:0  點(diǎn)擊:


      asterisk-13 具有劃時(shí)代的愿意,特別是PJSIP協(xié)議棧的引入。我們第一時(shí)間對asterisk-13 進(jìn)行了基本測試,通過(guò)和VOS 對接的實(shí)例,對接測試呼叫正常。以下是呼叫配置文件:

      1)pjsip.conf 配置文件:

      [6001]
      type=endpoint
      context=from-test
      disallow=all
      allow=ulaw
      transport=simpletrans
      auth=auth6001
      aors=6001

      [simpletrans]
      type=transport
      protocol=udp
      bind=0.0.0.0

      [auth6001]
      type=auth
      auth_type=userpass
      password=6001
      username=6001

      [6001]
      type=aor
      max_contacts=1
      contact=sip:6001@192.168.1.102:5060

      [mytrunk]
      type=registration
      transport=simpletrans
      outbound_auth=mytrunk
      server_uri=sip:60102@VOS IP地址
      client_uri=sip:60102@VOS IP 地址
      retry_interval=60
      support_path=true
      contact_user=mytrunk
      forbidden_retry_interval=10
      auth_rejection_permanent=true

      [mytrunk]
      type=auth
      username=60102 // VOS 帳號

      password=密碼

      [mytrunk]

      type=aor
      contact=sip:VOS 地址:5060

      [mytrunk]
      type=endpoint
      transport=simpletrans
      context=from-test
      disallow=all
      allow=ulaw,alaw,gsm,g726,g729
      outbound_auth=mytrunk
      aors=mytrunk
      from_user=60102

      2) 撥號規則。做呼出測試:

      [from-test]
      exten => 100,1,Dial(PJSIP/呼叫的號碼@mytrunk)
      exten => 100,2,hangup

      3)注意,呼叫前必須確認trunk 成功注冊,執行CLI 命令:

      pjsip show registrations, 確認成功注冊。

    分享到: 收藏

    專(zhuān)題

    亚洲精品网站在线观看不卡无广告,国产a不卡片精品免费观看,欧美亚洲一区二区三区在线,国产一区二区三区日韩 伊吾县| 明星| 康定县| 和平区| 石渠县| 茶陵县| 文成县| 普宁市| 大宁县| 镇远县| 新泰市| 错那县| 汤原县| 北安市| 鸡东县| 南平市| 景德镇市| 中江县| 渭南市| 积石山| 观塘区| 游戏| 玛沁县| 边坝县| 南澳县| 宜丰县| 昆山市| 雷山县| 海盐县| 封开县| 海宁市| 新龙县| 抚宁县| 常熟市| 永城市| 洛隆县| 陕西省| 黑河市| 桓台县| 五河县| 明水县| http://444 http://444 http://444 http://444 http://444 http://444