Unable to retrieve PJSIP transport '0.0.0.0-udp' for endpoin

Get help with installing and running AsteriskNOW.

Moderators: Moderator, Support

Unable to retrieve PJSIP transport '0.0.0.0-udp' for endpoin

Postby longwalker » Thu Apr 09, 2015 7:38 am

I was using SIP instead of PJSIP, and just today I switched to PJSIP. However I get the following errors:
Code: Select all
res_pjsip.c:2170 sip_get_tpselector_from_endpoint: Unable to retrieve PJSIP transport '0.0.0.0-udp' for endpoint '6002'

and
Code: Select all
PJSIP_EUNSUPTRANSPORT


At 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: Select all
;--------------------------------------------------------------------------------;
;          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: Select all
;--------------------------------------------------------------------------------;
;          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=yes


pjsip.transports.conf
Code: Select all
;--------------------------------------------------------------------------------;
;          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:8088


pjsip.aor.conf
Code: Select all
;--------------------------------------------------------------------------------;
;          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=60


pjsip.auth.conf
Code: Select all
;--------------------------------------------------------------------------------;
;          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=6003


the 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
longwalker
Newsterisk
 
Posts: 20
Joined: Tue Mar 10, 2015 4:47 am

Re: Unable to retrieve PJSIP transport '0.0.0.0-udp' for endpoin

Postby longwalker » Fri Apr 10, 2015 5:16 am

Somehow the issue was solved when I was playing around with freepbx extension settings. However I couldn't check what exactly caused the issue, since there were many other pjsip related files generated.
longwalker
Newsterisk
 
Posts: 20
Joined: Tue Mar 10, 2015 4:47 am


Return to AsteriskNOW Support

Who is online

Users browsing this forum: No registered users and 1 guest