[Asterisk-Users] IAX2 calls through IAXTEL.com
Steve Woolley
swoolley at adstelecom.com
Tue Jul 13 05:38:32 MST 2004
I created an account at IAXTEL.com to route 1-700-XXX-XXXX calls
through. IAXTEL.com gave me a number (example) of 700-555-6226. I have
made the following changes to my:
/etc/asterisk/extensions.conf:
[iaxtel700]
exten =>
_81700XXXXXXX,1,Dial(IAX2/myusername:mypassword at iaxtel.com/${EXTEN:1})
exten =>
_81800NXXXXXX,1,Dial(IAX2/myusername:mypassword at iaxtel.com/${EXTEN:1})
/etc/asterisk/iax.conf:
[general]
port=5036
bandwidth=high
disallow=all
allow=gsm
tos=0x18
register => myusername:mypassword at iaxtel.com
[guest]
type=user
context=guest
[iaxtel]
type=peer
context=inbound-analog
auth=rsa
inkeys=iaxtel
[iaxtel-outbound]
type=peer
username=swoolley
secret=gl0bal
host=iaxtel.com
The good news is that dialing 700-XXX-XXXX numbers (at Digium) works
great.
I however have two problems:
1) if I dial 800 numbers, like (800)555-1212, I get a bunch of silence
and the following in my log:
-- Starting simple switch on 'Zap/97-1'
-- Executing NoOp("Zap/97-1", "") in new stack
-- Executing Goto("Zap/97-1", "intern-post|818005551212|1") in new
stack
-- Goto (intern-post,817005556226,1)
-- Executing Dial("Zap/97-1",
"IAX2/myusername:mypassword at iaxtel.com/18005551212 at iaxtel") in new stack
-- Called myusername:mypassword at iaxtel.com/18005551212 at iaxtel
-- Call accepted by 69.73.19.178 (format GSM)
-- Format for call is GSM
-- IAX2[iaxtel-outbound]/3 stopped sounds
The call never seems to go through.
2) Not knowing any other way to test, I have simply picked up my
asterisk SIP and analog phones and dialed my own 700 number
(700)555-6226 to which I get a bunch of silence and the following in my
log:
-- Executing NoOp("Zap/97-1", "") in new stack
-- Executing Goto("Zap/97-1", "intern-post|817005556226|1") in new
stack
-- Goto (intern-post,817005556226,1)
-- Executing Dial("Zap/97-1",
"IAX2/myusername:mypassword at iaxtel.com/17005556226 at iaxtel") in new stack
-- Called myusername:mypassword at iaxtel.com/17005556226 at iaxtel
-- Call accepted by 69.73.19.178 (format GSM)
-- Format for call is GSM
-- IAX2[iaxtel-outbound]/2 stopped sounds
-- Hungup 'IAX2[iaxtel-outbound]/2'
But I do get a:
-- Registered to '69.73.19.178', who sees us as 63.143.35.201:4569
When asterisk is starting up so I belive I am registered.
Can I simply not dial my own 700 number from the same asterisk PBX as
a test or do I have some real problem?
--
Steve Woolley
IT Manager
ADS Telecom, Inc.
59 Skyline Drive
Suite 1250
Lake Mary, Florida 32746
Phone: (407)682-6226 x1110
Fax: (407)682-3455
Cell: (321)229-5311
swoolley at adstelecom.com
www.adstelecom.com
More information about the asterisk-users
mailing list