Voxout it is the trunk service that Voxbone offers to make outgoing calls and emergency ones. I must say it is tricky to configure it, the PDF they give as a tech guide is next to useless and so far, if you google, you won't find any example of FreeSWITCH gateway configuration with Voxout. I will talk about how I did it.
And I put it between quotes because this document is a joke. However, if you read between lines you will find some useful information:
Here it comes the tricky thing. The SBC server at voxout.voxbone.com doesn't support the REGISTER. The Interconnection Guide shows that the server will require that all the INVITES come authenticated, so configuring the gateway in the FreeSWITCH is a little ticket. Lucky for all, there is a way.
<gateway name="0ecff1c0-7803-4e8f-a92f-8c1891bf266c">
<param name="username" value="SIP_USER"/>
<param name="auth-username" value="SIP_USER"/>
<param name="password" value="SIP_PASSWORD"/>
<param name="from-user" value="SIP_USER"/>
<param name="proxy" value="voxout.voxbone.com"/>
<param name="expire-seconds" value="800"/>
<param name="register" value="false"/>
<param name="register-transport" value="udp"/>
<param name="retry-seconds" value="30"/>
<param name="context" value="public"/>
<param name="caller-id-in-from" value="true"/>
<param name="extension-in-contact" value="true"/>
<variables>
<variable name="sip_cid_type" value="rpid"/>
</variables>
</gateway>
After that, you can configure your dialplans (outbound routes) as always).
By default, Voxbone won't allow it. You will need to ask them to enable this feature. After that, you will need to add the following line in your outbound route:
export sip_h_Diversion=<sip:This email address is being protected from spambots. You need JavaScript enabled to view it.>;reason=unknown;counter=1;privacy=off
Where 99999999999 is a valid Voxbone DID. Remember they use the DID's to link the billing so you may want to use one specific DID per customer. The effective_caller_id_number variable can now have a "false" DID number.
Good luck!
blog comments powered by DisqusAbout
Read about IT, Migration, Business, Money, Marketing and other subjects.
Some subjects: FusionPBX, FreeSWITCH, Linux, Security, Canada, Cryptocurrency, Trading.