[Asterisk-Users] VoIP Service Provider

William Cruz william.cruz at swifttel.net
Fri Feb 18 11:55:08 MST 2005


Hi everyone in the asterisk community. Am new to asterisk, while doing
the installation I notice that sip.conf examples were not clear for
beginners like me so I would like to share my current working
configuration with everyone.
Swifttel.net is a new VoIP service Provider out of Georgia. Their web
site is www.swifttel.net. Currently we have service with them and it has
been a pleasant experience. The asterisk SIP setup is very simple and it
works great. Included is my current SIP configuration with this service
provider. Am using the Grand streams AT286 with the Aastra 390
phone.Running on FC3. no problems so far. I can make out side calls and
receive calls from any where. No delay is experience and the call
quality is great.The AT286 has the latest code on it. In the
configuration below I have set up 3 phone with their extension. I can do
4 digit extension dial between them. The voice mail extension will auto
forward to the right mail box base on the caller id. I still have a lot
to improve on voice mail,music on hold,auto attendant. If you have any
improvements to this configuration or the way I set it up, please fell
free to e-mail me. Also am working on a cheaper solution to add T1 or
SDSL interfaces with at least 8 pots ports. The current solution from
digium for T1 and 8 ports is about $1100. If I succeed on my solution it
will be around $450 (SDLS with 8 FXS ports) and $800 for the T1 with 8
FXS ports, but don't get exited  I still have a lot of work to do on
that. I will keep everyone posted on it.
Any ? just drop me an e-mail at wcruz at cybersouth.com

   Thanks For the space, 
                         William Cruz                             

;################################################################################
;     Swifttel SIP Configuration File
;################################################################################

[general]
context=from-sip
port=5060
bindaddr=0.0.0.0
srvlookup=yes

register=userid:password at rs.swifttel.com/5552225059
register=userid:password at rs.swifttel.com/5552225046
register=userid:password at rs.swifttel.com/5552225049

defaultexpirey=1200    ; Default length of incoming/outoing registration
disallow=all
allow=ulaw
allow=alaw
allow=g723.1
allow=g729
nat=yes
externip=216.246.192.144
localnet=192.168.0.1/255.255.255.0


[5046]
type=friend
context=from-sip
defaultip = 192.168.0.5
host=dynamic
canreinvite=yes
dtmfmode=info
mailbox=5046 at local
disallow=all
allow=ulaw
allow=alaw
allow=g723.1
allow=g729


[5049]
type=friend
context=from-sip
;callerid=John Doe <1234>
defaultip=192.168.0.6
host=dynamic
canreinvite=yes
dtmfmode=info
mailbox=5049 at local
disallow=all
allow=ulaw
allow=alaw
allow=g723.1
allow=g729


[5059]
type=friend
context=from-sip
;callerid=John Doe <1234>
defaultip=192.168.0.3
host=dynamic
canreinvite=yes
dtmfmode=info
mailbox=5059 at local
disallow=all
allow=ulaw
allow=alaw
allow=g723.1
allow=g729

;################################################################################
;     End Swifttel SIP Configuration File
;################################################################################




;################################################################################
;     Swifttel Extensions Configuration File
;################################################################################

[general]

static = yes            ;These two lines prevent the commnd-line
interface
writeprotect = yes   ;from overwriting the config file. Leave them here.

[globals]
USERID = 9126085059  ;Main office number


[from-sip]
;External Calls Comming in
exten => 5552225059,1,Dial(SIP/5059,20,tr)
exten => 5552225046,1,Dial(SIP/5046,20,tr)
exten => 5552225049,1,Dial(SIP/5049,20,tr)


;Internal Calls
exten => 5046,1,Dial(SIP/5046,20,tr)
exten => 5046,2,VoiceMail(u5046)
exten => 5046,102,VoiceMail(b5046)
exten => 5046,103,Hangup


exten => 5049,1,Dial(SIP/5049,20,tr)
exten => 5049,2,VoiceMail(u5049)
exten => 5049,102,VoiceMail(b5049)
exten => 5049,103,Hangup


exten => 5059,1,Dial(SIP/5059,20,tr)
exten => 5059,2,VoiceMail(u5059)
exten => 5059,102,VoiceMail(b5059)
exten => 5059,103,Hangup


;Internal Calls going out
exten => _9.,1,SetCallerID(${USERID})
exten => _9.,2,Dial(SIP/${EXTEN:1}@nt.swifttel.com,30,tr)


;Mailbox main extension number
exten => 5000,1,Ringing
exten => 5000,2,Wait(2)
exten => 5000,3,VoicemailMain(${CALLERIDNUM})
;################################################################################
;    End Swifttel Extensions Configuration File
;################################################################################









 everyone in the asterisk community. Am new to asterisk, while doing
the installation I notice that sip.conf examples were not clear for
beginners like me so I would like to share my current working
configuration with everyone.
Swifttel.net is a new VoIP service Provider out of Georgia. Their web
site is www.swifttel.net.Currently we have service with them and it has
been a pleasant experience. The asterisk SIP setup is very simple and it
works great. Included is my current SIP configuration with this service
provider. Am using the Grand streams AT286 with the Aastra 390
phone.Running on FC3. no problems so far. I can make out side calls and
receive calls from any where. No delay is experience and the call
quality is great.The AT286 has the latest code on it. In the
configuration below I have set up 3 phone with their extension. I can do
4 digit extension dial between them. The voice mail extension will auto
forward to the right mail box base on the caller id. I still have a lot
to improve on voice mail,music on hold,auto attendant. If you have any
improvements to this configuration or the way I set it up, please fell
free to e-mail me. Also am working on a cheaper solution to add T1 or
SDSL interfaces with at least 8 pots ports. The current solution from
digium for T1 and 8 ports is about $1100. If I succeed on my solution it
will be around $450 (SDLS with 8 FXS ports) and $800 for the T1 with 8
FXS ports, but don't get exited  I still have a lot of work to do on
that. I will keep everyone posted on it.
Any ? just drop me an e-mail at wcruz at cybersouth.com

   Thanks For the space, 
                         William Cruz                             

;################################################################################
;     Swifttel SIP Configuration File
;################################################################################

[general]
context=from-sip
port=5060
bindaddr=0.0.0.0
srvlookup=yes

register=userid:password at rs.swifttel.com/5552225059
register=userid:password at rs.swifttel.com/5552225046
register=userid:password at rs.swifttel.com/5552225049

defaultexpirey=1200    ; Default length of incoming/outoing registration
disallow=all
allow=ulaw
allow=alaw
allow=g723.1
allow=g729
nat=yes
externip=216.246.192.144
localnet=192.168.0.1/255.255.255.0


[5046]
type=friend
context=from-sip
defaultip = 192.168.0.5
host=dynamic
canreinvite=yes
dtmfmode=info
mailbox=5046 at local
disallow=all
allow=ulaw
allow=alaw
allow=g723.1
allow=g729


[5049]
type=friend
context=from-sip
;callerid=John Doe <1234>
defaultip=192.168.0.6
host=dynamic
canreinvite=yes
dtmfmode=info
mailbox=5049 at local
disallow=all
allow=ulaw
allow=alaw
allow=g723.1
allow=g729


[5059]
type=friend
context=from-sip
;callerid=John Doe <1234>
defaultip=192.168.0.3
host=dynamic
canreinvite=yes
dtmfmode=info
mailbox=5059 at local
disallow=all
allow=ulaw
allow=alaw
allow=g723.1
allow=g729

;################################################################################
;     End Swifttel SIP Configuration File
;################################################################################




;################################################################################
;     Swifttel Extensions Configuration File
;################################################################################

[general]

static = yes            ;These two lines prevent the commnd-line
interface
writeprotect = yes   ;from overwriting the config file. Leave them here.

[globals]
USERID = 9126085059  ;Main office number


[from-sip]
;External Calls Comming in
exten => 5552225059,1,Dial(SIP/5059,20,tr)
exten => 5552225046,1,Dial(SIP/5046,20,tr)
exten => 5552225049,1,Dial(SIP/5049,20,tr)


;Internal Calls
exten => 5046,1,Dial(SIP/5046,20,tr)
exten => 5046,2,VoiceMail(u5046)
exten => 5046,102,VoiceMail(b5046)
exten => 5046,103,Hangup


exten => 5049,1,Dial(SIP/5049,20,tr)
exten => 5049,2,VoiceMail(u5049)
exten => 5049,102,VoiceMail(b5049)
exten => 5049,103,Hangup


exten => 5059,1,Dial(SIP/5059,20,tr)
exten => 5059,2,VoiceMail(u5059)
exten => 5059,102,VoiceMail(b5059)
exten => 5059,103,Hangup


;Internal Calls going out
exten => _9.,1,SetCallerID(${USERID})
exten => _9.,2,Dial(SIP/${EXTEN:1}@nt.swifttel.com,30,tr)


;Mailbox main extension number
exten => 5000,1,Ringing
exten => 5000,2,Wait(2)
exten => 5000,3,VoicemailMain(${CALLERIDNUM})
;################################################################################
;    End Swifttel Extensions Configuration File
;################################################################################












More information about the asterisk-users mailing list