Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linphone GUI answer works fine but linphone console answer there is "Segmentation Fault". #871

Open
screenpanda opened this issue Nov 26, 2024 · 1 comment

Comments

@screenpanda
Copy link

screenpanda commented Nov 26, 2024

#460

Issue seen in linphonec:

2024-11-26 08:59:04:129 ortp-message-configuring resampler output to rate=[44100], nchannels=[1]
2024-11-26 08:59:04:129 ortp-message-ms_filter_link: MSFilePlayer:0x5581bc09cec0,0-->MSDtmfGen:0x5581bc09ccc0,0
2024-11-26 08:59:04:129 ortp-message-ms_filter_link: MSDtmfGen:0x5581bc09ccc0,0-->MSResample:0x5581bc09c3f0,0
2024-11-26 08:59:04:129 ortp-message-ms_filter_link: MSResample:0x5581bc09c3f0,0-->MSAlsaWrite:0x5581bc09ca10,0
2024-11-26 08:59:04:129 ortp-message-Initializing speex resampler in mode [voip]
2024-11-26 08:59:04:129 ortp-message-Priority used: 99
2024-11-26 08:59:04:129 ortp-message-Call 0x5581bc08c4d0: moving from state LinphoneCallIdle to LinphoneCallIncomingReceived
2024-11-26 08:59:04:129 ortp-message-Ring MSTicker setpriority() failed: Permission denied, nevermind.
Receiving new incoming call from "Anonymous" sip:[email protected], assigned id 1
2024-11-26 08:59:04:129 ortp-message-Linphone core [0x5581bc010f60] notified [call_state_changed]
2024-11-26 08:59:04:129 ortp-message-Contact has been fixed using proxy
2024-11-26 08:59:04:129 ortp-message-alsa_open_w: opening default at 44100Hz, bits=16, stereo=0
2024-11-26 08:59:04:130 ortp-message-channel [0x5581bc0f4420]: message sent to [UDP://192.168.212.58:5060], size: [404] bytes
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 192.168.212.58:5060;rport;branch=z9hG4bKPj9a9f502c-6c17-4f9e-831e-9661fb15d582
From: "Anonymous" sip:[email protected];tag=58fcd245-1233-4c33-ab41-25cd7bef3e53
To: sip:[email protected];tag=jddBGNu
Call-ID: 02293443-f71e-42ab-b75e-ba88f02a5bd4
CSeq: 17128 INVITE
User-Agent: Linphonec/3.12.0 (belle-sip/1.6.3)
Supported: replaces, outbound

2024-11-26 08:59:04:130 ortp-message-Dialog [0x5581bc0568a0]: now updated by transaction [0x5581bc093270].
-------auto answering to call-------
Segmentation fault (core dumped)
voip@084f8e1ef2a1:~$

With linphone GUI, I dont get this issue

message: 2024-11-25 20:55:00:845 speex_lib_ctl does not support SPEEX_LIB_CPU_FEATURE_NEON
message: 2024-11-25 20:55:00:845 Configuring resampler input with rate=[44100], nchannels=[1]
message: 2024-11-25 20:55:00:845 MSFilePlayer[0x55bbe63bc9b0]: /usr/share/sounds/linphone/rings/oldphone-mono.wav opened: rate=44100,channel=1
message: 2024-11-25 20:55:00:845 configuring resampler output to rate=[44100], nchannels=[1]
message: 2024-11-25 20:55:00:845 ms_filter_link: MSFilePlayer:0x55bbe63bc9b0,0-->MSDtmfGen:0x55bbe65243a0,0
message: 2024-11-25 20:55:00:845 ms_filter_link: MSDtmfGen:0x55bbe65243a0,0-->MSResample:0x55bbe63cb2d0,0
message: 2024-11-25 20:55:00:845 ms_filter_link: MSResample:0x55bbe63cb2d0,0-->MSAlsaWrite:0x55bbe63c2790,0
message: 2024-11-25 20:55:00:845 Initializing speex resampler in mode [voip]
message: 2024-11-25 20:55:00:845 Call 0x55bbe64c3150: moving from state LinphoneCallIdle to LinphoneCallIncomingReceived
message: 2024-11-25 20:55:00:845 Priority used: 99
message: 2024-11-25 20:55:00:845 Ring MSTicker setpriority() failed: Permission denied, nevermind.
message: 2024-11-25 20:55:00:845 alsa_open_w: opening default at 44100Hz, bits=16, stereo=0
message: 2024-11-25 20:55:00:851 StatusIcon: blinking set to TRUE
message: 2024-11-25 20:55:00:851 Linphone core [0x55bbe6122d30] notified [call_state_changed]
message: 2024-11-25 20:55:00:851 Contact has been fixed using proxy
message: 2024-11-25 20:55:00:852 channel [0x55bbe6350050]: message sent to [UDP://192.168.212.58:5060], size: [403] bytes
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 192.168.212.58:5060;rport;branch=z9hG4bKPj824c6892-4fcb-4b6a-a93b-1e19e2086b09
From: "Anonymous" sip:[email protected];tag=0c5108c8-5063-4e23-b8da-215c08c57a8e
To: sip:[email protected];tag=FxYyWRW
Call-ID: 340b39e7-1c18-428c-8535-83cc6a6d39cb
CSeq: 21451 INVITE
User-Agent: Linphone/3.12.0 (belle-sip/1.6.3)
Supported: replaces, outbound

message: 2024-11-25 20:55:00:852 Dialog [0x55bbe63d0820]: now updated by transaction [0x55bbe63da250].
message: 2024-11-25 20:55:00:867 channel [0x55bbe6350050]: received [1049] new bytes from
[UDP://192.168.212.58:5060]:
NOTIFY sip:[email protected];transport=udp SIP/2.0

@screenpanda
Copy link
Author

screenpanda commented Nov 27, 2024

Probably issue related to oRTP, so added ticket there too. #23 BelledonneCommunications/ortp#23

lincphonec autoanswer setting byte size is 404: Segfault

snipped from above logs itself:

2024-11-26 08:59:04:130 ortp-message-channel [0x5581bc0f4420]: message sent to [UDP://192.168.212.58:5060], size: [404] bytes
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 192.168.212.58:5060;rport;branch=z9hG4bKPj9a9f502c-6c17-4f9e-831e-9661fb15d582

linphone GUI autoanswer setting byte size is different: 403 work fine.

message: 2024-11-25 20:55:00:851 Contact has been fixed using proxy
message: 2024-11-25 20:55:00:852 channel [0x55bbe6350050]: message sent to [UDP://192.168.212.58:5060], size: [403] bytes
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 192.168.212.58:5060;rport;branch=z9hG4bKPj824c6892-4fcb-4b6a-a93b-1e19e2086b09

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant