tail -f /var/log/asterisk/full
Then attempt the call and paste the log here please :)
Main Topics
Browse All TopicsOS: CentOS 5
Asterisk version: 1.4
Asterisk server IP: X.X.X.X (public IP)
X-lite IP: 192.168.10.1(private IP)--behind NAT
I am trying to configure asterisk with X-lite using broadvoice account for incoming and outgoing calls. Please check my sip.conf and extensions.conf below
sip.conf configuration
[general]
context=context
bindport=5060
bindaddr=X.X.X.X
pedantic=no
register => 9729245650@sip.broadvoice.
[sip.broadvoice.com]
type=friend
user=phone
host=sip.broadvoice.com
fromdomain=sip.broadvoice.
fromuser=9729245650
secret=dadaddafds
username=9729245650
insecure=port,invite
context=context
authname=9729245650
dtmfmode=inband
dtmf=inband
;Disable canreinvite if you are behind a NAT
canreinvite=no
[2001]
type=friend
username=2001
secret=welcome
host=dynamic
context=context
nat=yes
reinvite=no
qualify=1000
canreinvite=no
dtmfmode=inband
extensions.conf configuration
[context]
;For incoming calls
;This extension line will ring SIP
;extension 2001 for 60 seconds then hang up. Modify as necessary to fit your dialplan
exten => s,1,Dial(SIP/2001,60,tr)
exten => s,2,hangup
;For outgoing calls
;Pattern match for local call plan, use appropriate pattern if on nationwide plan.
exten => _1NXXNXXXXXX,1,dial(SIP/${
exten => _1NXXNXXXXXX,2,congestion(
exten => _1NXXNXXXXXX,102,busy()
Current situation:
1) Asterisk registers with broadvoice.
2) Can make call to 4694507630 using directly the following call file
Channel: sip/sip.broadvoice.com/469
WaitTime: 20
Context: context
Extension: 2001
Priority: 1
CallerID: Asterisk <972-924-5650>
Set: CONTACT=4694507630
Set: SESSION=2
Set: VOICE_FILE=/home/call_apps
using the command "mv callfilename /var/spool/asterisk/outgoi
3) X-lite registers successfully with asterisk using the following settings
Display Name: 2001
user name : 2001
password: sfsdfs
authorization user name: 2001
domain: asterisk server IP
proxy address: asterisk server IP
But when I try to call 4694507630 from X-lite it returns "call failed".
Please provide help and suggestions on how to make call using X-lite after registering to asterisk through broadvoice.
Thanks
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: xuserx2000Posted on 2008-09-05 at 22:14:31ID: 22406166
looks like your problem is here.. EXTEN}@sip .broadvoic e.com,30)
XTEN}@sip. broadvoice .com,30)
exten => _1NXXNXXXXXX,1,dial(SIP/${
You're dialing without a 1.
should be...
exten => _NXXNXXXXXX,1,dial(SIP/${E
exten => _NXXNXXXXXX,2,congestion()
exten => _NXXNXXXXXX,102,busy()