I’m getting this error I just installed in fresh system and configured pjsip.conf and exensions.conf
here are my configure
pjsip.conf
[transport-udp]
type=transport
protocol=udp ;upd,tcp,tls,ws,wss,flow
bind=0.0.0.0
[6001]
type=endpoint
transport=transport-upd
context=from-internal
disallow=all
allow=ulaw
allow=gsm
auth=6001
aors=6001
[6001]
type=auth
auth_type=userpass
password=6001
username=6001
[6001]
type=aor
max_contacts=1
contact=sip:6001@192.168.1.126:5060
[6002]
type=endpoint
transport=transport-udp
context=from-internal
disallow=all
allow=ulaw
allow=gsm
auth=6002
aors=6002
[6002]
type=auth
auth_type=userpass
password=6002
username=6002
[6002]
type=aor
max_contacts=1
contact=sip:6001@192.168.1.126:5060
extensions.conf
[from-internal]
exten => 6001,1,Dial(PJSIP/6001)
exten => 6002,n,Dial(PJSIP/6002)
Also note I have configured only these to file and nothing I did in any other file. So if anything else required then please guide me.
While dialling then getting this error
ERROR[3090]: res_pjsip.c:903 ast_sip_set_tpselector_from_transport_name: Unable to retrieve PJSIP transport 'transport-upd'
Thank you