Provider Configuration:

From FreeSWITCH Wiki
Jump to: navigation, search


  <gateway name="">
    <param name="username" value="xxxxxxx"/>
    <param name="from-user" value="xxxxxxx"/>
    <param name="realm" value=""/>
    <param name="password" value="secret"/>
    <param name="extension-in-contact" value="true"/> <!-- Needed otherwise refuses the call -->
    <param name="caller-id-in-from" value="true"/>

NOTE: If you don't have extension-in-contact set to true, then freeswitch will send "gw+gatewayname" in the Contact header. refuses all calls which do not have the trunk name in the Contact header.


mvanlamz 2009-09-25

The above instructions did not work for me. When I tried to dial a phone number, I always heard a recording from that started: "You have reached a number that is currently not in service..."

For FreeSWITCH v1.0.4, all I had to do was edit the default_provider* parameters in vars.xml. Those parameters are used by conf/directory/default/

danule 2010-03-09

The above instructions did work for me, with the key being the "extension-in-contact" as mentioned. If you have a problem with cached info, simply create a new peer and re-configure everything against the new peer.