I need to change the port that SIP to which SIP listens. The default port is 6001 and I need to change it to 6002 (with Koha still listening on port 8023 as defined in the SIPConfig.xml. I change the port to 6002 in /etc/koha/SIPConfig.xml but I realized that Koha moves this file to /etc/koha/sites/koha when the command in /usr/sbin/koha-enable-sip is run. I changed then changed the port in /etc/koha/sites/koha/SIPConfig.xml also. I looked at the commands koha-start-sip and koha-stop-sip but as far as I can tell, these files use the /etc/koha/sites/koha/SIPconfig.xml so everything should be good. Is there anything else that needs to be changed or will the changes I made above be sufficent to change the SIP Service itself to port 6002? Thanks, Phillip
Hi, On Wed, Jul 23, 2014 at 9:04 PM, Phillip Ponchot <pponchot@live.com> wrote:
Is there anything else that needs to be changed or will the changes I made above be sufficent to change the SIP Service itself to port 6002?
It's sufficient to edit /etc/koha/sites/$site/SIPconfig.xml and restart SIP. The /etc/koha/SIPconfig.xml file acts as a template that gets copied to the site directory when koha-enable-sip is run for the first time. Regards, Galen -- Galen Charlton Manager of Implementation Equinox Software, Inc. / The Open Source Experts email: gmc@esilibrary.com direct: +1 770-709-5581 cell: +1 404-984-4366 skype: gmcharlt web: http://www.esilibrary.com/ Supporting Koha and Evergreen: http://koha-community.org & http://evergreen-ils.org
I did as you said and I'm now seeing SIP responding and Koha listening on port 8023. Running a telnet test, I see that I attach to port 8023 I connect then the connection drops. Connecting to 65.100.74.75 ... Connected to 65.100.74.75 Connection closed I've tried this also inside the network with the same result and I've tried this test on the server itself with the same result. Things that I've done to resolve this issue: 1. I've checked the sip-error.log but what I find there does not address the issue. 2. I've checked the firewall and then even uninstalled ufw and iptables-persistent. 3. I've checked and rechecked open and listening ports in case there is something blocking the port. 4. While checking the telnet response to try to find out why the connection was being closed telnet to 8023 started working and I could send and receive SIP packets. As soon as the server was rebooted, this behavior quit. my questions: 1. Is Koha itself "hardwired" to port 8023 or can I change the port to another one? 2. I've used netstat and nmp to check to see what is running or listening and on what port, is there any other suggestions on how to check this issue. 3. Any suggestions on how to troubleshoot the Connection drop further, has anyone else had this issue and resolved it? Thanks for any help because I apparently need it - smile. Phillip "It was another darn good plan ruined by reality!" - smile again.
Date: Thu, 24 Jul 2014 08:36:14 -0700 Subject: Re: [Koha] Change SIP Port From: gmc@esilibrary.com To: pponchot@live.com CC: koha@lists.katipo.co.nz
Hi,
On Wed, Jul 23, 2014 at 9:04 PM, Phillip Ponchot <pponchot@live.com> wrote:
Is there anything else that needs to be changed or will the changes I made above be sufficent to change the SIP Service itself to port 6002?
It's sufficient to edit /etc/koha/sites/$site/SIPconfig.xml and restart SIP. The /etc/koha/SIPconfig.xml file acts as a template that gets copied to the site directory when koha-enable-sip is run for the first time.
Regards,
Galen -- Galen Charlton Manager of Implementation Equinox Software, Inc. / The Open Source Experts email: gmc@esilibrary.com direct: +1 770-709-5581 cell: +1 404-984-4366 skype: gmcharlt web: http://www.esilibrary.com/ Supporting Koha and Evergreen: http://koha-community.org & http://evergreen-ils.org
Hi, On Thu, Jul 24, 2014 at 9:04 AM, Phillip Ponchot <pponchot@live.com> wrote:
1. Is Koha itself "hardwired" to port 8023 or can I change the port to another one?
No, that's strictly controlled by SIPconfig.xml. Could you paste or attach your /etc/koha/sites/koha/SIPconfig.xml (leaving out passwords, of course)? Regards, Galen -- Galen Charlton Manager of Implementation Equinox Software, Inc. / The Open Source Experts email: gmc@esilibrary.com direct: +1 770-709-5581 cell: +1 404-984-4366 skype: gmcharlt web: http://www.esilibrary.com/ Supporting Koha and Evergreen: http://koha-community.org & http://evergreen-ils.org
On 25 July 2014 4:04:43 am NZST, Phillip Ponchot <pponchot@live.com> wrote:
I did as you said and I'm now seeing SIP responding and Koha listening on port 8023. Running a telnet test, I see that I attach to port 8023 I connect then the connection drops.
Connecting to 65.100.74.75 ... Connected to 65.100.74.75 Connection closed
I've tried this also inside the network with the same result and I've tried this test on the server itself with the same result.
Things that I've done to resolve this issue: 1. I've checked the sip-error.log but what I find there does not address the issue. 2. I've checked the firewall and then even uninstalled ufw and iptables-persistent. 3. I've checked and rechecked open and listening ports in case there is something blocking the port. 4. While checking the telnet response to try to find out why the connection was being closed telnet to 8023 started working and I could send and receive SIP packets. As soon as the server was rebooted, this behavior quit.
my questions:
1. Is Koha itself "hardwired" to port 8023 or can I change the port to another one?
No, in fact I've never run it on 8023. It will run on any port provided you configure it to. Chris
2. I've used netstat and nmp to check to see what is running or listening and on what port, is there any other suggestions on how to check this issue. 3. Any suggestions on how to troubleshoot the Connection drop further, has anyone else had this issue and resolved it?
Thanks for any help because I apparently need it - smile.
Phillip
"It was another darn good plan ruined by reality!" - smile again.
Date: Thu, 24 Jul 2014 08:36:14 -0700 Subject: Re: [Koha] Change SIP Port From: gmc@esilibrary.com To: pponchot@live.com CC: koha@lists.katipo.co.nz
Hi,
On Wed, Jul 23, 2014 at 9:04 PM, Phillip Ponchot <pponchot@live.com> wrote:
Is there anything else that needs to be changed or will the changes I made above be sufficent to change the SIP Service itself to port 6002?
It's sufficient to edit /etc/koha/sites/$site/SIPconfig.xml and restart SIP. The /etc/koha/SIPconfig.xml file acts as a template that gets copied to the site directory when koha-enable-sip is run for the first time.
Regards,
Galen -- Galen Charlton Manager of Implementation Equinox Software, Inc. / The Open Source Experts email: gmc@esilibrary.com direct: +1 770-709-5581 cell: +1 404-984-4366 skype: gmcharlt web: http://www.esilibrary.com/ Supporting Koha and Evergreen: http://koha-community.org & http://evergreen-ils.org
_______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
-- Sent from my Android device with K-9 Mail. Please excuse my brevity.
Thanks for the reply and the info. When I get this running right, I'm going to write a Koha:Wiki about what I've learned about Koha - SIP configuration. Cheers, Phillip
Subject: Re: [Koha] Change SIP Port From: chrisc@catalyst.net.nz Date: Mon, 28 Jul 2014 07:42:43 +1200 To: pponchot@live.com; gmc@esilibrary.com CC: koha@lists.katipo.co.nz
On 25 July 2014 4:04:43 am NZST, Phillip Ponchot <pponchot@live.com> wrote:
I did as you said and I'm now seeing SIP responding and Koha listening on port 8023. Running a telnet test, I see that I attach to port 8023 I connect then the connection drops.
Connecting to 65.100.74.75 ... Connected to 65.100.74.75 Connection closed
I've tried this also inside the network with the same result and I've tried this test on the server itself with the same result.
Things that I've done to resolve this issue: 1. I've checked the sip-error.log but what I find there does not address the issue. 2. I've checked the firewall and then even uninstalled ufw and iptables-persistent. 3. I've checked and rechecked open and listening ports in case there is something blocking the port. 4. While checking the telnet response to try to find out why the connection was being closed telnet to 8023 started working and I could send and receive SIP packets. As soon as the server was rebooted, this behavior quit.
my questions:
1. Is Koha itself "hardwired" to port 8023 or can I change the port to another one?
No, in fact I've never run it on 8023. It will run on any port provided you configure it to.
Chris
2. I've used netstat and nmp to check to see what is running or listening and on what port, is there any other suggestions on how to check this issue. 3. Any suggestions on how to troubleshoot the Connection drop further, has anyone else had this issue and resolved it?
Thanks for any help because I apparently need it - smile.
Phillip
"It was another darn good plan ruined by reality!" - smile again.
Date: Thu, 24 Jul 2014 08:36:14 -0700 Subject: Re: [Koha] Change SIP Port From: gmc@esilibrary.com To: pponchot@live.com CC: koha@lists.katipo.co.nz
Hi,
On Wed, Jul 23, 2014 at 9:04 PM, Phillip Ponchot <pponchot@live.com> wrote:
Is there anything else that needs to be changed or will the changes I made above be sufficent to change the SIP Service itself to port 6002?
It's sufficient to edit /etc/koha/sites/$site/SIPconfig.xml and restart SIP. The /etc/koha/SIPconfig.xml file acts as a template that gets copied to the site directory when koha-enable-sip is run for the first time.
Regards,
Galen -- Galen Charlton Manager of Implementation Equinox Software, Inc. / The Open Source Experts email: gmc@esilibrary.com direct: +1 770-709-5581 cell: +1 404-984-4366 skype: gmcharlt web: http://www.esilibrary.com/ Supporting Koha and Evergreen: http://koha-community.org & http://evergreen-ils.org
_______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
-- Sent from my Android device with K-9 Mail. Please excuse my brevity.
participants (3)
-
Chris Cormack -
Galen Charlton -
Phillip Ponchot