Hi Guys,
I am sitting with the following problem.
We are going to stress test Asterisk with pjsua.
We have just installed a fresh installation of Asterisk 13 on Centos with PJSIP.
The installation went perfect, there were no problems at all.
After this I made sure that the res_pjsip.conf is loading for future tests
The next step was to create users (pjsip.conf) and extensions (extensions.conf).
pjsip.conf
[udp-transport]
type=transport
protocol=udp
bind=0.0.0.0
[111111]
type=registration
transport=udp-transport
outbound_auth=111111_auth
server_uri=sip:sip.zadarma.com
client_uri=sip:111111@sip.zadarma.com
retry_interval=60
expiration=120
contact_user=111111
[111111_auth]
type=auth
auth_type=userpass
password=Password
username=111111
[111111]
type=aor
contact=sip:sip.zadarma.com:5060
[111111]
type=endpoint
transport=udp-transport
context=zadarma-in
disallow=all
allow=alaw
allow=ulaw
outbound_auth=111111_auth
aors=111111
from_user=111111
direct_media=no
[111111]
type=identify
endpoint=111111
match=sip.zadarma.com
[101]
type=endpoint
transport=udp-transport
context=zadarma-out
disallow=all
allow=alaw
allow=ulaw
auth=101
aors=101
[101]
type=auth
auth_type=userpass
password=101
username=101
[101]
type=aor
max_contacts=10
extensions.conf
[zadarma-in]
exten => 111111,1, Dial(PJSIP/101) ; all incoming calls from trunk 111111
; are routed on extension number 101
[zadarma-out]
exten => _XXX,1,Dial(PJSIP/${EXTEN}) ; calls on 3-digit extension numbers
; of Asterisk
exten => _XXX.,1,Dial(PJSIP/${EXTEN}@111111) ; calls on numbers with 4 digits
; or more via trunk 111111
After the installation and starting asterisk, we tried if it was possible to see the endpoints with
pjsip show endpoints.
pjsip show endpoints
No objects found.
Somehow it’s not finding any endpoints.
What am I doing wrong here.
I Have been looking online for hours, but somehow I find a solution to this.
.
I also ended up with following error logs.
[May 17 07:06:04] Asterisk 13.21.0 built by root @ ip-172-31-22-128 on a x86_64 running Linux on 2018-05-17 01:48:58 UTC
[May 17 07:06:04] NOTICE[4636] cdr.c: CDR simple logging enabled.
[May 17 07:06:04] NOTICE[4636] loader.c: 279 modules will be loaded.
[May 17 07:06:04] WARNING[4636] res_phoneprov.c: Unable to find a valid server address or name.
[May 17 07:06:04] ERROR[4636] ari/config.c: No configured users for ARI
[May 17 07:06:04] NOTICE[4636] chan_skinny.c: Configuring skinny from skinny.conf
[May 17 07:06:04] NOTICE[4636] confbridge/conf_config_parser.c: Adding default_menu menu to app_confbridge
[May 17 07:06:04] NOTICE[4636] cel_custom.c: No mappings found in cel_custom.conf. Not logging CEL to custom CSVs.
[May 17 07:06:04] WARNING[4636] res_hep_rtcp.c: res_hep is not loaded or running; declining module load
[May 17 07:06:04] WARNING[4636] res_hep_pjsip.c: res_hep is not loaded or running; declining module load
Have been looking in to this, but some help would make my day.
Thank you in advance