I am trying to configure a DID from DIDforSale.com to my PIAF 1.4 installed and hope someone can give me a hint of how to do this.
Here is my question.
According to DIDforSale.com support document, I need to add the following to my Asterisk box.
==========================
Add the code below to your ’sip.conf‘ file
[didforsale_did]
type=peer
host=[IP ADDRESS OF OUR SERVER - didforsale]
nat=no
canrinvite=yes
disallow=all
allow=ulaw
allow=alaw
dtmfmode=rfc2833
insecure=very
context=from-didforsale
Add the code below to your ‘extensions.conf ‘ file
[from-didforsale]
exten => _X.,1,Set(CALLERID(num)=${CALLERID(num):1}) ;This line removes the “+” in front of the CallerID.
include => from-trunk
;[you can forward it to your default context]
========================
In my FreePBX, Tools, Config Edit,
I do not see sip.conf or extensions.conf files and it is not recommended to edit those files manually.
There are files below;
extensions_a2billing.conf
extensions_custom.conf
extensions_override_freepbx.conf
sip_custom.conf
sip_custom_post.conf
sip_general_custom.conf
sip_nat.conf
sip_registrations_custom.conf
I would like to know which file I should add the configuration file above from didforsale.com to my Asterisk&2Billing in the FreePBX screen.
Thank you very much for your support.
Ron