- Joined
- Jun 2, 2021
- Messages
- 41
- Reaction score
- 11
This is what works:
IP of cloud instance changed to Exention 8000 running on 3xc at IP 123.45.56.789 (fake)
Local lan behind nat is 192.168.0.0/24 (fake)
1. I can SIP Register a soft client SIP Linphone with STUN/ICE disabled from same local network to 3cx hosted instance.
as To: [email protected] From: [email protected] ... 401 please authenticate - sends credentials from "Authentication Tab" from 3cx.
2. I've convinced the 7961G (Firmware SIP41.8-5-4S) to SIP Register with Asterisk running locally
sip.conf excerpt:
SEP123456789000.cnf.xml (MAC:123456789000)
excerpt I'm fighting with based on pcap from the 3cx hosted/cloud;
REGISTER sip:123.45.56.789 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.25:5060;branch=z9dd2279356
From: <sip:[email protected]>;tag=0016ce020e00151e893b60-5f072e0e
To: <sip:[email protected]>
Call-ID: 0016c70e-03cf00fe-3fbc1ee6-843fc0e1@192.168.0.25
Max-Forwards: 70
Date: Wed, 16 Dec 2009 08:19:13 GMT
CSeq: 120 REGISTER
User-Agent: Cisco-CP7961G-GE/8.5.3
Contact: <sip:100@192.168.0.25:5060;transport=udp>;+sip.instance="<urn:uuid:00000000-0000-0000-0000-00000000000>";+u.sip!model.ccm.cisco.com="308"
Supported: (null),X-cisco-xsi-7.0.1
Content-Length: 0
Reason: SIP;cause=200;text="cisco-alarm:25 Name=SEP123456789000 Load=SIP41.8-5-4S Last=initialized"
Expires: 3600
Where .cnf.xml contains
#my isp external ip
also tried variations of
Phone stays with spinny wheel "Registering" and keeps resending register requests as per PCAP.
Nothing gets 7961G in pcap done from the remote 3cx to say anything but 192.168.0.25:5060 instead of 789.10.11.12...
3CX does not return 401 but instead just keeps returning 407 - The button for enable direct sip is enabled for EXTN, (rather this is turned off - Disallow use of extension outside the LAN (Remote extensions using Direct SIP or STUN will be blocked)
I've poured over the forum related to registering 79x1 phones, but the threads are dated, and some connect to local 3CX and with lower version numbers than 16,
this one may behave differently, and the auto- .cnf.xml feature or phone itself is not listed in the dropdown to provision in 3CX hosted, however since it takes a software SIP client
in theory it should work.
Next i'll attempt to SIP register this 7961G with asterisk running in AWS
if anyone with any ideas I'm welcome to hear them please.
IP of cloud instance changed to Exention 8000 running on 3xc at IP 123.45.56.789 (fake)
Local lan behind nat is 192.168.0.0/24 (fake)
1. I can SIP Register a soft client SIP Linphone with STUN/ICE disabled from same local network to 3cx hosted instance.
as To: [email protected] From: [email protected] ... 401 please authenticate - sends credentials from "Authentication Tab" from 3cx.
2. I've convinced the 7961G (Firmware SIP41.8-5-4S) to SIP Register with Asterisk running locally
sip.conf excerpt:
Code:
[8000]
type=friend
host=dynamic
nat=no
username=8000
secret=password
context=home
qualify=yes
SEP123456789000.cnf.xml (MAC:123456789000)
excerpt I'm fighting with based on pcap from the 3cx hosted/cloud;
REGISTER sip:123.45.56.789 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.25:5060;branch=z9dd2279356
From: <sip:[email protected]>;tag=0016ce020e00151e893b60-5f072e0e
To: <sip:[email protected]>
Call-ID: 0016c70e-03cf00fe-3fbc1ee6-843fc0e1@192.168.0.25
Max-Forwards: 70
Date: Wed, 16 Dec 2009 08:19:13 GMT
CSeq: 120 REGISTER
User-Agent: Cisco-CP7961G-GE/8.5.3
Contact: <sip:100@192.168.0.25:5060;transport=udp>;+sip.instance="<urn:uuid:00000000-0000-0000-0000-00000000000>";+u.sip!model.ccm.cisco.com="308"
Supported: (null),X-cisco-xsi-7.0.1
Content-Length: 0
Reason: SIP;cause=200;text="cisco-alarm:25 Name=SEP123456789000 Load=SIP41.8-5-4S Last=initialized"
Expires: 3600
Where .cnf.xml contains
Code:
<natEnabled>true</natEnabled>
<natAddress>789.10.11.12</natAddress>
also tried variations of
Code:
<proxy>123.45.56.789</proxy> vs.
<proxy>USECALLMANAGER</proxy>
Phone stays with spinny wheel "Registering" and keeps resending register requests as per PCAP.
Nothing gets 7961G in pcap done from the remote 3cx to say anything but 192.168.0.25:5060 instead of 789.10.11.12...
3CX does not return 401 but instead just keeps returning 407 - The button for enable direct sip is enabled for EXTN, (rather this is turned off - Disallow use of extension outside the LAN (Remote extensions using Direct SIP or STUN will be blocked)
I've poured over the forum related to registering 79x1 phones, but the threads are dated, and some connect to local 3CX and with lower version numbers than 16,
this one may behave differently, and the auto- .cnf.xml feature or phone itself is not listed in the dropdown to provision in 3CX hosted, however since it takes a software SIP client
in theory it should work.
Next i'll attempt to SIP register this 7961G with asterisk running in AWS
if anyone with any ideas I'm welcome to hear them please.