Hi,

I would like to achive such thing:

Asterisk is gateway between two sip domain domain.a and domain.b.
There are two users registered in domain A: bob1 and bob2.
When they are making outbound calls the calls should go through the asterisk
gateway.
Asterisk has two users registered in domain B sally1 and sally2 (with the
usage of 'register =>' command in sip.conf).
when there is a call initiated by [EMAIL PROTECTED] I would like asterisk to
pass it further as the user [EMAIL PROTECTED] and similary when call is
initiated by [EMAIL PROTECTED]
to pass it as [EMAIL PROTECTED] So can I somehow check who is making the call
from domain A and according to this criteria make a decision which user from
domain B will be assigned in asterisk to pass it further??

Thank you for any help.

Bests regards

On 11/4/07, Dovid B <[EMAIL PROTECTED]> wrote:
>
>  If you just want all users to register with "Domain A" and call over a
> single SIP trunk to "Domain B" that would be fairly simple. You have all the
> phones register on "Domain A" and set that all calls got through trunk X to
> "Domain B". If you want "Domain B" to call a specific phone connected to
> "Domain A" then it might be a bit trickier.
>
> ----- Original Message -----
> *From:* Tomasz Zieleniewski <[EMAIL PROTECTED]>
> *To:* [email protected]
> *Sent:* Friday, November 02, 2007 5:25 PM
> *Subject:* [asterisk-users] Asterisk as a SIP to SIP Gateway
>
> Hi,
>
> It is my second time when I try to use asterisk :)
> I am starting with the following issue.
> I want asterisk to behave as a gateway between two sip networks.
>
> My architecture is the following:
>
> SIP proxy (registrar - domain A)    ---------------   Asterisk Gateway
> ------------------------ SIP proxy (registrar - domain B)
>
> (number of UAC registered in domain B)
>
> Asterisk form the point of view of the domain A and users registered in A
> is outbound proxy and from the point of view of domain B is a set of SIP
> clients.
> Is it possible to configure asterisk in such way that for a particular
> user from domain A who calls through asterisk
> the SIP signaling will be passed through some pointed user (asterisk user
> logged in domain B).
> It is easy to achieve that in the other direction. when there is a
> connection from domain B to a particular user which was registered
> by asterisk. One can forward such connection to some user registered in
> sip proxy in domain A.
> Please point me how can make such a mapping between the calling user from
> domain A and a user in asterisk who is registered in domain B??
>
> Thank You in advance.
> Regards
>
> Tomasz
>
>  ------------------------------
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to