Provider Configuration: NodePhone

From FreeSWITCH Wiki
Jump to: navigation, search

NodePhone

Incoming and outgoing calls work. In conf/sip_profiles/outbound/ create a nodephone.xml file with the following contents:

<include>
  <gateway name="NodePhone">
    <param name="username" value="039024xxxx"/>
    <param name="password" value="xxxxxxxx"/>
    <param name="from-user" value="039024xxxx"/>
    <param name="from-domain" value="sip.internode.on.net"/>
    <param name="realm" value="sip.internode.on.net"/>
    <param name="proxy" value="sip.internode.on.net"/>
    <param name="register" value="true"/>
  </gateway>
</include>

Also you need to have you Nodephone Number as the Effective Caller ID Number and Outbound Caller ID Number in each of your Extension Profiles as shown below:

<config>
   <extension>1001</extension>
   <password>1001</password>
   <mailbox>1001</mailbox>
   <vm-password>1001</vm-password>
   <accountcode>1001</accountcode>
   <effective_caller_id_name>Your Name</effective_caller_id_name>
   <effective_caller_id_number>039024xxxx</effective_caller_id_number>
   <outbound_caller_id_name>Your Name</outbound_caller_id_name>
   <outbound_caller_id_number>039024xxxx</outbound_caller_id_number>
   <vm-mailto>you@gmail.com</vm-mailto>
   <vm-attach-file>true</vm-attach-file>
   <user_context>default</user_context>
   <description>Extension 1001</description>
</config>