Provider Configuration: VoiceMeUp

From FreeSWITCH Wiki
Jump to: navigation, search

VoiceMeUp

  • [[1]]
  • Nationwide DID, Tollfree and more.
  • Works with incoming and outgoing SIP.

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>