Comments (15)
As long as they still provide useful information.
from asterisk.
There's not enough information here. Please provide a complete SIP trace of all the REGISTER requests and responses for it. It can be done from Asterisk using "pjsip set logger on". Ideally a core debug [1]would also be good to see the underlying parsing. This issue does not occur for all usage.
[1] https://docs.asterisk.org/Operation/Logging/Collecting-Debug-Information/?h=collecting
from asterisk.
@jcolp
Sure I can share the pjsip log for that client.
Would I be OK to manipulate the IPs in the log file?
I don't want to share public IPs here.
from asterisk.
Hi @jcolp
I hope this is fine for you.
Line 62
from asterisk.
What is the underlying endpoint and AOR configuration?
from asterisk.
Hope this is what you are looking for.
ParameterName : ParameterValue
===================================================================================================
100rel : yes
accept_multiple_sdp_answers : false
accountcode :
acl :
aggregate_mwi : true
allow : (opus|g722|alaw|g729|g726|g723|ulaw|h264|mpeg4)
allow_overlap : true
allow_subscribe : true
allow_transfer : true
allow_unauthenticated_options : false
aors : 41
asymmetric_rtp_codec : false
auth : 41-auth
bind_rtp_to_media_address : false
bundle : false
call_group :
callerid : "Client Name" <41>
callerid_privacy : allowed_not_screened
callerid_tag :
codec_prefs_incoming_answer : prefer:pending, operation:intersect, keep:all, transcode:allow
codec_prefs_incoming_offer : prefer:pending, operation:intersect, keep:all, transcode:allow
codec_prefs_outgoing_answer : prefer:pending, operation:intersect, keep:all, transcode:allow
codec_prefs_outgoing_offer : prefer:pending, operation:union, keep:all, transcode:allow
connected_line_method : invite
contact_acl :
context : from-internal
cos_audio : 5
cos_video : 4
device_state_busy_at : 0
direct_media : true
direct_media_glare_mitigation : none
direct_media_method : invite
disable_direct_media_on_nat : false
dtls_auto_generate_cert : No
dtls_ca_file :
dtls_ca_path :
dtls_cert_file :
dtls_cipher :
dtls_fingerprint : SHA-256
dtls_private_key :
dtls_rekey : 0
dtls_setup : active
dtls_verify : No
dtmf_mode : rfc4733
fax_detect : false
fax_detect_timeout : 0
follow_early_media_fork : true
force_avp : false
force_rport : true
from_domain :
from_user :
g726_non_standard : false
geoloc_incoming_call_profile :
geoloc_outgoing_call_profile :
ice_support : false
identify_by : username,ip
ignore_183_without_sdp : false
inband_progress : false
incoming_call_offer_pref : local
incoming_mwi_mailbox :
language : en
mailboxes : 41@default
max_audio_streams : 1
max_video_streams : 1
media_address :
media_encryption : sdes
media_encryption_optimistic : true
media_use_received_transport : false
message_context :
moh_passthrough : false
moh_suggest : default
mwi_from_user :
mwi_subscribe_replaces_unsolicited : yes
named_call_group :
named_pickup_group :
notify_early_inuse_ringing : false
one_touch_recording : true
outbound_auth : 41-auth
outbound_proxy :
outgoing_call_offer_pref : remote_merge
overlap_context :
pickup_group :
preferred_codec_only : false
record_off_feature : apprecord
record_on_feature : apprecord
refer_blind_progress : true
rewrite_contact : true
rpid_immediate : false
rtcp_mux : false
rtp_engine : asterisk
rtp_ipv6 : false
rtp_keepalive : 0
rtp_symmetric : true
rtp_timeout : 30
rtp_timeout_hold : 300
sdp_owner : -
sdp_session : Asterisk
security_mechanisms :
security_negotiation : no
send_aoc : false
send_connected_line : yes
send_diversion : true
send_history_info : false
send_pai : true
send_rpid : false
set_var :
srtp_tag_32 : false
stir_shaken : off
stir_shaken_profile :
sub_min_expiry : 0
subscribe_context :
suppress_q850_reason_headers : false
t38_bind_udptl_to_media_address : false
t38_udptl : false
t38_udptl_ec : none
t38_udptl_ipv6 : false
t38_udptl_maxdatagram : 0
t38_udptl_nat : false
timers : yes
timers_min_se : 90
timers_sess_expires : 1800
tone_zone :
tos_audio : 184
tos_video : 136
transport :
trust_connected_line : yes
trust_id_inbound : true
trust_id_outbound : false
use_avpf : false
use_ptime : false
user_eq_phone : false
voicemail_extension :
webrtc : no
from asterisk.
Is this happening for other IPv6 addresses on other endpoints?
from asterisk.
I need to check.
from asterisk.
Yes happening also on other IPv6 addresses.
Contact: <sip:53@2A02:8108;transport=TLS>;expires=599
Also here is the IP truncated.
Please note that this is a single contact.
from asterisk.
@seanbright You mentioned in IRC about this, did your perusal come across anything? I haven't found any explanation yet.
from asterisk.
did your perusal come across anything?
Negative
from asterisk.
@TimmiORG How are your transports defined? Do you have one for IPv4 and one for IPv6 or just one with a bind=[::]
? Can you paste them here?
IIRC there is (or maybe was) an issue in pjproject with using a single transport with an IPv6 wildcard to bind to both IPv4 and IPv6 at the same time.
from asterisk.
Hi @gtjoseph
the IPv4 settings are default from Freepbx.
[0.0.0.0-udp]
type=transport
protocol=udp
bind=0.0.0.0:5060
external_media_address=x.x.x.x
external_signaling_address=x.x.x.x
allow_reload=no
tos=cs3
cos=3
[0.0.0.0-tcp]
type=transport
protocol=tcp
bind=0.0.0.0:5060
external_media_address=x.x.x.x
external_signaling_address=x.x.x.x
allow_reload=no
tos=cs3
cos=3
[0.0.0.0-tls]
type=transport
protocol=tls
bind=0.0.0.0:5061
external_media_address=x.x.x.x
external_signaling_address=x.x.x.x
ca_list_file=/etc/pki/tls/certs/ca-bundle.crt
cert_file=/etc/asterisk/keys/xxx.crt
priv_key_file=/etc/asterisk/keys/xxx.key
method=tlsv1_2
verify_client=no
verify_server=no
allow_reload=no
tos=cs3
cos=3
These are the IPv6 settings:
[ipv6-tls](0.0.0.0-tls)
bind=[::]:5061
external_media_address=
external_signaling_address=
[ipv6-tcp](0.0.0.0-tcp)
bind=[::]:5060
external_media_address=
external_signaling_address=
[ipv6-udp](0.0.0.0-udp)
bind=[::]:5060
external_media_address=
external_signaling_address=
from asterisk.
Do you have more that 1 routable IPv6 interface?
What happens if you bind to a specific IPv6 address instead of the wildcard?
from asterisk.
@gtjoseph
I have only 1 routable IPv6 interface and have configured the IPv6 instead of [::] for the bindings.
But this does not change anything.
from asterisk.
Related Issues (20)
- [bug]: chan_dahdi: Tens or hundreds of thousands of channel opens attempted during restart
- [bug]: segmentation fault without bundled pjsip HOT 12
- [improvement]: Endpoint identifier transport
- [new-feature]: chan_dahdi: Add AMI action to show spans
- [improvement]: Remove deprecation warning for 'core show channels concise' in main/cli.c HOT 4
- [bug]: res_stir_shaken implicit declaration of function errors/warnings HOT 6
- [new-feature]: callerid.c: Parse all received parameters
- [improvement]: func_callerid: Warn if invalid redirecting reason is set
- [new-feature]: app_queue: Allow queue strategy to be manipulated externally
- [bug]: Asterisk segfault HOT 2
- [bug] Document the `Events` argument of the `Login` AMI action HOT 3
- [bug]: Unable to Cancel Schedule ID ... probably a bug dtls_srtp_stop_timeout_timer, line 2914 HOT 3
- [new-feature]: new module: format_aac HOT 10
- [bug]: commit ddb5c37 makes database id columns nullable HOT 1
- [bug]: Unexpected control subclass '14' HOT 3
- [bug]: ODBC_STORAGE not found in Asterisk 20.7 HOT 9
- [improvement]: Add support for multi-rate DTMF
- [bug]: Expires value on 200 OK one second less then expires value on REGISTER request; causes ever-diminishing cycle HOT 1
- [bug]: invalid queue strategy from realtime not properly handled
- [bug]: RTP inactivity monitor hang up calls after 500ms.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from asterisk.