[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

9.1

Configure Asterisk to accept and make call using X-lite through broadvoice

Asked by vonair in Voice Over IP, Asterisk Open Source Telephony, IP PBX Systems

Tags: Asterisk

OS: 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.com:fsdfsfsfs:9729245650@sip.broadvoice.com

[sip.broadvoice.com]

type=friend
user=phone
host=sip.broadvoice.com
fromdomain=sip.broadvoice.com
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}@sip.broadvoice.com,30)
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/4694507630
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/vox/_test

using the command "mv callfilename /var/spool/asterisk/outgoing"

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
 
Related Solutions
Keywords: Configure Asterisk to accept and make…
 
Loading Advertisement...
 
[+][-]09/05/08 10:14 PM, ID: 22406166Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zones: Voice Over IP, Asterisk Open Source Telephony, IP PBX Systems
Tags: Asterisk
Sign Up Now!
Solution Provided By: xuserx2000
Participating Experts: 2
Solution Grade: A
 
[+][-]09/05/08 10:14 PM, ID: 22406167Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/05/08 10:18 PM, ID: 22406179Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-92 / EE_QW_2_20070628