Summary:ASTERISK-00248: [patch] put bridge option in [general] and userbyalias option
Reporter:Pavel Litvinenko (pavell)Labels:
Date Opened:2003-09-11 14:22:20Date Closed:2008-01-15 14:38:58.000-0600
Versions:Frequency of
Environment:Attachments:( 0) h323.patch
Description:currently bridge=1 is hardcoded (in some places of course) - more usefult to set it by option in general

and the second option is for when you want to put incomming call from one ip to certain context (no matter what h323_id is recieved )
if you set userbyalias = no
incoming user will be looked by its IP not h323_id


My network is simple
- asterisk + 2 dlink h323 fxo gates
- and cisco ip-ip gateway to public VoIP network
- and one client with unknown h323 device
The main problem was to prevent native bridge between internal phones (some has private ip) and outside wold
and guaraty that call from external h323 gate will be placed in its context ... now everything is working almost stable.
Comments:By: jerjer (jerjer) 2003-09-14 22:13:54

native bridging is disabled, currently.

For the userbyalias stuff, why not make it selectable per user?

By: Pavel Litvinenko (pavell) 2003-09-20 14:33:58

because sometime I need to select by ip address , some part of our network is bult  with this criteria, I need to integrate * to that network transparently.

... sorry for my english

By: John Todd (jtodd) 2003-10-19 20:32:02

So what's the status on this?

By: Pavel Litvinenko (pavell) 2003-10-20 00:39:57

ask JerJer, that patch  ( find_user() ) works great at last for me ...

By: jerjer (jerjer) 2003-10-30 10:18:36.000-0600

Can someone else voutch for this patch?   I see no need.  IP addressing is a gatekeeper function.

By: Pavel Litvinenko (pavell) 2003-10-31 11:23:22.000-0600

there are some people who does not use GK,
at last I'm using it, does it break  functionality of chan_h323 ? No
Does it give to admin  more flexibility ? Yes
Why not to submit it???

By: jerjer (jerjer) 2003-12-08 23:21:20.000-0600

Submitted to cvs, untested.

By: Digium Subversion (svnbot) 2008-01-15 14:38:58.000-0600

Repository: asterisk
Revision: 1842

U   trunk/channels/chan_h323.c

r1842 | jeremy | 2008-01-15 14:38:57 -0600 (Tue, 15 Jan 2008) | 2 lines

implement userbyalias. This will look to IP instead of H.323ID, if enabled Bug ASTERISK-248