中文字幕在线视频第一页,黄色毛片在线看,日本爱爱网站,亚洲系列中文字幕一区二区

 首頁 > 新聞 > 專家觀點 >

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

2014-12-29 11:29:23   作者:   來源:CTI論壇   評論:0  點擊:


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

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

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

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

  pjsip show registrations, 確認成功注冊。

分享到: 收藏

專題

东光县| 蛟河市| 河间市| 墨竹工卡县| 罗山县| 东至县| 铁岭市| 湛江市| 瓮安县| 昌宁县| 和林格尔县| 新巴尔虎左旗| 平原县| 彭山县| 临沭县| 花莲市| 兴隆县| 白银市| 芦溪县| 克山县| 建平县| 苗栗市| 延长县| 丹棱县| 罗定市| 镇康县| 靖宇县| 阳江市| 土默特右旗| 高密市| 罗平县| 通道| 定南县| 定安县| 衢州市| 龙门县| 乌海市| 西乌珠穆沁旗| 荣昌县| 太原市| 资中县|