Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] SIP on multiple ports


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
geisj at pagestation.com
Guest





PostPosted: Sat Oct 15, 2016 7:39 pm    Post subject: [asterisk-users] SIP on multiple ports Reply with quote

I have SIP (asterisk 11.23.0) running on port 5060 just fine. udp.

I have another SIP trunk thats wants to run on port 5068 (long story).
I have enabled tcpenable=yes in sip.conf and defined port=5068 in my trunk definition. It does not seem that anything is listening on 5068?


How can I run SIP tcp on port 5068?


 telnet localhost 5068
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host: Connection refused



My firewall is set to allow TCP port 5068.


Thanks,


Jerry
Back to top
geisj at pagestation.com
Guest





PostPosted: Mon Oct 17, 2016 6:31 am    Post subject: [asterisk-users] SIP on multiple ports Reply with quote

Quote:
Jerry has already clarified in a previous reply that he is running SIP over TCP, not UDP.

Quote:
But he hasn't clarified on which machine he is applying the iptables header rewrite rules (10.201, or 1.3?).


Quote:
Either way though, it seems like a kludgy work-around. IMO, it'd be better to focus on creating the correct Asterisk peer configuration for the peer >that is operating on the non-standard separate port, and don't use any packet-header mangling at all.


Quote:
Jerry, can you post your configuration for the peer in Asterisk? (eg from sip.conf)


Quote:
Pete




Hi Pete,


I am running iptables on the 10.201 machine. I have not control over the other machine. It is a microsoft lync product.


my definition...
[MyTrunk]
type=friend
dtmfmode=rfc2833
disallow=all
allow=ulaw
allow=alaw
context=my-incoming
host=192.168.1.3
;port=5068
canreinvite=yes
qualify=yes
transport=tcp


I have tried it with or without the port=5068.



Jerry
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services