# Asterisk starting

**URL:** <https://community.asterisk.org/t/asterisk-starting/79286>\
**Category:** Asterisk SIP\
**Created:** [April 9, 2019, 10:00am UTC](https://community.asterisk.org/t/asterisk-starting/79286 "2019-04-09T10:00:17Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![kowalgrzesk](https://avatars.discourse-cdn.com/v4/letter/k/7ab992/32.png) [@kowalgrzesk](https://community.asterisk.org/u/kowalgrzesk)\
**Post date:** [April 9, 2019, 10:00am UTC](https://community.asterisk.org/t/asterisk-starting/79286/1 "2019-04-09T10:00:17Z")

</div>

Hello

I want to start my asterisk using “asterisk -cvvvvv” and i get all report … and i don’t know …  
Is it correct for SIP working, or not? I need only SIP channel, but PJSIP channel is it too need?  
What have I do now? What does mean this error below?  
[Asterisk start error.txt](https://global.discourse-cdn.com/asterisk/original/2X/8/82ecfab3801b1edb1dc7a287d54398f94f4a2341.txt) (35.2 KB)  
AND I want install pjsip channel, but finish is fail too …  
[pjsip\_install.txt](https://global.discourse-cdn.com/asterisk/original/2X/8/85ec436be684466b7bdc2331573786306fa14446.txt) (15.7 KB)  
my comments are with #…

Grzegorz

---

<div class="post-metadata">

**Author:** ![jcolp](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/jcolp/32/8848_2.png) [@jcolp](https://community.asterisk.org/u/jcolp)\
**Post date:** [April 9, 2019, 10:09am UTC](https://community.asterisk.org/t/asterisk-starting/79286/2 "2019-04-09T10:09:47Z")

</div>

You don’t need to install PJSIP manually. In 16 it will automatically download, build PJSIP to our specs, and include a copy for use in the PJSIP modules. It’s entirely possible that by installing PJSIP yourself you confused the process and things weren’t built properly. I’d suggest uninstalling the PJSIP you built, rerunning configure in Asterisk, and rebuilding Asterisk.

---

<div class="post-metadata">

**Author:** ![david551](https://avatars.discourse-cdn.com/v4/letter/d/3bc359/32.png) [@david551](https://community.asterisk.org/u/david551)\
**Post date:** [April 9, 2019, 10:26am UTC](https://community.asterisk.org/t/asterisk-starting/79286/3 "2019-04-09T10:26:05Z")

</div>

The install of PJSIP failed because make install was run as an ordinary user, when it should have been run as root.

---

<div class="post-metadata">

**Author:** ![kowalgrzesk](https://avatars.discourse-cdn.com/v4/letter/k/7ab992/32.png) [@kowalgrzesk](https://community.asterisk.org/u/kowalgrzesk)\
**Post date:** [April 9, 2019, 10:38am UTC](https://community.asterisk.org/t/asterisk-starting/79286/4 "2019-04-09T10:38:13Z")

</div>

Thanks, only could you write me how do it?

---

<div class="post-metadata">

**Author:** ![jcolp](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/jcolp/32/8848_2.png) [@jcolp](https://community.asterisk.org/u/jcolp)\
**Post date:** [April 9, 2019, 10:40am UTC](https://community.asterisk.org/t/asterisk-starting/79286/5 "2019-04-09T10:40:34Z")

</div>

Are you only loading specifics modules or using autoload?

If you aren’t using autoload then you also need to ensure res\_pjproject.so is loaded before PJSIP modules.

---

<div class="post-metadata">

**Author:** ![kowalgrzesk](https://avatars.discourse-cdn.com/v4/letter/k/7ab992/32.png) [@kowalgrzesk](https://community.asterisk.org/u/kowalgrzesk)\
**Post date:** [April 9, 2019, 11:18am UTC](https://community.asterisk.org/t/asterisk-starting/79286/6 "2019-04-09T11:18:35Z")

</div>

Installing process I took from wiki …  
[https://wiki.asterisk.org/wiki/display/AST/PJSIP-pjproject#PJSIP-pjproject-externalBuildingandInstallingpjprojectfromSource](https://wiki.asterisk.org/wiki/display/AST/PJSIP-pjproject#PJSIP-pjproject-externalBuildingandInstallingpjprojectfromSource)  
and i think that it was autoload.

---

<div class="post-metadata">

**Author:** ![jcolp](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/jcolp/32/8848_2.png) [@jcolp](https://community.asterisk.org/u/jcolp)\
**Post date:** [April 9, 2019, 11:19am UTC](https://community.asterisk.org/t/asterisk-starting/79286/7 "2019-04-09T11:19:32Z")

</div>

That refers to PJSIP. I’m referring to Asterisk itself (in the modules.conf file). Your output makes it seem as though you are loading only some parts of Asterisk, not all of it.

---

<div class="post-metadata">

**Author:** ![kowalgrzesk](https://avatars.discourse-cdn.com/v4/letter/k/7ab992/32.png) [@kowalgrzesk](https://community.asterisk.org/u/kowalgrzesk)\
**Post date:** [April 9, 2019, 12:34pm UTC](https://community.asterisk.org/t/asterisk-starting/79286/8 "2019-04-09T12:34:52Z")

</div>

I see already … in modules.conf I have autoload=no[modules.conf.txt](https://global.discourse-cdn.com/asterisk/original/2X/c/cb2d39742d083269cb586b8ef1d1521f5da73cb1.txt) (2.7 KB)  
Which items i have give as comments “;”

I can see only channel pjsip, but SIP is unvisible ??? why?

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/asterisk/original/2X/4/475d0c889911cfb84ac4881ad6df8b523e3f9105.png) [@system](https://community.asterisk.org/u/system)\
**Post date:** [May 9, 2019, 12:34pm UTC](https://community.asterisk.org/t/asterisk-starting/79286/9 "2019-05-09T12:34:52Z")

</div>

Closed on May 9, 2019, 12:34pm UTC

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