亚洲免费在线-亚洲免费在线播放-亚洲免费在线观看-亚洲免费在线观看视频-亚洲免费在线看-亚洲免费在线视频

SIP Provider Examples

系統(tǒng) 2588 0

Contents

[ hide ]

Example Configuration

The following is a list of phone providers that have been successfully tested with the FreeSWITCH software.


Please note that you should stick with adding these phone providers under the {FreeSWITCH installation}/conf/directory/default location. This means creating an XML file per specified phone provider under the conf/directory/default/ directory. Alternatively, you can also add the provider of your choice under the {FreeSWITCH installation}/conf/sip_profiles directory. The recommendation is to stick with using the "conf/directory/default" location. When in doubt copy the examples found in the source code under freeswitch/conf/directory/default/ . The sample file is named "provider .com.xml ". NOTE: the file is named "example .com.xml " on newer releases of FreeSWITCH.


Provider Configuration Pages

When adding a provider to this list within the wiki please observe these guidelines:

  • include a generic configuration
  • no marketing information
  • keep them alphabetically listed
A through E F through H I through P Q through Z

Note: If you are looking for an example with different destinations for the registration proxy and outbound proxy, see the example configuration for Peopleline.

Gateway Overview

As an example we will add a trunk to vitelity.com. PLEASE NOTE THAT THIS IS AN EXAMPLE. REPLACE WITH YOUR OWN CONFIGS FOR YOUR PROVIDER (see table below).

Vitelity.com uses different proxies for inbound and outbound calls, so we need to add two gateways (they can be in the same file). One for outbound and one for inbound. Many providers (Vitelity included) allow you to make outbound calls via the registration proxy for inbound calls and so you really only *need* to setup one gateway. Before we start that we'll need to know a couple different pieces of info:

  • username
  • password (also called secret)
  • outbound server
  • inbound server
    sudo vim /usr/local/freeswitch/conf/sip_profiles/external/vitelity.xml

  
    <include>
  <gateway name="vitelity-outbound">
    <param name="username" value="****yourusername"/>
    <param name="password" value="****yourpassword"/>
    <param name="realm" value="vitel-outbound"/>
    <param name="proxy" value="****outboundurl"/>
    <param name="register" value="false"/>
  </gateway>
  <gateway name="vitelity-inbound">
    <param name="username" value="****yourusername"/>
    <param name="password" value="****yourpassword"/>
    <param name="realm" value="vitel-inbound"/>
    <param name="extension" value="1000"/>
    <param name="proxy" value="****inboundurl"/>
    <param name="register-proxy" value="****inboundurl"/>
  </gateway>
</include>

  

Keeping Connections Alive

You can use the following parameter in your configuration to force FreeSWITCH to re-register with your provider at certain intervals. This may be helpful for NAT issues by keeping the connection state open through your internal firewall.

    <param name="expire-seconds" value="60"/>

  

You can also set FreeSWITCH to ping your gateway at intervals.

    <param name="ping" value="30" /> 

  

See Also

<!-- NewPP limit report Preprocessor node count: 33/1000000 Post-expand include size: 854/2097152 bytes Template argument size: 699/2097152 bytes Expensive parser function count: 0/100 --><!-- Saved in parser cache with key wiki:pcache:idhash:1952-0!1!0!!en!2!edit=0 and timestamp 20101127015348 -->

SIP Provider Examples


更多文章、技術(shù)交流、商務(wù)合作、聯(lián)系博主

微信掃碼或搜索:z360901061

微信掃一掃加我為好友

QQ號(hào)聯(lián)系: 360901061

您的支持是博主寫作最大的動(dòng)力,如果您喜歡我的文章,感覺我的文章對(duì)您有幫助,請(qǐng)用微信掃描下面二維碼支持博主2元、5元、10元、20元等您想捐的金額吧,狠狠點(diǎn)擊下面給點(diǎn)支持吧,站長(zhǎng)非常感激您!手機(jī)微信長(zhǎng)按不能支付解決辦法:請(qǐng)將微信支付二維碼保存到相冊(cè),切換到微信,然后點(diǎn)擊微信右上角掃一掃功能,選擇支付二維碼完成支付。

【本文對(duì)您有幫助就好】

您的支持是博主寫作最大的動(dòng)力,如果您喜歡我的文章,感覺我的文章對(duì)您有幫助,請(qǐng)用微信掃描上面二維碼支持博主2元、5元、10元、自定義金額等您想捐的金額吧,站長(zhǎng)會(huì)非常 感謝您的哦!!!

發(fā)表我的評(píng)論
最新評(píng)論 總共0條評(píng)論
主站蜘蛛池模板: 亚洲视频一区在线播放 | 日本视频在线观看不卡高清免费 | 亚洲午夜久久久久中文字幕久 | 精品哟啊呦v视频在线观看 精品哟哟国产在线观看 | 国产成人精品一区二区仙踪林 | heyzo在线播放4k岛国 | 成人午夜性a一级毛片美女 成人午夜性视频欧美成人 成人午夜亚洲影视在线观看 | 麻豆精品成人免费国产片 | 日韩欧美黄色 | 久久精品无遮挡一级毛片 | 日本爽快片100色毛片 | 日韩一区精品视频在线看 | 另类日本人xxxxbbbb | 久操免费在线观看 | 久久久精品麻豆 | 视频1区 | 精品不卡| 色综合成人 | www久久爱com | 日本在线视 | 亚洲人成毛片线播放 | 久久好看视频 | 亚洲成aⅴ人片在线观 | 99精品视频免费观看 | 久久久成人啪啪免费网站 | 国产精品久久一区一区 | 亚洲国产一区二区三区最新 | 国产精品日韩在线观看 | 97久久国产一区二区三区四区 | 国产成人在线视频网站 | 久久精品免视看国产陈冠希 | 欧美日韩中文字幕 | 久久成人毛片 | 噜噜色噜噜色 | 99精品热线在线观看免费视频 | 特黄大片aaaaa毛片 | 国产伊人网 | 免费观看国产网址你懂的 | 日韩经典一区 | 久久国产精品成人免费 | 欧美一级欧美一级毛片 |