[ previous ] [ next ] [ threads ]
 To :  "yate@v..." <yate@v...>
 From :  Gamaliel Bedolla <gbf@t...>
 Subject :  Re: How to perform ENUM routing?
 Date :  Mon, 19 Jan 2015 12:20:16 -0700
Hello all,
Because there are very few of information, this is how it works:
1) Enable enum routing:

yate.conf
[modules]
enumroute.yate=yes

2) Configure your enumroute.conf
[general]
priority=20
domains=e164.arpa
redirect=false
[protocols]
sip=yes
pstn=yes
tel=yes

3) Restart yate.

4) Use ngrep or tcpdump port 53 to verify ENUM queries.

There are two ways of work, with SIP 302 Moved Temporarily (redirect=true),
or let Yate perform the SIP routing (redirect=false)
If requiered use regexroute.conf  to  configure fallback routes.

And that's all! Just verify that you have the correct /etc/resolv.conf
nameservers configured.
Hope this helps.
Thank you yate developers!
Gamaliel

2015-01-12 13:31 GMT-07:00 Gamaliel Bedolla :

> Hello,
> I want to achieve ENUM routing on Yate. I know that enumroute.conf must be
> configured  with a priority lower in order to make it work before
> regexroute.conf.
>
> Here my configs:
> In enumroute.conf:
> [general]
> priority=80
> domains=e164.arpa
> [protocols]
> sip=yes
> pstn=yes
>
>
> In /etc/resolv.conf
> ;here my ENUM servers
> nameserver 172.16.10.250
> nameserver 172.16.10.254
>
> Actually I have made Yate work as a Gateway like this SIP-->Yate-->SS7
> PSTN but now I want to perform some translations before route the calls to
> PSTN, like this: SIP-->Yate-->ENUM-->Yate-->SS7 PSTN
>
> My question is, must I have to configure the regular expressions on
> enumroute.conf, or in regexroute.conf?
> Any examples or suggestions you have give me an idea to where to start.
> Thank you.
>
>



Hello all,
Because there are very few of information, this is how it works:
1) Enable enum routing:

yate.conf
[modules]
enumroute.yate=yes


2) Configure your enumroute.conf
[general]
priority=20
domains=e164.arpa
redirect=false
[protocols]
sip=yes
pstn=yes
tel=yes


3) Restart yate.

4) Use ngrep or tcpdump port 53 to verify ENUM queries.

There are two ways of work, with SIP 302 Moved Temporarily (redirect=true), or let Yate perform the SIP routing (redirect=false) 
If requiered use regexroute.conf  to  configure fallback routes.

And that's all! Just verify that you have the correct /etc/resolv.conf nameservers configured.
Hope this helps.
Thank you yate developers!
Gamaliel

2015-01-12 13:31 GMT-07:00 Gamaliel Bedolla <gbf@t...>:
Hello, 
I want to achieve ENUM routing on Yate. I know that enumroute.conf must be configured  with a priority lower in order to make it work before regexroute.conf. 

Here my configs:
In enumroute.conf:
[general]
priority=80
domains=e164.arpa
[protocols]
sip=yes
pstn=yes


In /etc/resolv.conf
;here my ENUM servers
nameserver 172.16.10.250
nameserver 172.16.10.254

Actually I have made Yate work as a Gateway like this SIP-->Yate-->SS7 PSTN but now I want to perform some translations before route the calls to PSTN, like this: SIP-->Yate-->ENUM-->Yate-->SS7 PSTN

My question is, must I have to configure the regular expressions on enumroute.conf, or in regexroute.conf?
Any examples or suggestions you have give me an idea to where to start.
Thank you.