Replies: 3 comments 2 replies
-
Errata: Now my extended RecordCall test app with regard to authentication is capable of: BUT now I am totally confused. In case we are talking about a incoming call: I beleave the last is true. So, PLEASE give us all more details and working examples WITH comments why this or that command is used and what the command does! |
Beta Was this translation helpful? Give feedback.
-
Sorry, but I must have hit a nerve. Nothing could be further from my mind than (just) moaning and complaining. I've simply been looking for a solution for days to save the incoming and outgoing audio channel in an audio file (wav or mp3) if possible. |
Beta Was this translation helpful? Give feedback.
-
As said: Another approach would be to implement all members of IAudioSource and IAudioSource inclucding a NAudio mixer... but may be later / in the future. In case the dmtf tone 5 is pressed I am going to play a "Key5KeyWasPressed" wave or when not a "Key5WasNotPressed" wave file and follow the above approach: Copy one or the other, and mix the finally all three wave file into on "CompletINcomingAndOutgoingAudio" wave file (on hungup event). One issue with this approach is the fact that the caller can be hang up during the (a) announcement, (b) the "Key5WasPressed" or (c) the "Key5WasNotPressesd" wave file is played but not finished. But may be you have a better Idea how to get the complete outgoing audio (AudioSource) on byte[] level ... |
Beta Was this translation helpful? Give feedback.
-
Hello forum,
Abstract:
My app registration works fine,
incoming calls are fetched, the body says HasAudio = true,
Caller id (aka his tel.number) is received, etc.
Assumption: useragent.AcceptCall(...) and useragent.Answer(...) seems to work fine;
The assumption base on the fact that the ringing stops;
assumption correct?
Issue:
Did not get any audio. "AudioSink" nor "AudioSource" are not delivering any data (bytes).
The SipExamples "RecordCall" and all the other examples are well known.
I adjusted "RecordCall" to my needs.
Aka: The adjusted "RecordCall" app registers successful with my Fritzbox; incoming call is fetched, but
private static void OnRtpPacketReceived(...)
is never been called!
My setup
AVM Fritzbox 7490.
Two devices are in the Fritzbox defined and configured:
"Softphone_52" and "Softphone_53"
"52" and "53" because two of my three land line tel.numbers are ending with 52 and 53.
So the "device"/ "Softphone_52" is mapped to the land line tel.number ending with "52";
the other "device"/ "Softphone_53" is mapped to the land line tel.number ending with "53".
Their settings: both LAN/WLAN, both with unique Username and Passwords.
To avoid any issue/minimize potential issues I am using "Softphone_53" only in my test app.
Because there is no other (real or software) device handling the land line tel.number ending with 53.
Using:
Windows 11, Visual Studio Prof. V17.13.2,
C# project setup
(
a) Target framework: .NET 8.0
b) Target OS: Windows
c) Target OS version: 10.0.17763.0
d) Supported OS version: 10.0.17763.0
), WPF.
Latest SIPSocery nuget packages SIPSorcery (8.0.11) and SIPSorceryMedia.Windows (8.0.7).
NAudio (2.2.1)
Used landline telefon and mobile phone to make the call.
As said, the incomming call is receive and can behandled, but always no audio.
Any idea?
is there a working expample that
fetches incoming calls and stores the incoming (AudioSink) and(!) the outgoing (AudioSource); keyword NAudio mixer?
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions