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

Make call and play sound and hangup. #124

Open
Desync3 opened this issue Apr 1, 2024 · 3 comments
Open

Make call and play sound and hangup. #124

Desync3 opened this issue Apr 1, 2024 · 3 comments

Comments

@Desync3
Copy link

Desync3 commented Apr 1, 2024

How can i make a call from callerid to number via sip then play wav/mp3 file and hangup call? c# code examples would be nice. Thanks

@siniypin
Copy link
Collaborator

siniypin commented Apr 1, 2024

Hello,

you can find examples of what you want to achieve here:

@Desync3
Copy link
Author

Desync3 commented Apr 1, 2024

Hello,

you can find examples of what you want to achieve here:

I'm not able to compile the project. I get
Screenshot 2024-04-02 012504

heres the errors:
Severity Code Description Project File Line Suppression State Error CS2001 Source file 'C:\Users\packw\source\repos\pjsip4net-master\pjsip4net.Core\..\SolutionVersion.cs' could not be found. pjsip4net.Core C:\Users\packw\source\repos\pjsip4net-master\pjsip4net.Core\CSC 1 Active Error CS0006 Metadata file 'C:\Users\packw\source\repos\pjsip4net-master\pjsip4net.Core\bin\Debug\pjsip4net.Core.dll' could not be found pjsip.Interop C:\Users\packw\source\repos\pjsip4net-master\pjsip.Interop\CSC 1 Active Error CS2001 Source file 'C:\Users\packw\source\repos\pjsip4net-master\pjsip4net\..\SolutionVersion.cs' could not be found. pjsip4net C:\Users\packw\source\repos\pjsip4net-master\pjsip4net\CSC 1 Active Error CS2001 Source file 'C:\Users\packw\source\repos\pjsip4net-master\pjsip4net.Container.Castle\..\SolutionVersion.cs' could not be found. pjsip4net.Container.Castle C:\Users\packw\source\repos\pjsip4net-master\pjsip4net.Container.Castle\CSC 1 Active Error CS2001 Source file 'C:\Users\packw\source\repos\pjsip4net-master\Tests\pjsip4net.Testing\..\..\SolutionVersion.cs' could not be found. pjsip4net.Testing C:\Users\packw\source\repos\pjsip4net-master\Tests\pjsip4net.Testing\CSC 1 Active Error CS0006 Metadata file 'C:\Users\packw\source\repos\pjsip4net-master\pjsip.Interop\bin\Debug\pjsip.Interop.dll' could not be found pjsip4net.Console C:\Users\packw\source\repos\pjsip4net-master\Tests\Integration\pjsip4net.Console\CSC 1 Active Error CS0006 Metadata file 'C:\Users\packw\source\repos\pjsip4net-master\pjsip4net.Container.Castle\bin\Debug\pjsip4net.Container.Castle.dll' could not be found pjsip4net.Console C:\Users\packw\source\repos\pjsip4net-master\Tests\Integration\pjsip4net.Console\CSC 1 Active Error CS0006 Metadata file 'C:\Users\packw\source\repos\pjsip4net-master\pjsip4net.Core\bin\Debug\pjsip4net.Core.dll' could not be found pjsip4net.Console C:\Users\packw\source\repos\pjsip4net-master\Tests\Integration\pjsip4net.Console\CSC 1 Active Error CS0006 Metadata file 'C:\Users\packw\source\repos\pjsip4net-master\pjsip4net\bin\Debug\pjsip4net.dll' could not be found pjsip4net.Console C:\Users\packw\source\repos\pjsip4net-master\Tests\Integration\pjsip4net.Console\CSC 1 Active Error CS0006 Metadata file 'C:\Users\packw\source\repos\pjsip4net-master\pjsip4net.Container.Castle\bin\Debug\pjsip4net.Container.Castle.dll' could not be found pjsip4net.Tests C:\Users\packw\source\repos\pjsip4net-master\Tests\Unit\pjsip4net.Tests\CSC 1 Active Error CS0006 Metadata file 'C:\Users\packw\source\repos\pjsip4net-master\pjsip4net.Core\bin\Debug\pjsip4net.Core.dll' could not be found pjsip4net.Tests C:\Users\packw\source\repos\pjsip4net-master\Tests\Unit\pjsip4net.Tests\CSC 1 Active Error CS0006 Metadata file 'C:\Users\packw\source\repos\pjsip4net-master\pjsip4net\bin\Debug\pjsip4net.dll' could not be found pjsip4net.Tests C:\Users\packw\source\repos\pjsip4net-master\Tests\Unit\pjsip4net.Tests\CSC 1 Active Error CS0006 Metadata file 'C:\Users\packw\source\repos\pjsip4net-master\Tests\pjsip4net.Testing\bin\Debug\pjsip4net.Testing.dll' could not be found pjsip4net.Tests C:\Users\packw\source\repos\pjsip4net-master\Tests\Unit\pjsip4net.Tests\CSC 1 Active

@siniypin
Copy link
Collaborator

siniypin commented Apr 2, 2024

We have updated the docs to make it more explicit on how to build the solution: https://github.com/ladendirekt/pjsip4net/blob/master/README.md#building

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

2 participants