• Welcome to SAIL Community Supported PBX . Please login or sign up.
 
April 25, 2024, 07:33:11 AM

News:

SMF updated to 2.0


Difficult modem

Started by compsos, October 21, 2021, 11:03:46 PM

Previous topic - Next topic

compsos

Hi
Debain 10
System
PBX release: 16.2.1
SAIL Release: 6.0.1-57+deb10u1
HPE Release: 6.0.0-2
Endpoints defined: 4

On a remote site we have been blessed with a modem that answers port 5060. So far no way to shut it down.
How can we set sark to operate the trunk on say 7070?
We have entered port=7070 in the stanza but no luck.
Thanks

sysadmin

November 14, 2021, 11:47:32 AM #1 Last Edit: November 19, 2021, 12:10:14 PM by sysadmin
That's unfortunate.   Asterisk can only listen on a single port for SIP.  Look here for a full explanation

https://github.com/asterisk/asterisk/blob/master/configs/samples/sip.conf.sample

From 6.2 you can set the SIP listen port in the Net->IP Settings panel and SARK will switch it for you.  However, there are consequences to doing that.  Most, if not ALL, SIP carriers only listen on 5060 so you'll need to deal with that if you want to talk to one.   You can do that by setting port=5060 in the trunk definition for the connection.   However, Asterisk will still not listen on 5060 so it will need to be a trunk you register with in order for it to work.   Moreover, you will need to set all of your downstream phones to register with Asterisk using 7070.   This varies from manufacturer to manufacturer so you'll need to read up on it.

Finally, if your remote SARK is simply communicating with another Asterisk then you might consider using IAX to do the trunking, thus sidestepping the issue altogether.   

Very naughty of the modem/router to be using a well-known port for some other purpose.     

 

compsos

We replaced the modem and no further issues. The original was a Telstra unit which tries to run a Voip to ATA analogue phone service.