lang world mobile site

Asterisk PBX

Configuration as regular SIP client

In sip.conf under [general] add a register definition:

 register => user:secret:authuser@host:port/extension

Example (Register 2345 at sip provider as 1234):
 register => 

  * user is the user id for this SIP server (ex 2345)
  * authuser is the optional authorization user for the SIP server
  * secret is the user's password
  * host is the domain or host name for the SIP server. This SIP 
    server needs a definition in a section of its own in SIP.conf 
  * port send the register request to this port at host. 
    Defaults to 5060
  * /1234 is the Asterisk extension that will be used for incoming 
    calls. 1234 is put into the contact header in the SIP Register 
    message. This is used by the remote SIP server when it needs 
    to send a call to Asterisk. If you want to process the incoming 
    call then 1234 must also be defined in extensions.conf 

The server definition for outgoing calls looks like this:


In extensions.conf you'd then use a statement like this:

 exten => _9.,1,Dial(SIP/${EXTEN:1},30,r)

Please note that the ${EXTEN:1} variable here extracts all 
but the first characters from the current extension (the 
current match), in this case: 9 + the following digits. 
Refer to the Asterisk variables Substrings section for 
more details

Configuration for AZ termination users
(high volume users - requires ACL of your ip on our side)


; SIP Configuration for Asterisk
port = 5060            ; Port to bind to
bindaddr =     ; Address to bind to 
context = from-sip     ; Default for incoming calls
callerid=No CallID

;  This simply dumps calls at via SIP
;  There is no username/password required, since this 
;  is simply a SIP gateway, and not a proxy.  
;  Protection provided by ACLs on the router.


-- -- Search Site -- About Us -- Add Credit -- Mobile Site -- Login -- Service Numbers -- Help -- Swag -- Write to us -- Voicemail 1-360-226-7665 -- © 2010

Powered by iGames supports Xten / Counterpath SIP softphones for Windows, Mac, iPhone and Linux. Internet telephony equipment such as Linksys PAP2, Cisco, Sipura, Nokia N71. Apple iPhone, iPod Touch, iPad. Android. Codec G729. Fring Mobile. Bring your Own Device BYOD. We also support SIP Trunking, replace your phone lines. Asterisk PBX, TrixBox.