亚洲精品网站在线观看不卡无广告,国产a不卡片精品免费观看,欧美亚洲一区二区三区在线,国产一区二区三区日韩,日本久久久久,日本-区二区三区免费精品,中文字幕日本亚洲欧美不卡

 首頁(yè) > 新聞 > 專家觀點(diǎn) >

如何使用Asterisk-13對(duì)接VOS呼出

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


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

  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 帳號(hào)

  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) 撥號(hào)規(guī)則。做呼出測(cè)試:

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

  3)注意,呼叫前必須確認(rèn)trunk 成功注冊(cè),執(zhí)行CLI 命令:

  pjsip show registrations, 確認(rèn)成功注冊(cè)。

分享到: 收藏

專題

大足县| 达尔| 楚雄市| 辽宁省| 库车县| 南康市| 宽甸| 溧水县| 佛坪县| 防城港市| 镇原县| 洛阳市| 隆尧县| 分宜县| 乌拉特前旗| 小金县| 永修县| 萨嘎县| 西乌珠穆沁旗| 万源市| 乌拉特前旗| 麻栗坡县| 通河县| 贡嘎县| 保靖县| 庄河市| 桐城市| 孙吴县| 育儿| 林西县| 仪陇县| 阳泉市| 黄大仙区| 长白| 金坛市| 江陵县| 中宁县| 花莲市| 天祝| 三江| 凉山|