Call Us Today! 877.742.2583




Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Corrected name

www.voicemeup.com


 

Info

Last Update: 25 January 2012

 


Sample gateway config

conf/sip_profiles/PROFILE_NAME/voicemeup.xml

Code Block
languagexml
<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

Code Block
languagexml
  <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>