petr4ppc Well-Known Member Licensed User Longtime User Jan 19, 2017 #1 Dear friends, I set B4X: Sip.Initialize2("SIP", "hallo@192.168.1.5", "") Sip.Port=5060 Sip.Register or Sip.Initialize2("SIP", "hallo@192.168.1.5:5060", "") Sip.Register but this code cant set the port to 5060 please, why it is happen? Thank you very much p4ppc Last edited: Jan 19, 2017
Dear friends, I set B4X: Sip.Initialize2("SIP", "hallo@192.168.1.5", "") Sip.Port=5060 Sip.Register or Sip.Initialize2("SIP", "hallo@192.168.1.5:5060", "") Sip.Register but this code cant set the port to 5060 please, why it is happen? Thank you very much p4ppc
Erel B4X founder Staff member Licensed User Longtime User Jul 25, 2017 #21 You are confusing the server port and the client port. You cannot set the client port. Upvote 0
petr4ppc Well-Known Member Licensed User Longtime User Jul 25, 2017 #22 Erel, thank you very much for your answer. But I see that other mobile apps can hold the client port, its true? How they do it? Exist some way how to do it wit b4a? Best regards p4ppc Upvote 0
Erel, thank you very much for your answer. But I see that other mobile apps can hold the client port, its true? How they do it? Exist some way how to do it wit b4a? Best regards p4ppc
Erel B4X founder Staff member Licensed User Longtime User Jul 25, 2017 #23 Android SIP API doesn't allow you to set the client port. Upvote 0
petr4ppc Well-Known Member Licensed User Longtime User Jul 25, 2017 #24 Thank you EREL for your time and answer. Best regards p4ppc Upvote 0