Re: can I map a "number" for an unregistered endpoint?

Bo Xu <[email protected]> Thu, 15 Sep 2016 11:54:35 -0400
Newsgroups gmane.comp.telephony.openh323gk.user
Message-ID <CAFgLERmPuPi2K6CZAX3mzRzWogDAoHy36SsZgGkXY3JTDjaiuA@mail.gmail.com>
--===============7203900558122488053==
Content-Type: multipart/alternative; boundary=001a113b121cd29127053c8ddccc

--001a113b121cd29127053c8ddccc
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Hi Jan,

Thanks for the info!  yes I added GWRewriteE164 into my gk.ini according to
the document you mentioned as the following:
[RasSrv::PermanentEndpoints]
10.4.34.36:1720=3DmyMCU;11
[RasSrv::GWRewriteE164]
myMCU=3Dout=3D11III=3DPPP
and now when I dial "GnuGN-IP##11567" then I can join the room-567 Thanks!

I just have a question for the syntax of "I and P":  now I only can match
the fixed width of call number, for example:
if I define "myMCU=3Dout=3D11III=3DPPP",        then I can join 3-digits ro=
om
like 567
if I define "myMCU=3Dout=3D11IIIII=3DPPPPP",  then I can join 5-digits room=
 like
56789
but if I define them together like "myMCU=3Dout=3D11III=3DPPP,
myMCU=3Dout=3D11IIIII=3DPPPPP", it seems only the first (3-digit) can call =
OK,
but the second (5-digit) cannot call

could you tell me if I can define a rule to match any digit-width call?
because sometime users will define a 3-digit room like 567, sometimes they
will define 5-digit room like 56789, can I just set one rule of
GWRewriteE164 to macth different digit-width room-passcode (i.e., math 567
and 56789 at same time) ? Thanks!

Regards,
Bo






Think of the special characters as wildcards:
"0.7" means "prefix 007 and prefix 017 and prefix 027...".

If you want to rewrite the destination number before it is sent out by GnuG=
k,
check out the [RasSrv::GWRewriteE164] section and add an out rule for your =
MCU.

See http://www.gnugk.org/gnugk-manual-6.html#ss6.4

Regards,
Jan

--=20
Jan Willamowius, Founder of the GNU Gatekeeper Project
EMail  : jan@...
Website: http://www.gnugk.org
Support: http://www.willamowius.com/gnugk-support.html

Relaxed Communications GmbH
Frahmredder 91
22393 Hamburg
Gesch=C3=A4ftsf=C3=BChrer: Jan Willamowius
HRB 125261 (Amtsgericht Hamburg)
USt-IdNr: DE286003584


On Thu, Sep 15, 2016 at 10:07 AM, Bo Xu <[email protected]> wrote:

>
> in 7.3 Section [RasSrv::PermanentEndpoints] I find the following:
> https://www.gnugk.org/gnugk-manual-7.html
>
> ...
> Special characters . and ! can be used with prefixes here to match any
> digit and disable the prefix
>
> Example:
> For gateway,
> 10.0.1.5=3DMyGW;009,008:=3D2,0.7:=3D3
> ...
>
> can I use "." and "!" to remove the prefix?  could you tell me the meanin=
g
> of  "0.7" in above example Thanks!
>
> Thanks,
> Bo
>
>
>
>
>
> On Thu, Sep 15, 2016 at 9:43 AM, Bo Xu <[email protected]> wrote:
>
>>
>> I just have a question:  can I set the perm-Alias so GnuGK will
>> automatically remove the prefix when routing the call? for example:
>>
>> I config a perm-Alias as the following:
>> [RasSrv::PermanentEndpoints]
>> 10.4.34.32:1720=3DmyMCU;111
>>
>> and in myMCU there is a conference-room whose passcode is 111567, now if
>> I call GnuGK-IP##111567 it join the room successfully
>>
>> my question is: if in myMCU there is a conference-room whose passcode is
>> 567, now if I call GnuGK-IP##111567, can GnuGK help me remove prefix "11=
1",
>> and join the 567-room?
>>
>> I just want to know if it is possible to let the room-passcode doesn't
>> have to include the prefix, because sometimes the conference-room is
>> created by users and they might not know the prefix I set for myMCU
>>
>> Thanks for you help!
>> Bo
>>
>>
>>
>>
>>
>>
>>
>>
>> On Wed, Sep 14, 2016 at 12:18 PM, Bo Xu <[email protected]> wrote:
>>
>>> Hi Robert,
>>>
>>> Thanks for the info!  yes I updated my gatekeeper.ini as yours and now =
I
>>> can call the unregistered-EP with perm-Alias or Rewrite-W164 successful=
ly!
>>>  the following is my new config:
>>>
>>> [RasSrv::PermanentEndpoints]
>>> 10.4.34.32:1720=3DMCU1;5006
>>>
>>> [RasSrv::RewriteE164]
>>> 222=3D5006
>>>
>>> the reason I can not call before is because I thought 5006 is the Alias
>>> itself but it actually is Prefix (i.e., 5006 is the room-passcode of my
>>> MCU, not that MCU itself),  after I updated my config as yours now I ca=
n
>>> directly join the conference-room with "GnuGK-IP##5006" or GnuGK-IP##22=
2".
>>>
>>> also just want to let you know that I tested the calls from both
>>> registered/unregistered Polycom-PVX, they all can call successfully as =
the
>>> following:
>>> from unregistered Polycom-PVX:   GnuGK-IP##5006 or GnuGK-IP##222
>>> from registered Polycom-PVX:       directly call 5006 or 222 is fine,
>>>  (also call GnuGK-IP##5006 or GnuGK-IP##222 same as the above registere=
d
>>> case)
>>>
>>> Thanks for your help!
>>> Bo
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> >That sounds very similar.  Here is what I did with both of the IP's be=
ing
>>> >external.
>>>
>>> >I'm not sure if it matters, but this is with polycom HDX's and QDX's b=
eing
>>> >registered.  Calling 999 (basically 1016) then hits a remote Lifesize =
unit.
>>>
>>> >[RasSrv::PermanentEndpoints]
>>> >1.2.3.4=3DCOMPANY_X;1016
>>> >4.3.2.1=3DCOMANY_Z;4444
>>>
>>> >[RasSrv::RewriteE164]
>>> >; internal
>>> >999=3D1016
>>> >; another test
>>> >998=3D1016
>>> >;
>>> >997=3D4444
>>>
>>>
>>>
>>>
>>> On Wed, Sep 14, 2016 at 10:08 AM, Bo Xu <[email protected]> wrote:
>>>
>>>>
>>>> Hi Robert,
>>>>
>>>> Thanks for the info! yes our case is same as yours and the following i=
s
>>>> our details:
>>>>
>>>> epA registers on GnuGK with alias 8
>>>> epB(10.4.34.32) doesn't registers on GnuGK, I set perm-Alias 5006 for
>>>> it as the following:
>>>> [RasSrv::PermanentEndpoints]
>>>> 10.4.34.32:1720=3D5006
>>>>
>>>> now with Polycom-PVX:
>>>> I can call epA with GnuGK-IP##8
>>>> but I cannot call epB with GnuGK-IP##5006
>>>>
>>>> from your email can I add E164-RewriteE164 in gk.ini so I can call
>>>> "##5006"? could you tell me if the following is right?
>>>> [RasSrv::RewriteE164]
>>>> 111=3D5006
>>>>
>>>> then after adding E164-RewriteE164 can I call epB with GnuGK-IP##111?
>>>>
>>>> Thanks for your time!
>>>> Bo
>>>>
>>>>
>>>>
>>>>
>>>> >When I get back to a computer I'll post what I did, maybe that will h=
elp.
>>>> >Essentially I want our registered polycom units to call an unregister=
ed
>>>> >device at another location/company. The catch is to do it via a 3 dig=
it
>>>> >number so I used e164 rewriting.
>>>> >Eg: 999 =3D=3D 1.2.3.4##1016 (The perm alias)
>>>> >999 and 1016 both work.
>>>> >998 is a room on a Polycom mcu at a different company, and so on..
>>>>
>>>>
>>>>
>>>>
>>>> On Tue, Sep 13, 2016 at 3:38 PM, Bo Xu <[email protected]> wrote:
>>>>
>>>>>
>>>>> I also tested Polycom-HDX6000 and AVer-HVC110, they are same with
>>>>> Polycom-PVX as the following:
>>>>> they all can use GnuGK-IP##registered-Alias to call a
>>>>> registered-terminals
>>>>> they cannot use GnuGK-IP##permanent-Alias to call an
>>>>> unregistered-terminals (already set permanent-Alias for them in GnuGK=
)
>>>>>
>>>>> in our application we want to use the above "##"-syntax to call both
>>>>> registered/unregistered terminals, could you tell me if it is possibl=
e? do
>>>>> I need to set some parameters for that? or could you tell me which pa=
rt of
>>>>> the source code causes this difference of registered-Alias and
>>>>> permanent-Alias? is that possible to do a little bit modify of the so=
urce
>>>>> code so we can use "##"-syntax to call both registered/unregistered
>>>>> terminals? Thanks!
>>>>>
>>>>> Regards,
>>>>> Bo
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Tue, Sep 13, 2016 at 2:12 PM, Bo Xu <[email protected]> wrote:
>>>>>
>>>>>>
>>>>>> sorry I forgot to  introduce that the terminal I am using is
>>>>>> Polycom-PVX(8.0.16),  when I try to call GnuGK-IP##permanent-Alias, =
then
>>>>>> wireshark shows the folowing:
>>>>>> got admissionConfirm
>>>>>> then terminal send out setup-message,  in this setup-message, Called
>>>>>> Party Number in Q.931 is the permanent-Alias, and this permanent-Ali=
as is
>>>>>> also in H.225's destinationAddress's dialledDigits
>>>>>> the calll is not successful; if I change it to
>>>>>> "GnuGK-IP##active-register-Alias", then the call is successful.
>>>>>>
>>>>>> do I need to set some parameters in gatekeeper.ini so I can call bot=
h
>>>>>> register-Alias and permanent-Alias with "##"? Thanks!
>>>>>>
>>>>>> Regards,
>>>>>> Bo
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Tue, Sep 13, 2016 at 9:49 AM, Bo Xu <[email protected]> wrote=
:
>>>>>>
>>>>>>> Hi Sergey,
>>>>>>>
>>>>>>> Thanks for the info!    yes alias@IP and IP##alias are implemented
>>>>>>> by different vendors, my question is about how to use them in GnuGK=
 for
>>>>>>> permanent-Alias and registered-Alias, i.e:
>>>>>>>
>>>>>>> I can use "GnuGK-IP##registered-Alias" to call a terminal which is
>>>>>>> registered to GnuGK
>>>>>>> but I cannot use "GnuGK-IP##permanent-Alias" to call a terminal
>>>>>>> which is not registered to GnuGK but I set a permanent-Alias for it=
 (but I
>>>>>>> can use permanent-Alias@GnuGK-IP to call it)
>>>>>>>
>>>>>>> because I want to use "GnuGK-IP##Alias" to call both
>>>>>>> registered-Alias and permanent-Alias Thanks!
>>>>>>>
>>>>>>> Regards,
>>>>>>> Bo
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Hi Bo!
>>>>>>>
>>>>>>> I think there is some misunderstanding: the "aaa@..." and
>>>>>>> "bbb##aaa"
>>>>>>> notations are the same thing, implemented by different vendors.
>>>>>>>
>>>>>>> For example: to call "aaa" on "bbb" from Cisco codec, I should use
>>>>>>> "aaa@..." form and to call the same device on the same gatekeeper
>>>>>>> I'm
>>>>>>> using "bbb##aaa" form for Sony codecs.
>>>>>>>
>>>>>>> If you want I can attach my configuration.
>>>>>>>
>>>>>>> Kind regards, Sergey.
>>>>>>>
>>>>>>> Tune-IT Logo
>>>>>>>  http://www.tune-it.ru
>>>>>>> tel: +7(812)3254440
>>>>>>> Sergey.Zhmylove@...
>>>>>>> 12.09.2016 23:33, Bo Xu =D0=BF=D0=B8=D1=88=D0=B5=D1=82:
>>>>>>> > Hi Jan,
>>>>>>> >
>>>>>>> > I can call a permanent-Alias with the following "@" command:
>>>>>>> > permanent-Alias@...
>>>>>>> >
>>>>>>> > also I can call a register-Alias(a terminal who registered to my
>>>>>>> > GnuGK) with the following "##" command:
>>>>>>> > GnuGKIP##registered-Alias
>>>>>>> >
>>>>>>> > but I cannot call permanent-Alias with the above "##" command,
>>>>>>>  cold
>>>>>>> > you tell me how I can call a permanent-Alias with "##" like
>>>>>>> > "GnuGKIP##permanent-Alias"? Thanks!
>>>>>>> >
>>>>>>> >
>>>>>>> > Regards,
>>>>>>> > Bo
>>>>>>> >
>>>>>>>
>>>>>>>
>>>>>>> On Mon, Sep 12, 2016 at 4:33 PM, Bo Xu <[email protected]>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Hi Jan,
>>>>>>>>
>>>>>>>> I can call a permanent-Alias with the following "@" command:
>>>>>>>> permanent-Alias@GnuGKIP
>>>>>>>>
>>>>>>>> also I can call a register-Alias(a terminal who registered to my
>>>>>>>> GnuGK) with the following "##" command:
>>>>>>>> GnuGKIP##registered-Alias
>>>>>>>>
>>>>>>>> but I cannot call permanent-Alias with the above "##" command,
>>>>>>>>  cold you tell me how I can call a permanent-Alias with "##" like
>>>>>>>> "GnuGKIP##permanent-Alias"? Thanks!
>>>>>>>>
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>> Bo
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Wed, Aug 31, 2016 at 1:25 PM, Bo Xu <[email protected]>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Hi Jan,
>>>>>>>>>
>>>>>>>>> yes I added "[RasSrv::PermanentEndpoints]" you mentioned into my
>>>>>>>>> gatekeeper.ini and it works fine now, Thanks a lot!
>>>>>>>>>
>>>>>>>>> Regards,
>>>>>>>>> Bo
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Hi Bo,
>>>>>>>>>
>>>>>>>>> GnuGk calls those endpoints that don't actively register "permane=
nt
>>>>>>>>> endpoints":
>>>>>>>>>
>>>>>>>>> [RasSrv::PermanentEndpoints]
>>>>>>>>> 10.1.11.116=3D8000
>>>>>>>>>
>>>>>>>>> Regards,
>>>>>>>>> Jan
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Jan Willamowius, Founder of the GNU Gatekeeper Project
>>>>>>>>> EMail  : jan@...
>>>>>>>>> Website: http://www.gnugk.org
>>>>>>>>> Support: http://www.willamowius.com/gnugk-support.html
>>>>>>>>>
>>>>>>>>> Relaxed Communications GmbH
>>>>>>>>> Frahmredder 91
>>>>>>>>> 22393 Hamburg
>>>>>>>>> Gesch=C3=A4ftsf=C3=BChrer: Jan Willamowius
>>>>>>>>> HRB 125261 (Amtsgericht Hamburg)
>>>>>>>>> USt-IdNr: DE286003584
>>>>>>>>>
>>>>>>>>> Bo Xu wrote:
>>>>>>>>> > Hi,
>>>>>>>>> >
>>>>>>>>> > if I have a endpoint whose IP is 10.1.11.116, but it is not reg=
istered to
>>>>>>>>> > my GnuGK, in this case, can I set the gatekeeper.ini so GnuGK c=
an "map"
>>>>>>>>> > that endpoint's IP(10.1.11.116) to an "number"(for example 8000=
), then
>>>>>>>>> > later on when I want to call that endpoint I will call GnuGK li=
ke
>>>>>>>>> > "GnuGKIP##8000"?
>>>>>>>>> >
>>>>>>>>> > can I do the above with GnuGK? or I must register that endpoint=
 to GnuGK
>>>>>>>>> > then after that I can call it with "GnuGKIP##Alias"? Thanks!
>>>>>>>>> >
>>>>>>>>> > Regards,
>>>>>>>>> > Bo Xu
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>

--001a113b121cd29127053c8ddccc
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hi Jan,</div><div><br></div><div>Thanks for the info!=
 =C2=A0yes I added GWRewriteE164 into my gk.ini according to the document y=
ou mentioned as the following:</div><div><div>[RasSrv::PermanentEndpoints]<=
/div><div>10.4.34.36:1720=3DmyMCU;11<br></div><div>[RasSrv::GWRewriteE164]<=
br></div><div>myMCU=3Dout=3D11III=3DPPP</div></div><div>and now when I dial=
 &quot;GnuGN-IP##11567&quot; then I can join the room-567 Thanks!<br></div>=
<div><br></div><div>I just have a question for the syntax of &quot;I and P&=
quot;: =C2=A0now I only can match the fixed width of call number, for examp=
le:=C2=A0</div><div>if I define &quot;myMCU=3Dout=3D11III=3DPPP&quot;, =C2=
=A0 =C2=A0 =C2=A0 =C2=A0then I can join 3-digits room like 567</div><div><d=
iv>if I define &quot;myMCU=3Dout=3D11IIIII=3DPPPPP&quot;, =C2=A0then I can =
join 5-digits room like 56789</div></div><div>but if I define them together=
 like &quot;myMCU=3Dout=3D11III=3DPPP, myMCU=3Dout=3D11IIIII=3DPPPPP&quot;,=
 it seems only the first (3-digit) can call OK, but the second (5-digit) ca=
nnot call</div><div><br></div><div>could you tell me if I can define a rule=
 to match any digit-width call? because sometime users will define a 3-digi=
t room like 567, sometimes they will define 5-digit room like 56789, can I =
just set one rule of GWRewriteE164 to macth different digit-width room-pass=
code (i.e., math 567 and 56789 at same time) ? Thanks!</div><div><br></div>=
<div>Regards,</div><div>Bo</div><div><br></div><div><br></div><div><br></di=
v><div><br></div><div><br></div><div><br></div><pre style=3D"margin-top:0px=
;margin-bottom:0px;padding:15px;border-width:0px 0px 0px 1px;border-left-st=
yle:solid;border-left-color:rgb(229,229,229);outline:0px;font-size:13px;ver=
tical-align:baseline;font-family:monospace,sans-serif;white-space:pre-wrap;=
word-wrap:break-word;overflow:auto;color:rgb(85,85,85);line-height:18px;bac=
kground-image:initial;background-size:initial;background-origin:initial;bac=
kground-clip:initial;background-position:initial;background-repeat:initial"=
>Think of the special characters as wildcards:
&quot;0.7&quot; means &quot;prefix 007 and prefix 017 and prefix 027...&quo=
t;.

If you want to rewrite the destination number before it is sent out by GnuG=
k,
check out the [RasSrv::GWRewriteE164] section and add an out rule for your =
MCU.

See <a href=3D"http://www.gnugk.org/gnugk-manual-6.html#ss6.4" rel=3D"nofol=
low" style=3D"margin:0px;padding:0px;vertical-align:baseline;outline:none;c=
olor:rgb(0,102,153);text-decoration:none;background-image:initial;backgroun=
d-color:transparent;background-size:initial;background-origin:initial;backg=
round-clip:initial;background-position:initial;background-repeat:initial">h=
ttp://www.gnugk.org/gnugk-manual-6.html#ss6.4</a>

Regards,
Jan

--=20
Jan Willamowius, Founder of the GNU Gatekeeper Project
EMail  : jan@...
Website: <a href=3D"http://www.gnugk.org/" rel=3D"nofollow" style=3D"margin=
:0px;padding:0px;vertical-align:baseline;outline:none;color:rgb(0,102,153);=
text-decoration:none;background-image:initial;background-color:transparent;=
background-size:initial;background-origin:initial;background-clip:initial;b=
ackground-position:initial;background-repeat:initial">http://www.gnugk.org<=
/a>
Support: <a href=3D"http://www.willamowius.com/gnugk-support.html" rel=3D"n=
ofollow" style=3D"margin:0px;padding:0px;vertical-align:baseline;outline:no=
ne;color:rgb(0,102,153);text-decoration:none;background-image:initial;backg=
round-color:transparent;background-size:initial;background-origin:initial;b=
ackground-clip:initial;background-position:initial;background-repeat:initia=
l">http://www.willamowius.com/gnugk-support.html</a>

Relaxed Communications GmbH
Frahmredder 91
22393 Hamburg
Gesch=C3=A4ftsf=C3=BChrer: Jan Willamowius
HRB 125261 (Amtsgericht Hamburg)
USt-IdNr: DE286003584</pre><div class=3D"gmail_extra"><br><div class=3D"gma=
il_quote">On Thu, Sep 15, 2016 at 10:07 AM, Bo Xu <span dir=3D"ltr">&lt;<a =
href=3D"mailto:[email protected]" target=3D"_blank">[email protected]=
om</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"marg=
in:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1e=
x"><div dir=3D"ltr"><div><div><br></div><div>in 7.3 Section [RasSrv::Perman=
entEndpoints] I find the following:</div><div><a href=3D"https://www.gnugk.=
org/gnugk-manual-7.html" target=3D"_blank">https://www.gnugk.org/gnugk-<wbr=
>manual-7.html</a></div><div><br></div><div>...</div><div>Special character=
s . and ! can be used with prefixes here to match any digit and disable the=
 prefix</div><div><br></div><div>Example:</div><div>For gateway,</div><div>=
10.0.1.5=3DMyGW;009,008:=3D2,0.7:=3D<wbr>3</div><div>...</div><div><br></di=
v><div>can I use &quot;.&quot; and &quot;!&quot; to remove the prefix? =C2=
=A0could you tell me the meaning of =C2=A0&quot;0.7&quot; in above example =
Thanks!</div><div><br></div><div>Thanks,</div><div>Bo</div><div><br></div><=
/div><div><div class=3D"gmail-h5"><div><br></div><div><br></div><br><div cl=
ass=3D"gmail_extra"><br><div class=3D"gmail_quote">On Thu, Sep 15, 2016 at =
9:43 AM, Bo Xu <span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]=
m" target=3D"_blank">[email protected]</a>&gt;</span> wrote:<br><blockq=
uote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1p=
x solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div><br></div>=
<div><div>I just have a question: =C2=A0can I set the perm-Alias so GnuGK w=
ill automatically remove the prefix when routing the call? for example:</di=
v><div><br></div><div>I config a perm-Alias as the following:</div><div>[Ra=
sSrv::PermanentEndpoints]</div><div>10.4.34.32:1720=3DmyMCU;111</div><div><=
br></div><div>and in myMCU there is a conference-room whose passcode is 111=
567, now if I call GnuGK-IP##111567 it join the room successfully</div><div=
><br></div><div>my question is: if in myMCU there is a conference-room whos=
e passcode is 567, now if I call GnuGK-IP##111567, can GnuGK help me remove=
 prefix &quot;111&quot;, and join the 567-room?</div><div><br></div><div>I =
just want to know if it is possible to let the room-passcode doesn&#39;t ha=
ve to include the prefix, because sometimes the conference-room is created =
by users and they might not know the prefix I set for myMCU</div><div><br><=
/div><div>Thanks for you help!</div><span><font color=3D"#888888"><div>Bo</=
div></font></span></div><div><div><div><br></div><div><br></div><div><br></=
div><div><br></div><div><br></div><div><br></div><br><div class=3D"gmail_ex=
tra"><br><div class=3D"gmail_quote">On Wed, Sep 14, 2016 at 12:18 PM, Bo Xu=
 <span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]" target=3D"_=
blank">[email protected]</a>&gt;</span> wrote:<br><blockquote class=3D"=
gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(20=
4,204,204);padding-left:1ex"><div dir=3D"ltr"><div><div>Hi Robert,</div></d=
iv><div><br></div><div>Thanks for the info! =C2=A0yes I updated my gatekeep=
er.ini as yours and now I can call the unregistered-EP with perm-Alias or R=
ewrite-W164 successfully! =C2=A0the following is my new config:</div><div><=
br></div><div><div>[RasSrv::PermanentEndpoints]</div><div>10.4.34.32:1720=
=3DMCU1;5006</div><div><br></div><div>[RasSrv::RewriteE164]<br></div><div>2=
22=3D5006</div></div><div><br></div><div>the reason I can not call before i=
s because I thought 5006 is the Alias itself but it actually is Prefix (i.e=
., 5006 is the room-passcode of my MCU, not that MCU itself), =C2=A0after I=
 updated my config as yours now I can directly join the conference-room wit=
h &quot;GnuGK-IP##5006&quot; or GnuGK-IP##222&quot;.=C2=A0</div><div><br></=
div><div>also just want to let you know that I tested the calls from both r=
egistered/unregistered Polycom-PVX, they all can call successfully as the f=
ollowing:</div><div>from unregistered Polycom-PVX: =C2=A0 GnuGK-IP##5006 or=
 GnuGK-IP##222</div><div>from registered Polycom-PVX: =C2=A0 =C2=A0 =C2=A0 =
directly call 5006 or 222 is fine, =C2=A0 =C2=A0(also call GnuGK-IP##5006 o=
r GnuGK-IP##222 same as the above registered case)</div><div><div><br></div=
></div><div>Thanks for your help!</div><div>Bo</div><div><br></div><div><br=
></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br=
></div><pre style=3D"margin-top:0px;margin-bottom:0px;padding:15px;border-w=
idth:0px 0px 0px 1px;border-left-style:solid;border-left-color:rgb(229,229,=
229);outline:0px;font-size:13px;vertical-align:baseline;font-family:monospa=
ce,sans-serif;white-space:pre-wrap;word-wrap:break-word;overflow:auto;color=
:rgb(85,85,85);line-height:18px;background-image:initial;background-positio=
n:initial;background-repeat:initial">&gt;That sounds very similar.  Here is=
 what I did with both of the IP&#39;s being
&gt;external.

&gt;I&#39;m not sure if it matters, but this is with polycom HDX&#39;s and =
QDX&#39;s being
&gt;registered.  Calling 999 (basically 1016) then hits a remote Lifesize u=
nit.

&gt;[RasSrv::PermanentEndpoints]
&gt;1.2.3.4=3DCOMPANY_X;1016
&gt;4.3.2.1=3DCOMANY_Z;4444

&gt;[RasSrv::RewriteE164]
&gt;; internal
&gt;999=3D1016
&gt;; another test
&gt;998=3D1016
&gt;;
&gt;997=3D4444</pre><div><div><div class=3D"gmail_extra"><br></div><div cla=
ss=3D"gmail_extra"><br></div><div class=3D"gmail_extra"><br><div class=3D"g=
mail_quote">On Wed, Sep 14, 2016 at 10:08 AM, Bo Xu <span dir=3D"ltr">&lt;<=
a href=3D"mailto:[email protected]" target=3D"_blank">boxuscience@gmail=
.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"ma=
rgin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:=
1ex"><div dir=3D"ltr"><div><div><br></div><div>Hi Robert,</div><div><br></d=
iv><div>Thanks for the info! yes our case is same as yours and the followin=
g is our details:</div><div><br></div><div>epA registers on GnuGK with alia=
s 8</div><div>epB(10.4.34.32) doesn&#39;t registers on GnuGK, I set perm-Al=
ias 5006 for it as the following:</div><div>[RasSrv::PermanentEndpoints]</d=
iv><div>10.4.34.32:1720=3D5006</div><div><br></div><div>now with Polycom-PV=
X:</div><div>I can call epA with GnuGK-IP##8</div><div>but I cannot call ep=
B with GnuGK-IP##5006</div><div><br></div><div>from your email can I add E1=
64-RewriteE164 in gk.ini so I can call &quot;##5006&quot;? could you tell m=
e if the following is right?</div><div>[RasSrv::RewriteE164]</div><div>111=
=3D5006</div><div><br></div><div>then after adding E164-RewriteE164 can I c=
all epB with GnuGK-IP##111? =C2=A0</div><div><br></div><div>Thanks for your=
 time!</div><div>Bo</div></div><div><br></div><div><br></div><div><br></div=
><div><br></div><div><pre style=3D"margin-top:0px;margin-bottom:0px;padding=
:15px;border-width:0px 0px 0px 1px;border-left-style:solid;border-left-colo=
r:rgb(229,229,229);outline:0px;font-size:13px;vertical-align:baseline;font-=
family:monospace,sans-serif;white-space:pre-wrap;word-wrap:break-word;overf=
low:auto;color:rgb(85,85,85);line-height:18px;background-image:initial;back=
ground-position:initial;background-repeat:initial">&gt;When I get back to a=
 computer I&#39;ll post what I did, maybe that will help.
&gt;Essentially I want our registered polycom units to call an unregistered
&gt;device at another location/company. The catch is to do it via a 3 digit
&gt;number so I used e164 rewriting.
&gt;Eg: 999 =3D=3D 1.2.3.4##1016 (The perm alias)
&gt;999 and 1016 both work.
&gt;998 is a room on a Polycom mcu at a different company, and so on..</pre=
></div><div><div><div><br></div><br><div class=3D"gmail_extra"><br><div cla=
ss=3D"gmail_quote">On Tue, Sep 13, 2016 at 3:38 PM, Bo Xu <span dir=3D"ltr"=
>&lt;<a href=3D"mailto:[email protected]" target=3D"_blank">boxuscience=
@gmail.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding=
-left:1ex"><div dir=3D"ltr"><div><br></div><div><div>I also tested Polycom-=
HDX6000 and AVer-HVC110, they are same with Polycom-PVX as the following:</=
div><div>they all can use GnuGK-IP##registered-Alias to call a registered-t=
erminals</div><div>they cannot use GnuGK-IP##permanent-Alias to call an unr=
egistered-terminals (already set permanent-Alias for them in GnuGK)</div><d=
iv><br></div><div>in our application we want to use the above &quot;##&quot=
;-syntax to call both registered/unregistered terminals, could you tell me =
if it is possible? do I need to set some parameters for that? or could you =
tell me which part of the source code causes this difference of registered-=
Alias and permanent-Alias? is that possible to do a little bit modify of th=
e source code so we can use &quot;##&quot;-syntax to call both registered/u=
nregistered terminals? Thanks!</div><div><br></div><div>Regards,</div><div>=
Bo</div></div><div><div><div><br></div><div><br></div><div><br></div><div><=
br></div><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On T=
ue, Sep 13, 2016 at 2:12 PM, Bo Xu <span dir=3D"ltr">&lt;<a href=3D"mailto:=
[email protected]" target=3D"_blank">[email protected]</a>&gt;</spa=
n> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px =
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"=
ltr"><div><br></div><div><div>sorry I forgot to =C2=A0introduce that the te=
rminal I am using is Polycom-PVX(8.0.16), =C2=A0when I try to call GnuGK-IP=
##permanent-Alias, then wireshark shows the folowing:</div><div>got admissi=
onConfirm</div><div>then terminal send out setup-message, =C2=A0in this set=
up-message, Called Party Number in Q.931 is the permanent-Alias, and this p=
ermanent-Alias is also in H.225&#39;s destinationAddress&#39;s dialledDigit=
s</div><div>the calll is not successful; if I change it to &quot;GnuGK-IP##=
active-register-Ali<wbr>as&quot;, then the call is successful.</div><div><b=
r></div><div>do I need to set some parameters in gatekeeper.ini so I can ca=
ll both register-Alias and permanent-Alias with &quot;##&quot;? Thanks!</di=
v><div><br></div><div>Regards,</div><div>Bo</div></div><div><div><div><br><=
/div><div><br></div><div><br></div><div><br></div><br><div class=3D"gmail_e=
xtra"><br><div class=3D"gmail_quote">On Tue, Sep 13, 2016 at 9:49 AM, Bo Xu=
 <span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]" target=3D"_=
blank">[email protected]</a>&gt;</span> wrote:<br><blockquote class=3D"=
gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(20=
4,204,204);padding-left:1ex"><div dir=3D"ltr"><div>Hi Sergey,</div><div><br=
></div><div>Thanks for the info! =C2=A0 =C2=A0yes alias@IP and IP##alias ar=
e implemented by different vendors, my question is about how to use them in=
 GnuGK for permanent-Alias and registered-Alias, i.e:</div><div><br></div><=
div>I can use &quot;GnuGK-IP##registered-Alias&quot; to call a terminal whi=
ch is registered to GnuGK<br></div><div>but I cannot use &quot;GnuGK-IP##pe=
rmanent-Alias&quot; to call a terminal which is not registered to GnuGK but=
 I set a permanent-Alias for it (but I can use permanent-Alias@GnuGK-IP to =
call it)</div><div><br></div><div>because I want to use &quot;GnuGK-IP##Ali=
as&quot; to call both registered-Alias and permanent-Alias Thanks!</div><di=
v><br></div><div>Regards,</div><div>Bo</div><div><br></div><div><br></div><=
div><br></div><div><br></div><div><br></div><div>Hi Bo!</div><div><br></div=
><div>I think there is some misunderstanding: the &quot;aaa@...&quot; and &=
quot;bbb##aaa&quot;=C2=A0</div><div>notations are the same thing, implement=
ed by different vendors.</div><div><br></div><div>For example: to call &quo=
t;aaa&quot; on &quot;bbb&quot; from Cisco codec, I should use=C2=A0</div><d=
iv>&quot;aaa@...&quot; form and to call the same device on the same gatekee=
per I&#39;m=C2=A0</div><div>using &quot;bbb##aaa&quot; form for Sony codecs=
.</div><div><br></div><div>If you want I can attach my configuration.</div>=
<div><br></div><div>Kind regards, Sergey.</div><div><br></div><div>Tune-IT =
Logo</div><div>=C2=A0<a href=3D"http://www.tune-it.ru" target=3D"_blank">ht=
tp://www.tune-it.ru</a></div><div>tel: <a href=3D"tel:%2B7%28812%293254440"=
 value=3D"+78123254440" target=3D"_blank">+7(812)3254440</a></div><div>Serg=
ey.Zhmylove@...</div><div>12.09.2016 23:33, Bo Xu =D0=BF=D0=B8=D1=88=D0=B5=
=D1=82:</div><span><div>&gt; Hi Jan,</div><div>&gt;</div><div>&gt; I can ca=
ll a permanent-Alias with the following &quot;@&quot; command:</div></span>=
<div>&gt; permanent-Alias@...</div><span><div>&gt;</div><div>&gt; also I ca=
n call a register-Alias(a terminal who registered to my=C2=A0</div><div>&gt=
; GnuGK) with the following &quot;##&quot; command:</div><div>&gt; GnuGKIP#=
#registered-Alias</div><div>&gt;</div><div>&gt; but I cannot call permanent=
-Alias with the above &quot;##&quot; command, =C2=A0cold=C2=A0</div><div>&g=
t; you tell me how I can call a permanent-Alias with &quot;##&quot; like=C2=
=A0</div><div>&gt; &quot;GnuGKIP##permanent-Alias&quot;? Thanks!</div><div>=
&gt;</div><div>&gt;</div><div>&gt; Regards,</div><div>&gt; Bo</div><div>&gt=
;</div><div class=3D"gmail_extra"><br></div></span><div><div><div class=3D"=
gmail_extra"><br><div class=3D"gmail_quote">On Mon, Sep 12, 2016 at 4:33 PM=
, Bo Xu <span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]" targ=
et=3D"_blank">[email protected]</a>&gt;</span> wrote:<br><blockquote cl=
ass=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid=
 rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div>Hi Jan,</div><div=
><br></div><div>I can call a permanent-Alias with the following=C2=A0&quot;=
@&quot; command:</div><div>permanent-Alias@GnuGKIP</div><div><br></div><div=
>also I can call a register-Alias(a terminal who registered to my GnuGK) wi=
th the following &quot;##&quot; command:</div><div>GnuGKIP##registered-Alia=
s</div><div><br></div><div>but I cannot call permanent-Alias with the above=
 &quot;##&quot; command, =C2=A0cold you tell me how I can call a permanent-=
Alias with &quot;##&quot; like &quot;GnuGKIP##permanent-Alias&quot;? Thanks=
!</div><div><br></div><div><br></div><div>Regards,<br></div><div>Bo</div><d=
iv><div><div><br></div><div><br></div><div><br></div><div class=3D"gmail_ex=
tra"><div class=3D"gmail_quote">On Wed, Aug 31, 2016 at 1:25 PM, Bo Xu <spa=
n dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]" target=3D"_blank=
">[email protected]</a>&gt;</span> wrote:<br><blockquote class=3D"gmail=
_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204=
,204);padding-left:1ex"><div dir=3D"ltr"><div>Hi Jan,</div><div><br></div><=
div>yes I added &quot;<span style=3D"color:rgb(85,85,85);font-family:monosp=
ace,sans-serif;font-size:13px;line-height:18px;white-space:pre-wrap">[RasSr=
v::PermanentEndpoints]</span>&quot; you mentioned into my gatekeeper.ini an=
d it works fine now, Thanks a lot!<br></div><div><br></div><div>Regards,</d=
iv><div>Bo</div><div><br></div><div><br></div><div><br></div><div><br></div=
><div><br></div><div><pre style=3D"margin-top:0px;margin-bottom:0px;padding=
:15px;border-width:0px 0px 0px 1px;border-left-style:solid;border-left-colo=
r:rgb(229,229,229);outline:0px;font-size:13px;vertical-align:baseline;font-=
family:monospace,sans-serif;white-space:pre-wrap;word-wrap:break-word;overf=
low:auto;color:rgb(85,85,85);line-height:18px;background-image:initial;back=
ground-position:initial;background-repeat:initial">Hi Bo,

GnuGk calls those endpoints that don&#39;t actively register &quot;permanen=
t
endpoints&quot;:

[RasSrv::PermanentEndpoints]
10.1.11.116=3D8000

Regards,
Jan

--=20
Jan Willamowius, Founder of the GNU Gatekeeper Project
EMail  : jan@...
Website: <a href=3D"http://www.gnugk.org/" rel=3D"nofollow" style=3D"margin=
:0px;padding:0px;vertical-align:baseline;outline:none;color:rgb(0,102,153);=
text-decoration:none;background-image:initial;background-color:transparent;=
background-position:initial;background-repeat:initial" target=3D"_blank">ht=
tp://www.gnugk.org</a>
Support: <a href=3D"http://www.willamowius.com/gnugk-support.html" rel=3D"n=
ofollow" style=3D"margin:0px;padding:0px;vertical-align:baseline;outline:no=
ne;color:rgb(0,102,153);text-decoration:none;background-image:initial;backg=
round-color:transparent;background-position:initial;background-repeat:initi=
al" target=3D"_blank">http://www.willamowius.com/gnu<wbr>gk-support.html</a=
>

Relaxed Communications GmbH
Frahmredder 91
22393 Hamburg
Gesch=C3=A4ftsf=C3=BChrer: Jan Willamowius
HRB 125261 (Amtsgericht Hamburg)
USt-IdNr: DE286003584

Bo Xu wrote:
&gt; Hi,
&gt;=20
&gt; if I have a endpoint whose IP is 10.1.11.116, but it is not registered=
 to
&gt; my GnuGK, in this case, can I set the gatekeeper.ini so GnuGK can &quo=
t;map&quot;
&gt; that endpoint&#39;s IP(10.1.11.116) to an &quot;number&quot;(for examp=
le 8000), then
&gt; later on when I want to call that endpoint I will call GnuGK like
&gt; &quot;GnuGKIP##8000&quot;?
&gt;=20
&gt; can I do the above with GnuGK? or I must register that endpoint to Gnu=
GK
&gt; then after that I can call it with &quot;GnuGKIP##Alias&quot;? Thanks!
&gt;=20
&gt; Regards,
&gt; Bo Xu
</pre></div><div><br></div><div><br></div><div class=3D"gmail_extra"><br></=
div></div>
</blockquote></div><br></div></div></div></div>
</blockquote></div><br></div></div></div></div>
</blockquote></div><br></div></div></div></div>
</blockquote></div><br></div></div></div></div>
</blockquote></div><br></div></div></div></div>
</blockquote></div><br></div></div></div></div>
</blockquote></div><br></div></div></div></div>
</blockquote></div><br></div></div></div></div>
</blockquote></div><br></div></div>

--001a113b121cd29127053c8ddccc--


--===============7203900558122488053==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------

--===============7203900558122488053==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________________

Posting: mailto:[email protected]
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/
--===============7203900558122488053==--