[股票配资好做吗]601022

内容导航

怎样运用Asterisk-13对接VOS呼出
VOS3000怎样设置呼出份额
怎样运用Asterisk-13对接VOS呼出
怎样运用Asterisk-13对接VOS呼出

asterisk-13 具有划时代的乐意,特别是PJSIP协议栈的引进。咱们第一时间对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) 拨号规矩。做呼出测验:
  [from-test]
  exten => 100,1,Dial(PJSIP/呼叫的号码@mytrunk)
  exten => 100,2,hangup
  3)留意,呼叫前有必要承认trunk 成功注册,履行CLI 指令:
  pjsip show registrations, 承认成功注册。

VOS3000怎样设置呼出份额

asterisk-13 具有划时代的乐意,特别是PJSIP协议栈的引进。咱们第一时间对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) 拨号规矩。做呼出测验:
  [from-test]
  exten => 100,1,Dial(PJSIP/呼叫的号码@mytrunk)
  exten => 100,2,hangup
  3)留意,呼叫前有必要承认trunk 成功注册,履行CLI 指令:
  pjsip show registrations, 承认成功注册。

怎样运用Asterisk-13对接VOS呼出

asterisk-13 具有划时代的乐意,特别是PJSIP协议栈的引进。咱们第一时间对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) 拨号规矩。做呼出测验:
  [from-test]
  exten => 100,1,Dial(PJSIP/呼叫的号码@mytrunk)
  exten => 100,2,hangup
  3)留意,呼叫前有必要承认trunk 成功注册,履行CLI 指令:
  pjsip show registrations, 承认成功注册。

发布于 2023-09-07 09:09:01
收藏
分享
海报
5
目录