Migration to asterisk 18

I am goign to install asterisk 18; I have been using asterisk 16 and chan_sip so far. I realize that there is no more chan_sip in asterisk 18 and i need to use pjsip. Can someone guide me with the config equivalent between chan_sip and pjsip

sip.conf → what is the pjsip equivalent?
rtp.conf → what is the pjsip equivalent?
modules.conf → what is the pjsip equivalent?
extensions.conf → what is the pjsip equivalent ?

And, how do i set up end points ? Is there any credible reference for me to look with the installation of asterisk 18 and configuring pjsip

Thank you.

On Sunday 13 October 2024 at 09:12:51, muslimak via Asterisk Community wrote:

I am goign to install asterisk 18

Why? It goes out of support (security fix only) in one week.

https://docs.asterisk.org/About-the-Project/Asterisk-Versions/

I have been using asterisk 16 and chan_sip so far. I realize that there is
no more chan_sip in asterisk 18

Not true; chan_sip is available, but deprecated and not loaded by default, up
to and including Asterisk version 20.

and i need to use pjsip.

I recommend you start from a current version of Asterisk; it would be very
difficult to use chan_sip and pjsip at the same time (each needs to listen on a
different port number, for example), so you may as well just switch over and be
done with it.

Can someone guide me with the config equivalent between chan_sip and pjsip

sip.conf → what is the pjsip equivalent?

pjsip.conf

rtp.conf → what is the pjsip equivalent?

rtp.conf

modules.conf → what is the pjsip equivalent?

modules.conf

extensions.conf → what is the pjsip equivalent ?

extensions.conf

And, how do i set up end points ? Is there any credible reference for me to
look with the installation of asterisk 18 and configuring pjsip

https://docs.asterisk.org/Configuration/Channel-Drivers/SIP/Configuring-
res_pjsip/Migrating-from-chan_sip-to-res_pjsip/

Also a Google search for random postings about this topic throws up
https://feeding.cloud.geek.nz/posts/upgrading-from-chan_sip-to-res_pjsip-
asterisk-18/ which may or may not be useful, accurate or correct.

Antony.


I conclude that there are two ways of constructing a software design: One way
is to make it so simple that there are obviously no deficiencies, and the
other way is to make it so complicated that there are no obvious
deficiencies.

  • C A R Hoare

                                                Please reply to the list;
                                                      please *don't* CC me.
    

Hi,

chan_sip works perfectly in Asterisk 20, so it should not be an issue with older version, 18.

Asterisk 20.8.1~dfsg+~cs6.14.40431414-1 built by nobody @ buildd.debian.org on a unknown running Linux on 2024-06-07 12:10:19 UTC
194 sip peers [Monitored: 194 online, 0 offline Unmonitored: 0 online, 0 offline]
9249 calls processed

Module                         Description                              Use Count  Status      Support Level
chan_sip.so                    Session Initiation Protocol (SIP)        8          Running        deprecated
1 modules loaded

But if you are seeking a way to migrate by any other reason, take a look at this guide:

https://docs.asterisk.org/Configuration/Channel-Drivers/SIP/Configuring-res_pjsip/Migrating-from-chan_sip-to-res_pjsip/

Rgds,
D

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