Hi Simon,
Yes I have got these working, please confirm these are the templates you are using:
https://www.patton.com/support/kb_art.asp?art=478&p=0
Where these are not specific to model (E1/T1 1-4 ports etc) they should work fine with the 4171.
This string (although BRI variant) contains a lot of useful information:
https://www.3cx.com/community/threads/patton-incompatibility.62776/
If you still experiencing issues then I would login the the command line of the device and run the following commands:
enable
show running‐config
debug call‐router
debug call‐control
debug ccisdn signaling
debug context sip‐gateway signaling detail 5
debug context sip‐gateway transport detail 5
debug context sip‐gateway error
Then "no debug all" after to cease the log flow.
These may differ slightly between the Smartware and Trinity operating systems so use this as reference:
https://www.patton.com/support/kb_art.asp?art=446&
Feel free to send the log over to me via PM and I will take a look - you can also send it over to Patton support of analysis, they are normally very helpful.
From this log you should at the very least be able to tell whether it is an issue with the configuration or the line itself - I assume you have checked with the provider to check all is OK ?