I have just resolved the problem and included in this email, hoping it will help other people of get incoming Iaxtel working.
Asterisk, at the moment, does not work with FWD. But Iaxtel and FWD can interconnect therefore having an Iaxtel account is the same as FWD account.
I have read through a lot of google search and the materials are scare. I think it would be useful to document it.
For Iaxtel to direct calls into your *, you will need to set up your iax.conf as follows:
Under general section, the default will be fine. You need to register iax with iaxtel so that FWD user can contact you.
[general] register: dkwok:[EMAIL PROTECTED]
But you have to set up a client to allow Iaxtel to put calls through.
[iaxtel] type=friend host=iaxtel.com context=from-iaxtel
For type,
type=friend * will allow both incoming and outgoing type=user * will allow incoming type=peers * will allow outgoing
context will direct the incoming call to the context section in extensions.conf. In this case, [from-iaxtel]. You will need to setup exten under [from-iaxtel].
When Iaxtel sending through call it is in the format
[EMAIL PROTECTED]/[EMAIL PROTECTED], therefore, you have to set up your context in extensions.conf as follows:
[from-iaxtel] exten =>s,1,Wait(1) exten =>s,2,Answer exten =>_.,3,Dial(sip/1001,20,tr) exten =>_.,4,Hangup
Have fun with *, thanks to Mark and his team.
David Kwok
--- Begin Message --- Hi All
I have problem trying to receive incoming calls from iaxtel.com. The error message is " rejected connect from ip address - <iaxtel.com>.
I have set up the iax.conf file as follow:
port=5036 allow=gsm
register=>dkwok:[EMAIL PROTECTED]
[dkwok] type=friend context=from_iaxtel
My extensions.conf is as follows:
[from_iaxtel] exten => 17001813482,1,Dial(sip/1001,20,tr)
iax2 show registry
69.73.19.178:4569 dkwok 203.219.xxx.xxx:1200 60 Registered
But when connection is attempted, the console says :
File chan_iax2.c, Line 4301 (socket_read): Rejected connect attempt from 69.73.19.178.
Any pointer will be appreciated.
Also when iaxtel put call through local iax server does it send username password and is it matched up with the client section in iax.conf?
David Kwok
smime.p7s
Description: S/MIME Cryptographic Signature
--- End Message ---
smime.p7s
Description: S/MIME Cryptographic Signature
