Provider Configuration: GrnVOIP

From FreeSWITCH Wiki
Jump to: navigation, search

grnVoIP.com aka GRN aka ezcall

Gateway

Outgoing only. Uses IP auth.

      <include>
        <gateway name="grnVoIP">
          <param name="username" value="grnvoip"/>    
          <param name="password" value="grnvoip"/>
          <param name="from-domain" value="nnn.grnvoip.com"/>    <!-- replace 'nnn' with your assigned Brand ID-->
          <param name="proxy" value="sbc.grnvoip.com"/>
          <param name="register" value="false"/>
          <param name="caller-id-in-from" value="true"/> <!--make sure the CID is passed to them as the FROM, which may be necessary-->
        </gateway>
     </include>

even with the from-domain, I still needed to specify the brand id at the start of the number dialed -Avi Marcus

Dialplan

You'll be emailed your different company prefixes for special/standard/premium routes.

International (don't send 011):

<extension name="grnVoIP.011" >
  <condition field="destination_number" expression="^011(.*)$" >
     <action application="bridge" data="sofia/gateway/grnVoIP/COMPANY_PREFIX$1" />
  </condition>
</extension>

Domestic (USA) Make sure you send the 1 and area code.

<extension name="grnvoip.10d" >
  <condition field="destination_number" expression="^(\d{10})$" >
    <action application="bridge" data="sofia/gateway/grnVoIP/COMPANY_PREFIX1$1" />
  </condition>
</extension>