Call Us Today! 877.742.2583




Page tree
Skip to end of metadata
Go to start of metadata

www.voicemeup.com


Last Update: 25 January 2012


Sample gateway config

conf/sip_profiles/PROFILE_NAME/voicemeup.xml

<include>
    <gateway name="voicemeup">
	<param name="realm" value="sip-slb.voicemeup.com"/>
	<param name="proxy" value="sip-slb.voicemeup.com"/>
        <param name="register" value="true"/>
	<param name="username" value="PEER_USERNAME"/>
	<param name="password" value="PEER_PASSWORD"/>
	<param name="context" value="inbound"/>
    </gateway>
</include>

Sample dialplan config

conf/dialplan/default.xml

  <include>
    <!-- Sample dialplan for outbound calls -->
    <context name="default">
      <extension name="Outbound calls to any destinations">
        <condition field="destination_number" expression="(.*)">
          <action application="bridge" data="sofia/gateway/voicemeup/555123456"/>
        </condition>
      </extension>
    </context>
    <!-- Sample dialplan for inbound calls -->
    <context name="inbound">
      <extension name="Inbound calls to DID_NUMBER">
        <condition field="destination_number" expression="(DID_NUMBER)">
          <action application="answer"/>
          <action application="playback" data="$${hold_music}"/>
        </condition>
      </extension>
    </context>
  </include> 

1 Comment

  1. We recommend enabling compact headers in your external profile in order to reduce packet fragmentation chances.

    Simply add the param enable-compact-headers=true into your freeswitch/conf/sip_profiles/external.xml config file.