-
Notifications
You must be signed in to change notification settings - Fork 423
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
Calling a phone number through a custom SIP Trunk #656
Comments
Calling the PSTN is generally just the same as callling any other SIP end point. You should be able to sue the simpler SIPUserAgent.Call overload. The full |
So if I want to call a phone number, what should the destination be? |
|
Thanks for the quick feedback, you are fast! |
Did you set the username and password on your call attempt?
Note that registrations and calls are separate SIP worklfows. You probably don't need to register to place an outgoing call. Typically you only need to register if you want to receive a call. |
Yes I did. I also found this thread if it helps: http:https://forum.sipsorcery.com/viewtopic.php?t=2910 |
Here is the output with the simple GetStartedFramework. |
Wireshark trace: v=0 v=0 SIP/2.0 407 Proxy Authentication Required ACK sip:[email protected] SIP/2.0 ACK sip:[email protected] SIP/2.0 INVITE sip:[email protected] SIP/2.0 v=0 v=0 SIP/2.0 180 Ringing SIP/2.0 503 Service Unavailable ACK sip:[email protected] SIP/2.0 ACK sip:[email protected] SIP/2.0 |
ping |
That looks to be your problem. Have you tried different number ofrmats? Perhaps you need to use 00 instead of +. |
Yes, I have tried 00, + and just 41... |
Ok, could be some other SIP interop issue then. It's a bit beyond the support offered on this repo to track that down unless someone else reading this happens to have solved the same problem. |
Well.. I could try to get it working by comparing the wireshark to a wireshark from a different softphone that actually works but this could take allot of time. Would you consider accepting modifications to the source code if I can find what is wrong? |
Sure, PR's are always welcome! |
Just before I commit to this, can I have a 10-15 minute call with you (manager?) at some point? I want to go through what I plan to use sipsorcery for. My company works with audio/video streaming tech. |
Can't help you with that one, sorry. I did some consulting in the SIP/WebRTC space related to this project for a little while but then got a real job again. Other than snatches of time to sporadically maintain this library I don't have any bandwidth for anything else at all. |
Is is possible to call a local/international phone number? I am using a SIP provider, the registration is successfull.
How parameter do I need to use in SIPUserAgent.Call to call a GSM phone number?
Do I need to use the complex SIPCallDescriptor? What should I fill in?
Thanks
The text was updated successfully, but these errors were encountered: