EPM and Cisco 7945G

Hello, I am currently trying to use Cisco 7945G as a intererum while we migrate a company away from the phones.

I have been able to get the phones to register via TCP and pjsip. However when I make changes via EPM and try to apply it to the phones. They do not reboot or get updated. If I manually reboot the phones the do pull the new config.

If I use the cli to reboot I dont receive any errors

freepbxCLI> pjsip send notify cisco-check-cfg endpoint 9555
Sending NOTIFY of type ‘cisco-check-cfg’ to ‘9555’
freepbx
CLI>

After doing a capture I can see the notify being sent but I am getting a 400 bad request back from the phone.

I am not quite sure how to correct this issue. Does anyone have any suggestions?

Using FPBX-16.0.19
Asterisk 16.24.0

Try cisco-restart or cisco-reset; see
https://usecallmanager.nz/sip-notify-conf.html

Or, if the phones are powered by a smart PoE switch, cycle power.

I tried using those commands in but the results are the same.

IP xxx.xxx.xxx.xxx.sip > xxx.xxx.xxx.xxx.52873: tcp 919
E`…".@.@…

…L…q.X# …fP…@1…NOTIFY sip:[email protected]:52873;transport=TCP SIP/2.0
Via: SIP/2.0/TCP xxx.xxx.xxx.xxx:5060;rport;branch=z9hG4bKPj13226151-ba23-4e34-b530-0ebb7baa5993;alias
From: sip:[email protected];tag=6df0d86c-7603-40cf-a3d2-c32696524343
To: sip:[email protected]
Contact: sip:[email protected]:5060;transport=TCP
Call-ID: 4df22f40-1f68-497c-a764-e8a1fdea1a9c
CSeq: 18139 NOTIFY
Subscription-State: terminated
Event: service-control
Subscription-State: active
Max-Forwards: 70
User-Agent: FPBX-16.0.19(16.24.0)
Content-Type: text/plain
Content-Length: 349

action=restart
RegisterCallId={${SIPPEER(${PEERNAME},regcallid)}}
ConfigVersionStamp={00000000-0000-0000-0000-000000000000}
DialplanVersionStamp={00000000-0000-0000-0000-000000000000}
SoftkeyVersionStamp={00000000-0000-0000-0000-000000000000}
FeatureControlVersionStamp={00000000-0000-0000-0000-000000000000}
HeadsetVersionStamp={0-0000000000}
IP xxx.xxx.xxx.xxx.52873 > xxx.xxx.xxx.xxx.sip: tcp 0
E`.(…?.L…L.

… …fq.[.P. …
IP xxx.xxx.xxx.xxx.52873 > xxx.xxx.xxx.xxx.sip: tcp 352
E`…?.K:…L.

… …fq.[.P. .`…SIP/2.0 400 Bad Request
Via: SIP/2.0/TCP xxx.xxx.xxx.xxx:5060;rport;branch=z9hG4bKPj13226151-ba23-4e34-b530-0ebb7baa5993;alias
From: sip:[email protected];tag=6df0d86c-7603-40cf-a3d2-c32696524343
To: sip:[email protected]
Call-ID: 4df22f40-1f68-497c-a764-e8a1fdea1a9c
Date: Mon, 03 Oct 2022 12:21:19 GMT
CSeq: 18139 NOTIFY
Content-Length: 0

IP xxx.xxx.xxx.xxx.sip > xxx.xxx.xxx.xxx.52873: tcp 0
E`.(".@.@…1

…L…q.[. …P…@.K…
^C
105 packets captured
105 packets received by filter

On a side note, I was able to use use

But still looking to fix this with pjsip and EPM so it reboot once I make changes.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.