Asterisk 13.23.1 PJSip build issues

roarsys

New Member
Joined
Oct 13, 2018
Messages
5
Reaction score
0
I'm having errors pop up after trying to update to Asterisk 13.23.1. These show up after the make command. In turn my PJSIP registrations show no objects or do not register at all. Specifically the GVSIP is useless on this box as of right now. Running Raspi box for this. Can anyone help me understand the errors?

Code:
cd /usr/src
wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-13-current.tar.gz
tar xvfz asterisk-13-current.tar.gz
cd asterisk-13.23.1
contrib/scripts/get_mp3_source.sh
contrib/scripts/install_prereq install
patch -p1 < ../gvsip-naf.patch
./configure --with-pjproject-bundled --with-jansson-bundled
make menuselect
make
ldconfig
make install
amportal restart

ERRORS
Code:
make[1]: Leaving directory '/usr/src/asterisk-13.23.1/menuselect'
   [CC] res_pjsip_outbound_registration.c -> res_pjsip_outbound_registration.o
res_pjsip_outbound_registration.c: In function ‘sip_outbound_registration_regc_alloc’:
res_pjsip_outbound_registration.c:1743:3: error: too many arguments to function ‘pjsip_regc_update_contact’
   pjsip_regc_update_contact(state->client_state->client, 1, &contact_uri, params);
   ^
In file included from /usr/src/asterisk-13.23.1/third-party/pjproject/source/pjsip/include/pjsip_ua.h:24:0,
                 from res_pjsip_outbound_registration.c:29:
/usr/src/asterisk-13.23.1/third-party/pjproject/source/pjsip/include/pjsip-ua/sip_regc.h:414:22: note: declared here
 PJ_DECL(pj_status_t) pjsip_regc_update_contact( pjsip_regc *regc,
                      ^
/usr/src/asterisk-13.23.1/Makefile.rules:149: recipe for target 'res_pjsip_outbound_registration.o' failed
make[1]: *** [res_pjsip_outbound_registration.o] Error 1
Makefile:387: recipe for target 'res' failed
make: *** [res] Error 2
 

Members online

No members online now.

Forum statistics

Threads
26,687
Messages
174,411
Members
20,257
Latest member
Dempan
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top