You haven't specified the reason why one box talks SIP and the other
talks IAX. While there are reasons you could want this I suspect that
you may not be aware that any Asterisk box can talk both protocols at
the same time and automatically convert between them.

If you do need 2 Asterisk boxes, you can connect them via any protocol
that Asterisk supports - SIP, IAX, T1, etc.

The dialplan (/etc/asterisk/extensions.conf) is "the" file where you
would tell the system where a phone "lives". This is done by the dial
string including the technology (channel) that Asterisk needs to use to
get there. This is true even if I have two different protocol devices on
the same box who need to call each other.

eg:
exten=> 5001,1,Dial(IAX2/phone1/5001)
exten=> 5002,1,Dial(SIP/phone2/5002)
exten=> 5003,1,Dial(IAX2/[EMAIL PROTECTED]/[EMAIL PROTECTED])

All three of these phones can communicate just by calling their
extensions even though 5001 is an IAX phone, 5002 is a SIP phone and
5003 is a phone that we don't know what protocol it talks found on a
server at something.com.

If you do need to connect multiple boxes together you would typically
have to edit the config files for the TYPE of connection you are
looking at between the two. In the example above, you see by exten 5003
that the remote box is connected via IAX2, this means the config will be
in /etc/asterisk/iax.conf. The details of configuring multi-box
connections is well documented on the wiki and beyond the scope of this
email right now.

Hope this helps out a bit - dbc.
--
David Cook


Quoting Nishith Patel <[EMAIL PROTECTED]>:

> Hello there,
>
> Please help me out to find out transforming the signaling from SIP to
> IAX.
>
> In my scenario I would like to have two servers one of them is
> supporting
> SIP and other one is supports only IAX.
>
> Now I would like to register to any of the server and want to call to
> other
> server.
>
> For example I will register to SIP server and want to call to IAX
> server ,
>
> In short I would like to call from server to server.
>
> Please help me out where should I change in configuration files.
>
> I am new at asterisk so please help me out in little bit detail.
> Any kid of help will be appreciated.
>
> Please help me out .
>
> Best regards,
>
> Nishith
>

Reply via email to