VOIP devices configuration for using personal numbers

There are two ways how you can use your VOIP device together with Voovox personal numbers.

First may be used when you are on the static IP address or using Dynamic DNS service. That's preferable for server setup.

Second will work when you are on dynamic IP address. In this case your VOIP device should keep registration with our server. That's preferable method for IP phones, ATAs, etc.

Without registration

When you configure personal numbers you select "Redirect to:" option from picklist and specify SIP or IAX url which should contain authentication information and your host name.

SIP phone numbers specified as

 SIP/user@domain.com:port 

IAX phone numbers specified as

 IAX2/user:pass@domain.com/number 

You may also include dialed DID in called URL. E.g.:

 SIP/${EXTEN}@mypbxhost.net
 IAX2/fromdc:2324tret@mypbxhost.net/${EXTEN} 

${EXTEN} - will be replaced with the DID number being used at the moment.

Here is an example on how to setup your Asterisk to accept calls routed by Voovox.

 iax.conf
 ; User entry for incoming calls from Voovox.com personal numbers
 [voovox]
 type=user
 disallow=all
 allow=gsm,ulaw
 context=from-voovox        ; Context where calls to personal numbers should go.
 secret=3Jkys7y42w               ; You SHOULD change this password. 
 extensions.conf
 ; Context for incoming calls from Voovox.com personal numbers
 [from-voovox]
 exten => 555,1,Answer
 exten => 555,2,..... 

Such Asterisk configuration expect "Redirect to:" or "Phone Number" fields to look like:

 IAX2/voovox:3Jkys7y42w@yourasteriskdomain.com/555 

555 - in this example is an extension where the call should terminate. You can forward the call to a default extension "s" of "from-voovox" context specifying number like: IAX2/voovox:3JenIes72w@yourasteriskdomain.com

With registration

Your VOIP equipment should be set to register on one of our gatways with your AccounId and PIN code.

Then in web admin center using "personal #'s" link you should create which will forward calls to "Your IP phone". After that should be assigned to your personal number.

Here is example of Asterisk configuration:

If you want to use SIP protocol

 sip.conf
 ; Add this near other 'register' statements
 register => Your_AccountID:Your_PIN_code@voovox
 ;...
 ; Add this at the end of sip.conf file
 [voovox]
 type=peer
 qualify=110
 username=Your_AccountID
 fromuser=Your_AccountID
 secret=Your_PIN_code
  ; eugw.ast.voovox.com host should be used if you are closer to Europe.
 ; usgw.ast.voovox.com host should be used if you are closer to USA.
 host=usgw.ast.voovox.com
 disallow=all
 allow=gsm,ulaw
 context=from-voovox
 insecure=invite 

If you want to use IAX2 protocol

 iax2.conf
 ; Add this near other 'register' statements
 ; eu1.ast.voovox.com host should be used if you are closer to Europe.
 ; usgw.ast.voovox.com host should be used if you are closer to USA.
 register => Your_AccountID:Your_PIN_code@usgw.ast.voovox.com
 ;...
 ; Add this at the end of iax2.conf file
 [Your_AccountID]
 type=user
 secret=Your_PIN_code
 disallow=all
 allow=gsm,ulaw
 context=from-voovox 

For both SIP and IAX2 protocols

 extensions.conf
 ; Add this at the end of extensions.conf file
 [from-voovox]
 exten => s,1,Noop
 exten => s,n,Answer
 exten => s,n,......
 exten => s,n,Hangup 



Tags for this page:   asterisk   did   iax   iax2   sip