[Home]

Summary:ASTERISK-27348: [patch]contrib/scripts: add a way to migrate from chan_sip to chan_pjsip realtime
Reporter:Torrey Searle (tsearle)Labels:pjsip
Date Opened:2017-10-16 07:34:39Date Closed:2018-02-16 10:18:07.000-0600
Priority:MajorRegression?
Status:Closed/CompleteComponents:Contrib/General
Versions:13.15.1 Frequency of
Occurrence
Related
Issues:
must be completed before resolvingASTERISK-27309 Feature Parity with chan_sip
Environment:Attachments:
Description:to facilitate migrations I have made a script that can read a sip.conf (for global variables) and a database (for chan_sip peers)  and generates an sql file for populating endpoints, identify, and aor records.
Comments:By: Asterisk Team (asteriskteam) 2017-10-16 07:34:39.888-0500

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

By: Torrey Searle (tsearle) 2017-11-10 04:21:45.508-0600

This patch imports the mapings from the original sip_to_pjsip script.  So as the original script is updated with new mappings, the mysql script will automatically use them

By: Friendly Automation (friendly-automation) 2018-02-16 10:18:07.732-0600

Change 6813 merged by Jenkins2:
contrib/script/sip_to_pjsip: add support for realtime

[https://gerrit.asterisk.org/6813|https://gerrit.asterisk.org/6813]

By: Friendly Automation (friendly-automation) 2018-02-19 06:34:49.872-0600

Change 8233 merged by Jenkins2:
contrib/script/sip_to_pjsip: add support for realtime

[https://gerrit.asterisk.org/8233|https://gerrit.asterisk.org/8233]

By: Friendly Automation (friendly-automation) 2018-02-19 06:35:10.077-0600

Change 8234 merged by Jenkins2:
contrib/script/sip_to_pjsip: add support for realtime

[https://gerrit.asterisk.org/8234|https://gerrit.asterisk.org/8234]

By: Alexander Traud (traud) 2018-04-18 02:41:40.738-0500

[~tsearle], thank for your contribution. I am very much into those scripts as well. In ASTERISK-27811, I fixed two issues reported by pyflakes3:
# cli_options was imported and then (re-) defined
# an exception ā€˜eā€™ was caught

I am not sure, I got your intention right. Therefore, please, double-check whether those fixes do not break anything.