A
A
alexeu2014-08-09 20:20:14
Asterisk
alexeu, 2014-08-09 20:20:14

Asterisk: 2 accounts for one sip operator for outgoing. How to bypass ip blocking?

The situation is as follows. There is a sip operator: one account, one outgoing line, I don’t use it to receive incoming calls (type= peer, there are no register => lines in [general] of course). If you make calls through one server (I now have asterisk hanging on VDS) to 2 accounts, after 2 hours both are blocked.
For the purposes of the experiment, I created an exact copy of my VDS (from a backup), only replaced the login and password (including useragent, engine , sdpsession =Linksys/SPA8000-5.1.10 remained the same) to my magic provider. I tested it for a couple of days, everything is fine, it was not blocked. I concluded that they probably tracked only by ip. The thought occurred to me that for ordinary purposes there are proxies, including those through which you can let not all traffic, but part of it.
First of all got into the description of sip.conf. Found that with type= peer for each sip connection, you can set the outboundproxy=proxy.site.com:port parameter. I found a couple of such proxy operators ( sipoutboundproxy.com/index.php, www.sippp.com/, www.asterisk-pbx.ru/wiki/doku.php/free_sip_proxy) from the description on their website I realized that they allow you to exchange through them only by commands, but the voice traffic will still go from me directly to the provider. For the sake of experiment, having tried (one normal connection, the second through outboundproxy), after 1 hour they blocked it.
I don't know where to go next. Ideally, I would like one account to live completely (all traffic went) on one ip, the second on another. You can buy as many static IPs as you like for VDS.
I found SER, OpenSER, Kamailio, OpenSIPS that are not yet clear to me, maybe they will help somehow.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
pcdesign, 2014-08-10
@pcdesign

If I fully understood the question.
Then raise 2 asterisks on different IPs.
One asterisk will serve account1.
And the second asterisk account2.
It is enough to hang up and register different outgoing IPs on different ports.

V
Vladimir, 2014-08-14
@rostel

answer

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question