[Home]

Summary:ASTERISK-24367: PJSIP: allow all results in failure to send INVITE
Reporter:Scott Griepentrog (sgriepentrog)Labels:
Date Opened:2014-09-29 13:20:01Date Closed:2014-12-31 12:57:20.000-0600
Priority:MajorRegression?
Status:Closed/CompleteComponents:Resources/res_pjsip
Versions:SVN 12.6.0 13.0.0-beta2 Frequency of
Occurrence
Constant
Related
Issues:
Environment:Asterisk 13 (may also affect 12)Attachments:
Description:When originating a call to a PJSIP endpoint with udp transport and the setting "allow=all", the result is a failure to send the INVITE.  Modifying the endpoint configuration to disallow all and allow only ulaw resolves the issue.

Error message:
{noformat}
[Sep 29 14:11:57] WARNING[24101]: pjsip:0 <?>:   tsx0x7fbc5c008 ...Temporary failure in sending Request msg INVITE/cseq=2998 (tdta0x7fbc5c004c60), will try next server: Unsuitable transport selected (PJSIP_ETPNOTSUITABLE)    
{noformat}

pjsip.conf:
{noformat}
[transport-udp]
type=transport
protocol=udp
bind=0.0.0.0

[200]
type=endpoint
transport=transport-udp
context=from-internal
;disallow=all
;allow=ulaw
allow=all
auth=200
aors=200
direct_media=no
rtp_symmetric=yes
force_rport=yes
ice_support=yes

[200]
type=auth
auth_type=md5
username=200
md5_cred=(anythingrandom)

[200]
type=aor
max_contacts=3
mailboxes=200@default
{noformat}
Comments: