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

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)論
主站蜘蛛池模板: jzz欧美| 天天操一操| 国产成人高清精品免费观看 | 天天干天天插 | 国产男女猛视频在线观看网站 | 777奇米影音 | 天天操夜夜骑 | 性做久久久久久久久25的美女 | 国产a级网站 | 国产成人香蕉在线视频网站 | 一区二区三区免费在线视频 | 国产成人精品久久一区二区三区 | 五月婷婷色视频 | 国产精品免费播放 | 日韩我不卡 | 亚洲精品综合一区在线 | 亚洲国产97在线精品一区 | 青青青青手机在线视频观看国产 | 91综合久久婷婷久久 | 普通话对白国产情侣自啪 | 日韩午夜网站 | 亚洲成人伊人网 | 日本黄大片影院一区二区 | 日日摸夜夜夜夜夜添 | 香蕉精品高清在线观看视频 | 日日干综合 | 日本最猛黑人xxxx猛交 | 91精品国产91久久久久久青草 | 国产福利在线小视频 | 欧美区日韩区 | 我不卡老子影院午夜伦我不卡四虎 | 成人精品区 | 性生活免费视频网站 | 中文字幕日韩一区二区 | 欧美在线视频一区二区 | 大片毛片 | 日本一级欧美一级中文 | 日本不卡视频在线视频观看 | 精品免费视在线视频观看 | 欧美国产日产精品免费视频 | 久久精品道一区二区三区 |