A
A
Anton Teremshonok2016-08-27 10:49:52
SIP
Anton Teremshonok, 2016-08-27 10:49:52

How to set up Yate for sip proxy?

Hello!
Please help with setting up yate for what seems to be a simple proxy.
There is a telecom operator Rostelecom, they provide SIP via vlan through their physical communication channel to us, but you need to get their channel into the cloud SIP PBX, i.e. on our side, put a sip proxy and send them sip outside (to allowed addresses) and do what is necessary already in the "cloud".
In general, this is the question, how can this be done?
I made changes in the files, but nothing happens that I expect.
accfile.conf

[8888888]
enabled=yes
protocol=sip
username=8888888
interval=60
password=8888888
registrar=10.10.2.2

regfile.conf
[general]
[8888888]
password=8888888

yate.conf
[general]
[modules]
jabberserver.yate=false
jbfeatures.yate=false
jabberclient.yate=false
yradius.yate=false
mysqldb.yate=false
yjinglechan.yate=false
ciscosm.yate=false
mgcpca.yate=false
mgcpgw.yate=false
ysnmpagent.yate=false
g723.yate=true
g729.yate=true

[localsym]
h323chan.yate=yes

yrtpchan.conf
[general]
minport=16384
maxport=17384

yipchan.conf
[general]
forward_sdp=yes

port=5060
info=enable
dtmfinband=yes
rfc2833=yes

[codecs]
default=off
mulaw=yes
alaw=yes
g723=yes

[hacks]
g729_annexb=no

regexroute.conf - tried all sorts of different constructions, but did not really understand what and how to do here, so there is no content here. It is necessary to direct all incoming messages to the single login specified in regfile.conf and all outgoing messages too.
PS
Yate was chosen due to its minimal size and cross-platform.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir, 2016-08-29
@rostel

вся маршрутизация в regexroute.conf
без него всёравно ничего не заведется
в ванильном конфиге есть примеры

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question