Cannot get any of the samples to respond to incoming calls #474
Replies: 6 comments 2 replies
-
Most likely it's a NAT issue. Try using WireShark or a similar tool to compare the |
Beta Was this translation helpful? Give feedback.
-
Thanks for the reply. I see nothing in Wireshark from the IP of voiptalk.org on an inbound call,
but I do see traffic to them when placing a call.
All traffic is allowed outbound through my Windows firewall and our Draytek router - I believe that
SIP traffic is automatically allowed to traverse back through the router’s firewall in response to an outgoing session (?)
The 3cx softphone works fine (inbound and out) connected to the same SIP service.
Is there anything else you could recommend I look at?
Many thanks
Nick Williams
CTO
|
Beta Was this translation helpful? Give feedback.
-
Yup – was SIP ALG – not sure how the other Softphone dealt with it….
Thanks anyway
Nick Williams
CTO
|
Beta Was this translation helpful? Give feedback.
-
Most likely because softphone apps will use STUN to determine the public IPv4 address and place that in the REGISTER The sipsorcery library does have STUN functionality but it's not hooked up by default. Using STUN for setting the REGISTER |
Beta Was this translation helpful? Give feedback.
-
Aaron
Many thanks for your help.
One last question – I have access to your CallEnded event, but I wonder if it is possible to distinguish (in code)
between these two separate call end possibilities:
1. Caller gave up and put the phone down
2. Another user (on a parallel line in the hunt group) answered the call
??
Many thanks
Nick
Nick Williams
CTO
|
Beta Was this translation helpful? Give feedback.
-
Ahh sorry, my bad in describing…
The code I’m prototyping will be a quasi-softphone but I’m only interested in signalling, not media.. I’m not starting or answering any calls from this code –
This code will be set to “ring” in tandem with x number of real hardphones. That way I can pull call stats, etc.
Therefore, I can see when a ringing (inbound) call has stopped/ended, but would be good to know if it was answered by a hardphone, or whether the caller
gave up. Does that make more sense?
Thanks again for your prompt reply!
Nick
|
Beta Was this translation helpful? Give feedback.
-
Hi,
I am trying to write code to monitor a SIP line and parse the caller contact info only. I don't need to answer the call or extract any audio, just parse the header. I have been successful in getting a mash up of the samples to register with the SIP service and can place calls, but I cannot seem to get it to fire incoming call events when registered with voiptalk.org. Other softphones (eg. 3cx) respond to incoming calls. Any suggestions?
(As mentioned I am using a commercial web-based SIP service, not just running this on a local network)
Many thanks
Nick
Beta Was this translation helpful? Give feedback.
All reactions