[Asterisk-Users] SIP client to IAXTel 800/888/877/866 dialing thru Asterisk
Dameon D. Welch-Abernathy
dwelch at phoneboy.com
Mon Jul 12 11:42:57 MST 2004
Through my Asterisk server, I am trying to use IAXTel to dial 800-type
numbers (yes, I know I can do the same thing with FWD and others via
SIP, but I wanted to play with IAX a little). It appears I'm running
into some sort of a codec mismatch or something because it's not working
right. The SIP client is a SPA-3000.
In iax.conf, I have something like the following:
[General]
disallow=all
allow=ilbc
allow=adpcm
allow=g726
allow=gsm
allow=ulaw
allow=alaw
register => user:pass at iaxtel.com
[iaxtel]
type=friend
host=iaxtel.com
secret=password
auth=rsa
context=from-iaxtel
inkeys=iaxtel
The sip.conf has similar settings in the General section related to
codecs. The codec on the SPA-3000 is forced to G.711 (the only thing it
talks to directly is my Asterisk server).
When I make a call to a number on IAXTel (e.g. 1-700-VOXILLA), it works
fine. If I try and call an 800 number, I don't get any audio. However,
it appears the IAX side of the equation isn't negotiating a codec right.
Furthermore, the SIP side is choosing the wrong codec (though I've tried
putting allow=ulaw first and it still didn't help)
grover*CLI> iax2 show channels
Peer Username ID (Lo/Rem) Seq (Tx/Rx) Lag Jitter
JitBuf Format
69.73.19.178 (None) 00003/00000 00001/00000 00000ms 0000ms
0000ms UNKN
69.73.19.178 phoneboy 00005/00102 00019/00017 00099ms 0000ms
0010ms UNKN
2 active IAX channel(s)
grover*CLI> sip show channels
Peer User/ANR Call ID Seq (Tx/Rx) Format
10.0.0.250 53 2b890d18-49 00101/00103 ILBC
1 active SIP channel(s)
Is there a problem with iaxtel? Any ideas?
Asterisk CVS-HEAD-07/06/04-01:33:49 built by root at grover on a i686
running Linux
-- PhoneBoy
More information about the asterisk-users
mailing list