[asterisk-users] iax reject using domain name
Nhadie
nhadie at gmail.com
Tue Sep 16 13:39:44 CDT 2008
Hi,
I have this setup:
[asterisk 1] [asterisk 2]
| |
--[ asterisk 3 ]--
|
[cisco AS]
|
[pstn]
asterisk 1 and 2 are where the users register,casterisk 3 handles calls
to/from pstn
i use iax peering between the registrar and asterisk 3, using realtime also.
on asterisk 3 i set:
host=my.domain.com
on asterisk 1 and 2 i set
host=201.202.203.204 (ip address of asterisk 3)
call from pstn to a user works, call from user going out gets rejected
by asterisk 3.
from asterisk 1:
chan_iax2.c:7561 socket_process: Rejected connect attempt from
201.202.203.202 (ip address of asterisk 1)
tried from asterisk 2 as well:
chan_iax2.c:7561 socket_process: Rejected connect attempt from
201.202.203.203 (ip address of asterisk 1)
but when i set host='201.202.203.202' on asterisk 3 it accepts the call
from asterisk 1 it's not rejected anymore, but of course i wont be able
to make calls from asterisk unless i defined another peer just for that.
and also, inbound calls will all go thru asterisk 1.
is there a setting on iaxdomain where i can send the fromdomain just
like in sip.conf?
thank you
regards,
nhadie
More information about the asterisk-users
mailing list