设为首页 收藏本站
查看: 793|回复: 0

Trixbox SIP trunk to Cisco Unified Call Manager 7.X

[复制链接]

尚未签到

发表于 2015-5-24 07:32:39 | 显示全部楼层 |阅读模式
Some time ago, I needed to configure an SIP trunk between a Trixbox (Asterisk on Linux) PBX and a Cisco Call Manager PBX. It was pretty hard to find any relevant information on the internet, however eventually I figured out how to do it.
  Please note that the following configuration reflects a Trixbox PBX configured with phones with extensions of 1XX and the Cisco Unified Call Manager configured with extensions of 3XX.
  Trixbox Configuration
  Create an SIP Trunk (Leave settings default unless otherwise specified below)
  Outgoing Settings
  Trunk Name: CallManager
  Peer Details:
  type=friend
  qualify=yes
  nat=no
  insecure=very
  host=ip.address.of.CUCM
  fromdomain=ip.address.of.CUCM
  dtmf=rfc2833
  disallow=all
  context=from-internal
  canreinvite=no
  allow=ulaw
  Incoming Settings
  USER Context: ip.address.of.CUCM
  USER Details:
  type=friend
  qualify=yes
  nat=no
  insecure=very
  host= ip.address.of.CUCM
  fromdomain= ip.address.of.CUCM
  dtmf=rfc2833
  disallow=all
  context=from-internal
  canreinvite=no
  allow=ulaw
  Create an Outbound Route to route calls made to 3XX to the Cisco Call Manager
  Create outbound route “Cisco”. Check the “Intra Company Route”, and inside of the Dial Patterns type in 3XX. Under Trunk Sequence select “CallManager”.
  This pretty much sums up the amount of configuration required on the Trixbox side of things. Now onto the Cisco stuff.
  Cisco Unified Call Manager Configuration
  Create an SIP Trunk
  Device -> Trunk -> Add New
  Trunk Type: SIP Trunk
  Device Protocol: SIP
  Device Name: TrixboxPBX
  Call Classification: OnNet
  Check the “Media Termination Point Required” checkbox (this is to handle transfers, hold music, etc…)
  Check “Remote-Party-Id”
  Check “Asserted-Identity”
  SIP Information
  Destination Address: IP.address.of.trixbox
  Uncheck “Destination Address is an SRV”
  Destination Port: 5060
  MTP Preferred Originating Code: 711ulaw
  SIP Trunk Security Profile: Non-Secure SIP Trunk Profile
  Change the “Non-Secure SIP Trunk Profile” security profile from TCP to UDP
  System -> Security Profile -> SIP Trunk Security Profile
  Hit the “Find” button
  Select “Non Secure SIP Trunk Profile”
  Incoming Transport Type: TCP+UDP
  Outgoing Transport Type: UDP
  Uncheck “Enable Digest Authentication”
  Incoming Port: 5060
  Out of the last 6 checkboxes, all should be checked except the First and Last.
  Create a Route Pattern to route calls from the Cisco Call Manager to Trixbox
  Call Routing -> Route/Hunt -> Route Pattern
  Create New
  Route Pattern: 1XX
  Gateway/Route List: TrixboxPBX
  Route Option: Route this pattern
  Call Classification: OnNet
  Enable Required Services
  I’m not too sure which ones are actually required, however the below configuration works great. To get to the CUCM services go to the “Cisco Unified Serviceability” section (Top right of web interface).
  Enable Services
  Tools -> Serviceability
  Enable the following:
  CM Services
  Cisco CallManager
  Cisco Tftp
  Cisco Messaging Interface
  Cisco Unified Mobile Voice Access Service
  Cisco IP Voice Media Streaming App
  CTI Services
  Cisco CallManager Attendant Console Server
  Cisco IP Manager Assistant
  Cisco WebDialer Web Service
  Select “Save”, afterwards select “Set to Default”. Please note that it may take some time to bring the services up.
  It’s always a good idea to restart both the Trixbox PBX and the CUCM PBX.
  After you have configured the above, configure phones in the 1XX range for the trixbox, configure phones on the CUCM for the 3XX range and they should be able to call each other. Please remember that if you have a PSTN line on your Trixbox you will need to create another route pattern for how to transfer 9XXXXXXXXXX from your CUCM -> Trixbox, then configure the applicable route in Trixbox -> PSTN.
  Feedback is welcome!

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-69964-1-1.html 上篇帖子: CISCO PPPoE配置介绍 下篇帖子: Cisco交换机支持NAT的型号
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表