[Asterisk-Users] RE: Configure and Replace Voipjet.com content in
Asterisk
Crazy Boy
crazymoonboy at yahoo.com
Wed May 24 23:54:50 MST 2006
Hi Chris,
Thank you for the response.
For password information, its not a problem. Because, its trail version. So, we can register again with different mail id.
Can you please give me complete example. Here I am sending my config details and information provided by VoIPJet. So, please modify my config files according to the values provided by VoIPJet and send me.
Please assume 001-857-991-8585 as a phone number, I want to make a call.
My configuration details are:
Contents of IAX.CONF File:
[102]
type=friend
username=102
secret=chandra
host=dynamic
context=tutorial
Contents of SIP.CONF File:
[102]
type=friend
username=102
secret=chandra
host=dynamic
context=tutorial
Contents of EXTENSIONS.CONF File:
[tutorial]
exten => 102,1,Dial(SIP/102,10)
exten => 102,2,Voicemail(u102)
exten => 102,3,Voicemail(b102)
exten => 102,4,Hangup
Contents of VOICEMAIL.CONF File:
[default]
102 => chandra,Chandramouli,chandra at xyz.com,chandra at xyz.com
The above information is my content. With this Intercom is implemented successfully with voicemail.
The below information is given by VoIPJet:
VoipJet account number (username/UserID): 9333
Authorization code (password): a47769538c462223 (You should see an MD5 string, if it is blank logout and login again)
Peer1 East Coast Server: 64.34.45.100
NAC East Coast Server II: 66.246.220.19
Mzima West Coast Server: 72.34.43.5
InterNap West Coast Server II (soon to be discontinued): 69.25.60.30
(Choose depending on your location)
(N.B. 216.118.117.46 has been discontinued due to problems)
Asterisk PBX Step 1: Add the following lines to the end of iax.conf (found in /etc/asterisk)
[voipjet]
type=peer
host= 64.34.45.100
secret= a47769538c462223
auth=md5
notransfer=yes
context=default
Step 2: Add the following to extensions.conf (found in /etc/asterisk)
; NANPA: North American Numbers dialed as 1 + area code
; For example, the New York Public Library is dialed as 12123400849
; 1 (North American call) 212 (New York area code) 3400849 (libary's phone number)
; WORLD: International Numbers dialed as 011 + country code + number
; For example, the Tate Modern Museum in London, U.K. is dialed as 011442078878000
; 011 (International call) 44 (U.K. country code) 2078878000 (museum's number)
; Finally, the number just before @voipjet in the Dial string is your VoipJet userid #
exten => _1NXXNXXXXXX,1,SetCallerID(4153574000); Set your CallerID as a ten digit number like this. See our FAQ
exten => _1NXXNXXXXXX,2,Dial,IAX2/9333 at voipjet/${EXTEN} ; VoipJet.com NANPA
exten => _011.,1,SetCallerID(4153574000); Set your CallerID as a ten digit number like this. See our FAQ.
exten => _011.,2,Dial,IAX2/9333 at voipjet/${EXTEN} ; VoipJet.com WORLD
;Do not change IAX2/9333 in the above two lines!
Step 3A (recommended): Set your codec to G.711 ulaw for optimal sound clarity and minimal transmission delay. In iax.conf (found in /etc/asterisk) locate the codec section and include the following only.
disallow=all ; Prevent all codecs...
allow = ulaw ; ...except G.711 ulaw
Step 3B (recommended): Also in iax.conf, enable the jitter buffer. This section is usually immediately below the codecs section.
jitterbuffer=yes ; Jitter buffer enabled...
dropcount=1 ; ...to drop at most 0.5% of VoIP packets
Are there any modifications needed in X-Lite softphone settings?
Do I need any extra hardware needed to implement this?
Please help me. Looking forward for your response.
Thanks&Regards,
Chandramouli
Chris Blunt <chris.blunt at entropy-it.com> wrote: Hi Chandramouli
Setting up VoipJet is quite simple really, you have done all the hard bit to
get you Asterisk config this far.
Firstly may I point out if you are posting your configuration to this list
you change your password information, as you have just given everyone access
to your account at voipjet.
Make the changes to your iax.conf as voipjet suggest, the config they give
you is generated for you and is not generic.
Then you will need to add some provision in your dialplan (extensions.conf)
to route your outbound calls.
Something like:
exten => _9.,1,SetCIDNum(123456432) ; This is your proper phone number
exten => _9.,2,Dial(IAX2/1082 at voipjet/${EXTEN:1},45,tr) ;dials the number
What this does: To make a call dial 9 followed by the number and press dial
on x-lite. The first command sets your Caller ID number. The second line
strips the 9 from the beginning of your number and hands the call to voipjet
to terminate.
You will need to ensure that your users have access to the context in wich
you put these entries.
As voipjet are US based you will need to dial your numbers in a us format.
Ie. 312 xxx xxxx (for calling Chicago).
Hope this helps you out.
Chris
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060524/0154ade2/attachment.htm
More information about the asterisk-users
mailing list