This is a quick and simple guide on how you can setup your asterisk instance to forward a DID acquired from the @voice platform to an extension within your Asterisk instance.


You will need to edit the extensions.conf file in your Asterisk instance.


Assuming that you want the DID 61283176200 to be forwarded to the extension 1001.


[general]
static=yes
writeprotect=no
clearglobalvars=no
 
[globals]
 
[incoming]
 
exten => 61283176200,1,Dial(SIP/1001)
exten => 61283176200,n,Hangup



If you want the DID to be forwarded to a multiple extensions (1001, 1002 and 1003:

[general]
static=yes
writeprotect=no
clearglobalvars=no
 
[globals]
 
[incoming]
 
exten => 61283176200,1,Dial(SIP/1001&SIP/1002&SIP/1003)
exten => 61283176200,n,Hangup

Once you have edited the file, just save it and reload your Asterisk instance for the configuration to take effect.