I was using SIP instead of PJSIP, and just today I switched to PJSIP. However I get the following errors:
Code: res_pjsip.c:2170 sip_get_tpselector_from_endpoint: Unable to retrieve PJSIP transport '0.0.0.0-udp' for endpoint '6002'and
Code: PJSIP_EUNSUPTRANSPORTAt the very beginning PJSIP was being used, then I switched to SIP then I did an Asterisk update (update from 13.0.1 to 13.2.0) yesterday, switched back to PJSIP and it is not working anymore.
Thanks in advance!
Here are the PJSIP conf files:
pjsip.conf
Code: ;--------------------------------------------------------------------------------; ; Do NOT edit this file as it is auto-generated by FreePBX. ; ;--------------------------------------------------------------------------------; ; For information on adding additional paramaters to this file, please visit the ; ; FreePBX.org wiki page, or ask on IRC. This file was created by the new FreePBX ; ; BMO - Big Module Object. Any similarity in naming with BMO from Adventure Time ; ; is totally deliberate. ; ;--------------------------------------------------------------------------------; #include pjsip_custom.conf #include pjsip.transports.conf #include pjsip.endpoint.conf #include pjsip.aor.conf #include pjsip.auth.conf #include pjsip.registration.conf #include pjsip.identify.conf [global] type=global user_agent=FPBX-AsteriskNOW-12.0.50.1(13.2.0)pjsip.endpoint.conf
Code: ;--------------------------------------------------------------------------------; ; Do NOT edit this file as it is auto-generated by FreePBX. ; ;--------------------------------------------------------------------------------; ; For information on adding additional paramaters to this file, please visit the ; ; FreePBX.org wiki page, or ask on IRC. This file was created by the new FreePBX ; ; BMO - Big Module Object. Any similarity in naming with BMO from Adventure Time ; ; is totally deliberate. ; ;--------------------------------------------------------------------------------; #include pjsip.endpoint_custom.conf [6001] type=endpoint aors=6001 auth=6001-auth allow=ulaw,alaw,gsm,g726,g722,g729,g723,slin context=from-internal callerid=device <6001> dtmf_mode=rfc4733 transport=0.0.0.0-ws use_avpf=yes ice_support=yes media_use_received_transport=no trust_id_inbound=yes send_pai=yes rtp_symmetric=yes rewrite_contact=yes media_encryption=dtls ;dtls_verify=certificate dtls_verify=no dtls_cert_file=/etc/asterisk/keys/ElderlyC.pem dtls_ca_file=/etc/asterisk/keys/ca.crt dtls_setup=actpass [6002] type=endpoint aors=6002 auth=6002-auth allow=ulaw,alaw,gsm,g726,g722,g729,g723,slin context=from-internal callerid=device <6002> dtmf_mode=rfc4733 transport=0.0.0.0-udp use_avpf=yes ice_support=yes media_use_received_transport=no trust_id_inbound=yes send_pai=yes rtp_symmetric=yes rewrite_contact=yespjsip.transports.conf
Code: ;--------------------------------------------------------------------------------; ; Do NOT edit this file as it is auto-generated by FreePBX. ; ;--------------------------------------------------------------------------------; ; For information on adding additional paramaters to this file, please visit the ; ; FreePBX.org wiki page, or ask on IRC. This file was created by the new FreePBX ; ; BMO - Big Module Object. Any similarity in naming with BMO from Adventure Time ; ; is totally deliberate. ; ;--------------------------------------------------------------------------------; #include pjsip.transports_custom.conf [0.0.0.0-udp] type=transport protocol=udp bind=0.0.0.0:5060 [0.0.0.0-tcp] type=transport protocol=tcp bind=0.0.0.0:5060 [0.0.0.0-ws] type=transport protocol=ws bind=0.0.0.0:8088pjsip.aor.conf
Code: ;--------------------------------------------------------------------------------; ; Do NOT edit this file as it is auto-generated by FreePBX. ; ;--------------------------------------------------------------------------------; ; For information on adding additional paramaters to this file, please visit the ; ; FreePBX.org wiki page, or ask on IRC. This file was created by the new FreePBX ; ; BMO - Big Module Object. Any similarity in naming with BMO from Adventure Time ; ; is totally deliberate. ; ;--------------------------------------------------------------------------------; #include pjsip.aor_custom.conf [6001] type=aor mailboxes=6001@device max_contacts=1 remove_existing=yes qualify_frequency=60 [6002] type=aor mailboxes=6002@device max_contacts=1 remove_existing=yes qualify_frequency=60 [6003] type=aor mailboxes=6003@device max_contacts=1 remove_existing=yes qualify_frequency=60pjsip.auth.conf
Code: ;--------------------------------------------------------------------------------; ; Do NOT edit this file as it is auto-generated by FreePBX. ; ;--------------------------------------------------------------------------------; ; For information on adding additional paramaters to this file, please visit the ; ; FreePBX.org wiki page, or ask on IRC. This file was created by the new FreePBX ; ; BMO - Big Module Object. Any similarity in naming with BMO from Adventure Time ; ; is totally deliberate. ; ;--------------------------------------------------------------------------------; #include pjsip.auth_custom.conf [6001-auth] type=auth auth_type=userpass password=6000ml username=6001 [6002-auth] type=auth auth_type=userpass password=6000ml username=6002 [6003-auth] type=auth auth_type=userpass password=6000ml username=6003the following files are empty:
pjsip_custom.conf
pjsip.transports_custom.conf
pjsip.aor_custom.conf
pjsip.identify.conf
pjsip.identify_custom.conf
pjsip.registration.conf
pjsip.registration_custom.conf
Statistics : Posted by longwalker • on Thu Apr 09, 2015 7:38 am • Replies 0 • Views 4