Re: Solution to use different outbound gateways for different unregistered endpoints.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I have heard this request a few times now. Maybe we should add a
'source' routing policy where one can specify such rules.
To do this now, you indeed have to use the 'vqueue' or 'sql' policy.

With the 'sql' policy and Mysql you could use something like
Query=select if(strcmp('%s', '2.2.2.2'), '3.3.3.3', '4.4.4.4');

So all calls from IP 2.2.2.2 will go to gateway 4.4.4.4 and all others
to will go to gateway 3.3.3.3. But with SQL is will get complicated
pretty soon if you have more client IPs, so I would use the 'vqueue'
policy and use a real programming language.

Regards,
Jan


Слуднев Тимофей wrote:
> I am searching the way to use different outbound gateways for different unregistered endpoints.
> 
> For Expample:
> If calls come from IP1 the preferred gateway must be GW2 then GW1
> and
> If a call comes from IP2 the preferred gateway must be GW1 then GW2
> 
> What are possible solutions?
> 
> The use of prefixes prepended to dialed number?
> 
> Maybe someone can give me an exapmple of SQL routing? Will It work with unregistered endpoints.
> Thank you.

-- 
Jan Willamowius, jan@xxxxxxxxxxxxxx, http://www.gnugk.org/

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________________

Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/


[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux