[SR-Users] Setup Push notifications from SIP-PBX to Linphone Android -
I have a setup where we wanted to just build a android app linphone to SIP-PBX. But come to find out upon further research due to potential battery drain/background app usage. The device isn’t registered all the time and need some sort of push notification to google firebase back to android app to re-setup the register / INVITE call. Is there a module/config of this kind of setup. (now could I use cloud kamailio or would this have to be onsite local to the PBX). ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] KAMAILIO/RTPENGINE - Log
On 22/08/2020 09.39, Amit Pal wrote: Dear Team, I am using kamailio with rtpengine for media. When I make call between two sipUA then media flow is manage by rtpengine offer/answer. The issue is when hold the call then following some error are coming . Pls find the full log in attached file. rtpengine[14099]: DEBUG: [43402b3cc9425239MTg0YzVlODc0NTBiZGU1ZGJiYmNmYjY1MDc0MjIwMzI.]: av_log: parser not found for codec pcm_s16le, packets or times may be invalid. rtpengine[14099]: DEBUG: [43402b3cc9425239MTg0YzVlODc0NTBiZGU1ZGJiYmNmYjY1MDc0MjIwMzI.]: av_log: max_analyze_duration 500 reached at 512 microseconds st:0 rtpengine[14099]: DEBUG: [43402b3cc9425239MTg0YzVlODc0NTBiZGU1ZGJiYmNmYjY1MDc0MjIwMzI.]: av_log: stream 0: start_time: -1152921504606847.000 duration: 27.034 rtpengine[14099]: DEBUG: [43402b3cc9425239MTg0YzVlODc0NTBiZGU1ZGJiYmNmYjY1MDc0MjIwMzI.]: av_log: format: start_time: -9223372036854.775 duration: 27.034 bitrate=128 kb/s rtpengine[14099]: DEBUG: [43402b3cc9425239MTg0YzVlODc0NTBiZGU1ZGJiYmNmYjY1MDc0MjIwMzI.]: av_log: After avformat_find_stream_info() pos: 131130 bytes read:19 seeks:1 frames:22 rtpengine[14099]: ERR: [43402b3cc9425239MTg0YzVlODc0NTBiZGU1ZGJiYmNmYjY1MDc0MjIwMzI.]: No supported output codec found in SDP rtpengine[14099]: INFO: [43402b3cc9425239MTg0YzVlODc0NTBiZGU1ZGJiYmNmYjY1MDc0MjIwMzI.]: Replying to 'play media' from 127.0.0.1:48757 (elapsed time 0.12 sec) rtpengine[14099]: DEBUG: [43402b3cc9425239MTg0YzVlODc0NTBiZGU1ZGJiYmNmYjY1MDc0MjIwMzI.]: Response dump for 'play media' to 127.0.0.1:48757: { "result": "ok" } I am unable to understand this issue. Is this related to rtpenging, which is not supported given codec or file codec, which is used to play after hold call or anything else in script issue. Can you please guide me where is the issue. You're trying to play media to the B side (callee - answerer), but rtpengine has only seen the offer from the A side (caller). So rtpengine neither knows which codec to use, nor where to send the media to. You can only play to the B side after having seen an answer from it. Cheers ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
[SR-Users] KAMAILIO/RTPENGINE - Log
Dear Team, I am using kamailio with rtpengine for media. When I make call between two sipUA then media flow is manage by rtpengine offer/answer. The issue is when hold the call then following some error are coming . Pls find the full log in attached file. rtpengine[14099]: DEBUG: [43402b3cc9425239MTg0YzVlODc0NTBiZGU1ZGJiYmNmYjY1MDc0MjIwMzI.]: av_log: parser not found for codec pcm_s16le, packets or times may be invalid. rtpengine[14099]: DEBUG: [43402b3cc9425239MTg0YzVlODc0NTBiZGU1ZGJiYmNmYjY1MDc0MjIwMzI.]: av_log: max_analyze_duration 500 reached at 512 microseconds st:0 rtpengine[14099]: DEBUG: [43402b3cc9425239MTg0YzVlODc0NTBiZGU1ZGJiYmNmYjY1MDc0MjIwMzI.]: av_log: stream 0: start_time: -1152921504606847.000 duration: 27.034 rtpengine[14099]: DEBUG: [43402b3cc9425239MTg0YzVlODc0NTBiZGU1ZGJiYmNmYjY1MDc0MjIwMzI.]: av_log: format: start_time: -9223372036854.775 duration: 27.034 bitrate=128 kb/s rtpengine[14099]: DEBUG: [43402b3cc9425239MTg0YzVlODc0NTBiZGU1ZGJiYmNmYjY1MDc0MjIwMzI.]: av_log: After avformat_find_stream_info() pos: 131130 bytes read:19 seeks:1 frames:22 rtpengine[14099]: ERR: [43402b3cc9425239MTg0YzVlODc0NTBiZGU1ZGJiYmNmYjY1MDc0MjIwMzI.]: No supported output codec found in SDP rtpengine[14099]: INFO: [43402b3cc9425239MTg0YzVlODc0NTBiZGU1ZGJiYmNmYjY1MDc0MjIwMzI.]: Replying to 'play media' from 127.0.0.1:48757 (elapsed time 0.12 sec) rtpengine[14099]: DEBUG: [43402b3cc9425239MTg0YzVlODc0NTBiZGU1ZGJiYmNmYjY1MDc0MjIwMzI.]: Response dump for 'play media' to 127.0.0.1:48757: { "result": "ok" } I am unable to understand this issue. Is this related to rtpenging, which is not supported given codec or file codec, which is used to play after hold call or anything else in script issue. Can you please guide me where is the issue. Regards Amit Pal Aug 22 18:48:45 secondary systemd[1]: Starting NGCP RTP/media Proxy Daemon... Aug 22 18:48:45 secondary rtpengine[14099]: INFO: Generating new DTLS certificate Aug 22 18:48:45 secondary rtpengine[14099]: DEBUG: Dump of DTLS certificate: Aug 22 18:48:45 secondary rtpengine[14099]: DEBUG: --- -BEGIN CERTIFICATE- Aug 22 18:48:45 secondary rtpengine[14099]: DEBUG: --- MIICpDCCAYwCCQDBoW1Qu3zo8DANBgkqhkiG9w0BAQsFADAUMRIwEAYDVQQDDAly Aug 22 18:48:45 secondary rtpengine[14099]: DEBUG: --- dHBlbmdpbmUwHhcNMjAwODIxMTMxODQ1WhcNMjAwOTIxMTMxODQ1WjAUMRIwEAYD Aug 22 18:48:45 secondary rtpengine[14099]: DEBUG: --- VQQDDAlydHBlbmdpbmUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDB Aug 22 18:48:45 secondary rtpengine[14099]: DEBUG: --- HU+ALrl8xGn7xX5v+7lyeUnEtkUyAax5aOccSHId2AO7fLSSuksIlMF0mx7ppYxP Aug 22 18:48:45 secondary rtpengine[14099]: DEBUG: --- ZWhjkTZ7brP1aIgCLBmx4e9Tfp53benx5bQQ2SpAc7AjXnJvTAJfIfDHZfEVQFum Aug 22 18:48:45 secondary rtpengine[14099]: DEBUG: --- INO5PtefiqCE2gIJi3GJMIeDqKEfOmF6ymYSjO3t0UPZSTSffl8HgHZF3RTJonvh Aug 22 18:48:45 secondary rtpengine[14099]: DEBUG: --- 24efpn4VqyMcQJUFMLVt9nPHI2qnLdLflZhsIlpQLyizNUBNMrq5X54h/1lI7zhL Aug 22 18:48:45 secondary rtpengine[14099]: DEBUG: --- dkwXGPrraqEAsnogb0xkAu+mkbeY4rioqqapYfJ0sTaPVyLJb1grrPvqts1E9NoQ Aug 22 18:48:45 secondary rtpengine[14099]: DEBUG: --- 5vuXztsycjJ0qrIWL9MHAgMBAAEwDQYJKoZIhvcNAQELBQADggEBADXTMQt+q3ss Aug 22 18:48:45 secondary rtpengine[14099]: DEBUG: --- slcANidd6VTAkBovNPqoMPMpiQWKDuxLNlIpnBUaZt+j6QcHgVOKZSvxjYCe64jL Aug 22 18:48:45 secondary rtpengine[14099]: DEBUG: --- 43WNB5p1733aHkOgmeU6r7BxD3byawXSUIqskGC+xNZnYGXR+9Nz6niIHYS3b/Kd Aug 22 18:48:45 secondary rtpengine[14099]: DEBUG: --- weSfdeC+efQ03L+0lm+OGRiY8ujnDqtjZPBKBmwRPjXRQPeAW0g1pjK7PB1iK/Ez Aug 22 18:48:45 secondary rtpengine[14099]: DEBUG: --- kyA1IszNZYjh4dgVShXR3/DkiBs/wvRT9K7zMDKAj/jfVazjkkjcmJO4wKZLxPlG Aug 22 18:48:45 secondary rtpengine[14099]: DEBUG: --- qHpNMmpKwb2Tv+6MVBNsL4pFb0DeZ1XuCAIte575Dws3ycYplXPxrYD1RJicyvll Aug 22 18:48:45 secondary rtpengine[14099]: DEBUG: --- fyi2MhHXQC0= Aug 22 18:48:45 secondary rtpengine[14099]: DEBUG: --- -END CERTIFICATE- Aug 22 18:48:45 secondary rtpengine[14099]: DEBUG: Dump of DTLS private key: Aug 22 18:48:45 secondary rtpengine[14099]: DEBUG: --- -BEGIN PRIVATE KEY- Aug 22 18:48:45 secondary rtpengine[14099]: DEBUG: --- MIIEuwIBADANBgkqhkiG9w0BAQEFAASCBKUwggShAgEAAoIBAQDBHU+ALrl8xGn7 Aug 22 18:48:45 secondary rtpengine[14099]: DEBUG: --- xX5v+7lyeUnEtkUyAax5aOccSHId2AO7fLSSuksIlMF0mx7ppYxPZWhjkTZ7brP1 Aug 22 18:48:45 secondary rtpengine[14099]: DEBUG: --- aIgCLBmx4e9Tfp53benx5bQQ2SpAc7AjXnJvTAJfIfDHZfEVQFumINO5PtefiqCE Aug 22 18:48:45 secondary rtpengine[14099]: DEBUG: --- 2gIJi3GJMIeDqKEfOmF6ymYSjO3t0UPZSTSffl8HgHZF3RTJonvh24efpn4VqyMc Aug 22 18:48:45 secondary rtpengine[14099]: DEBUG: --- QJUFMLVt9nPHI2qnLdLflZhsIlpQLyizNUBNMrq5X54h/1lI7zhLdkwXGPrraqEA Aug 22 18:48:45 secondary rtpengine[14099]: DEBUG: --- snogb0xkAu+mkbeY4rioqqapYfJ0sTaPVyLJb1grrPvqts1E9NoQ5vuXztsycjJ0 Aug 22 18:48:45 secondary rtpengine[14099]: DEBUG: ---