Philip Mucci | 5 Apr 14:56 2005
Picon

More questions about the H323-SIP signaling gateway

Hi folks,

Namaste from Nepal...we'll I arrived at the village in time for another
Maoist strike...I'm stuck here! 

So I've got yate built against 1.13.4 and 1.6.5 on voxgratia. The
version I'm running is yate 0.8.7 at the moment.

Now for my next salvo of questions...I have looked at the wiki
extensively as well as the list, but I'm still a bit stuck. Feel free to
send me web links and tell me to read the damn manual. ;-)

So on this subnet, I have a Windows PC running a SIP soft-phone,
a hardware H323 phone (rare these days) and my linux PC running Yate.
How do I test this? I'm not really sure what Yate is...is it an H323
gatekeeper? Is it a SIP proxy? How do I inform the user agents of Yate's
existence? Should I be dialing the IP address of Yate directly?

Here are the relevant details of the config files...I'm hoping to get
anything working at the moment. Later we will add a Sipura SPA-3000 to
the mix. IP address of hard phone 192.168.1.101, soft phone is .202 and
Yate is .200.

My regexroute should send all calls to/from any number to the h323 hard
phone.

I modified the other files according to the wiki, but there's still a
lot of stuff enabled. 

Thanks again!
(Continue reading)

Alexandre Aractingi | 6 Apr 18:26 2005
Picon

Re: More questions about the H323-SIP signaling gateway

Le mardi 05 avril 2005 à 18:41 +0545, Philip Mucci a écrit :
> So I've got yate built against 1.13.4 and 1.6.5 on voxgratia. The
> version I'm running is yate 0.8.7 at the moment.

I'd use CVS as a lot of improvements have been made to the H323
interface

> So on this subnet, I have a Windows PC running a SIP soft-phone,
> a hardware H323 phone (rare these days) and my linux PC running Yate.
> How do I test this? I'm not really sure what Yate is...is it an H323
> gatekeeper? Is it a SIP proxy? How do I inform the user agents of Yate's
> existence? Should I be dialing the IP address of Yate directly?

Yate is not a gatekeeper, you can't register any H323 endpoints on it.
It can be a SIP proxy, and an H323 gateway (though it can register as an
endpoint to an H323 gatekeeper).

To inform your SIP UA of Yate's existence, you have ton configure each
one of them with Yate's IP adress (they should have a "SIP server"
field). You can register them to Yate (register=yes in Yate).
> % grep --invert-match "^;" /usr/local/etc/yate/regexroute.conf
> [priorities]
> [contexts]
> [default]
> ${rtp_forward}possible=;rtp_forward=yes
> ${formats}^\([^,]*\)=;formats=\1
> ^.*=h323/\0 <at> 192.168.1.101

As I understand it this lines means "all that starts with '.' should go
to the H323 phone". It's not ok, you should get rid of the '.' in here.
(Continue reading)

Diana Cionoiu | 6 Apr 17:19 2005
Picon

Re: More questions about the H323-SIP signaling gateway

Hello Alexandre,

In fact, Yate can be used as a H323 gatekeeper, see the section 
[gk] from h323chan.

Diana

> Le mardi 05 avril 2005  18:41 +0545, Philip Mucci a crit :
> > So I've got yate built against 1.13.4 and 1.6.5 on voxgratia. The
> > version I'm running is yate 0.8.7 at the moment.
> 
> I'd use CVS as a lot of improvements have been made to the H323
> interface
> 
> > So on this subnet, I have a Windows PC running a SIP soft-phone,
> > a hardware H323 phone (rare these days) and my linux PC running Yate.
> > How do I test this? I'm not really sure what Yate is...is it an H323
> > gatekeeper? Is it a SIP proxy? How do I inform the user agents of Yate's
> > existence? Should I be dialing the IP address of Yate directly?
> 
> Yate is not a gatekeeper, you can't register any H323 endpoints on it.
> It can be a SIP proxy, and an H323 gateway (though it can register as an
> endpoint to an H323 gatekeeper).
> 
> To inform your SIP UA of Yate's existence, you have ton configure each
> one of them with Yate's IP adress (they should have a "SIP server"
> field). You can register them to Yate (register=yes in Yate).
> > % grep --invert-match "^;" /usr/local/etc/yate/regexroute.conf
> > [priorities]
> > [contexts]
(Continue reading)

Alexandre Aractingi | 6 Apr 18:41 2005
Picon

Re: More questions about the H323-SIP signaling gateway

Le mercredi 06 avril 2005 à 18:19 +0300, Diana Cionoiu a écrit :
> In fact, Yate can be used as a H323 gatekeeper, see the section 
> [gk] from h323chan.

Good to know! Sorry Philip for the misleading input :-)
Then I guess Philip can just register his H323 phone to Yate as well as
his SIP phones, and forget about the regexroute file if he just needs to
route internal calls...

--

-- 
Alexandre Aractingi <aaractingi@...>
Attachment (smime.p7s): application/x-pkcs7-signature, 4216 bytes
Diana Cionoiu | 6 Apr 17:33 2005
Picon

Re: More questions about the H323-SIP signaling gateway

Unfortunetly no one needed the h323 gatekeeper functionlity from Yate soi 
in fact is not very developed. If someone need that please let me know and 
i will work to make it better.

Diana

> Le mercredi 06 avril 2005  18:19 +0300, Diana Cionoiu a crit :
> > In fact, Yate can be used as a H323 gatekeeper, see the section 
> > [gk] from h323chan.
> 
> Good to know! Sorry Philip for the misleading input :-)
> Then I guess Philip can just register his H323 phone to Yate as well as
> his SIP phones, and forget about the regexroute file if he just needs to
> route internal calls...
> 
> 

Philip Mucci | 6 Apr 18:53 2005
Picon

Re: More questions about the H323-SIP signaling gateway

Hello Alexandre and Diana,

Thank you for the note. I will rebuild with the CVS version and give it
a shot. It would be great if you could provide some sample configs. Most
of what I have in the file, including the stuff in the [ep] section, was
specified in the Wiki under applications. But obviously I'm new it this.

Now, as I understand it, register=yes requires some other goodies that
were alluded to in the docs, but not actually documented. If I have a
client that I can tell to use the SIP Proxy, but not use the
registration functionality, that might be good.

Again, thanks for the help. I'm going to rebuild and play around some
more. Feel free to send along those configs. I'm really excited by
Yate...this is going to help us tremendously.

Regards,

Philip

On Wed, 2005-04-06 at 22:11, Alexandre Aractingi wrote:
> Le mardi 05 avril 2005 à 18:41 +0545, Philip Mucci a écrit :
> > So I've got yate built against 1.13.4 and 1.6.5 on voxgratia. The
> > version I'm running is yate 0.8.7 at the moment.
> 
> I'd use CVS as a lot of improvements have been made to the H323
> interface
> 
> > So on this subnet, I have a Windows PC running a SIP soft-phone,
> > a hardware H323 phone (rare these days) and my linux PC running Yate.
(Continue reading)

Alexandre Aractingi | 6 Apr 19:13 2005
Picon

Re: More questions about the H323-SIP signaling gateway

Le mercredi 06 avril 2005 à 22:38 +0545, Philip Mucci a écrit :
> Thank you for the note. I will rebuild with the CVS version and give it
> a shot. It would be great if you could provide some sample configs. Most
> of what I have in the file, including the stuff in the [ep] section, was
> specified in the Wiki under applications. But obviously I'm new it this.

Here are simple config files (I'm using H729, feel free to replace with
G723):
*** h323chan.conf ***
[general]
external_rtp=yes
passtrough_rtp=yes
[codecs]
default=no
g729=fake
[ep]
gw=on
faststart=on
h245tunneling=off

*** ysipchan.conf ***
[codecs]
g729=default

*** regexroute.conf ***
[default]
${rtp_forward}possible=;rtp_forward=yes
${formats}^\([^,]*\)=;formats=\1
; all numbers beginning with 0 go to my H323 gateway
^0.*=h323/\0 <at> 10.0.3.10
(Continue reading)

Bruno Lopes F. Cabral | 6 Apr 19:17 2005
Picon

Re: More questions about the H323-SIP signaling gateway

Hi there

as of usage of YATE as H323 gatekeeper, I'm planning
to do so as long as it let H323 to SIP (and vice-versa)
calls

Alexandre Aractingi wrote:
> *** regexroute.conf ***
> [default]
> ${rtp_forward}possible=;rtp_forward=yes
> ${formats}^\([^,]*\)=;formats=\1

can you explain what this constructions do?
I mean ${rtp_forward}possible=
is some sort of regexp comparision or what?

Cheers
!3runo

Diana Cionoiu | 6 Apr 18:09 2005
Picon

Re: More questions about the H323-SIP signaling gateway

Hello Bruno,

> Hi there
> 
> as of usage of YATE as H323 gatekeeper, I'm planning
> to do so as long as it let H323 to SIP (and vice-versa)
> calls

it just a routing problem, maybe we can disscus about how you assume the 
h323 gatekeeper should work. i know to write the code but is better to 
find the most easy way for users.

> Alexandre Aractingi wrote:
> > *** regexroute.conf ***
> > [default]
> > ${rtp_forward}possible=;rtp_forward=yes
> > ${formats}^\([^,]*\)=;formats=\1
> 
> can you explain what this constructions do?
> I mean ${rtp_forward}possible=
> is some sort of regexp comparision or what?

regexroute is capable of changing one arbitrary parameter from the 
call.route. and rtp_forward is an arbitraty parameter.
with "rtp_forward = possibile" a module announce that is capable of 
doing rtp_forward, one module that is capable of doing that is h323, 
another one is sip, in the future maybe we will have mgcp for that.
in fact that parameter makes the difference in Yate between a signalling 
proxy and a data proxy :)
of course you can make a call from a sip endpoint to another sip endpoint 
(Continue reading)

Alexandre Aractingi | 6 Apr 19:34 2005
Picon

Re: More questions about the H323-SIP signaling gateway

Le mercredi 06 avril 2005 à 14:17 -0300, Bruno Lopes F. Cabral a écrit :
> > *** regexroute.conf ***
> > [default]
> > ${rtp_forward}possible=;rtp_forward=yes
> > ${formats}^\([^,]*\)=;formats=\1
> 
> can you explain what this constructions do?
> I mean ${rtp_forward}possible=
> is some sort of regexp comparision or what?

Yes I think so, but I pasted these lines from the H323/SIP example in
the Wiki, so I think Diana will explain it better than me...

--

-- 
Alexandre Aractingi <aaractingi@...>
Attachment (smime.p7s): application/x-pkcs7-signature, 4216 bytes

Gmane