Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Registering and Calling on the same port.


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
david.villasmil.work a...
Guest





PostPosted: Wed Mar 02, 2016 10:22 am    Post subject: [Freeswitch-users] Registering and Calling on the same port. Reply with quote

Hello guys,

It was my understanding that if I:


- create a profile with, i.e.: por 5009
- create a gateway on that profile


both REGISTERs and INVITES going out would use the same (5009) port?


Because I am not seeing this behaviour.


Thanks all!




David

[img]https://mailfoogae.appspot.com/t?sender=aZGF2aWQudmlsbGFzbWlsLndvcmtAZ21haWwuY29t&type=zerocontent&guid=1b198728-619d-4dbb-a2fd-df8c07e0bb5c[/img]ᐧ
Back to top
brian at freeswitch.org
Guest





PostPosted: Wed Mar 02, 2016 10:34 am    Post subject: [Freeswitch-users] Registering and Calling on the same port. Reply with quote

If you're not seeing this then you've got a NAT issue possibly.

On Wed, Mar 2, 2016 at 9:20 AM, David Villasmil <david.villasmil.work@gmail.com (david.villasmil.work@gmail.com)> wrote:
Quote:
Hello guys,

It was my understanding that if I:


- create a profile with, i.e.: por 5009
- create a gateway on that profile


both REGISTERs and INVITES going out would use the same (5009) port?


Because I am not seeing this behaviour.


Thanks all!




David

[img]https://mailfoogae.appspot.com/t?sender=aZGF2aWQudmlsbGFzbWlsLndvcmtAZ21haWwuY29t&type=zerocontent&guid=1b198728-619d-4dbb-a2fd-df8c07e0bb5c[/img]ᐧ

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@freeswitch.org)
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org




--

Brian West
brian@freeswitch.org (brian@freeswitch.org)


Twitter: @FreeSWITCH , @briankwest
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com
Got Bugs? Report them here! | Reddit: /r/freeswitch
T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378)
iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest
Back to top
david.villasmil.work a...
Guest





PostPosted: Wed Mar 02, 2016 11:07 am    Post subject: [Freeswitch-users] Registering and Calling on the same port. Reply with quote

Hello Brian, 

Thanks for replying. Actually I'm tracing on the box itself, done with ngrep


The register:


T 10.0.160.3:35841 -> 1.2.3.4:5060 [AP]
REGISTER sip:mydomain.com;transport=tcp SIP/2.0.


T 1.2.3.4:5060 -> 10.0.160.3:35841 [AP]
SIP/2.0 200 OK.




The Call:


U 10.0.160.3:5111 -> 1.2.3.4:5060
INVITE sip:2325201@mydomain.com ([email]sip%3A2325201@mydomain.com[/email]) SIP/2.0.


U 1.2.3.4:5060 -> 10.0.160.3:5111
SIP/2.0 100 Trying.


U 1.2.3.4:5060 -> 10.0.160.3:5111
SIP/2.0 403 Forbidden.


U 10.0.160.3:5111 -> 1.2.3.4:5060
ACK sip:2325201@mydomain.com ([email]sip%3A2325201@mydomain.com[/email]) SIP/2.0.








the profile:




...
    <param name="sip-port" value="5111"/>

...


The gateway:


  <gateways>
        <gateway name="whatever">
                <param name="username" value="whatever"/>
                <param name="realm" value="mydomain"/>
                <param name="password" value="password"/>
                <param name="extension" value="auto_to_user"/>
                <param name="context" value="public"/>
                <param name="proxy" value="mydomain"/>
                <param name="register" value="true"/>
                <param name="register-transport" value="tcp"/>
                <param name="retry-seconds" value="15"/>
<param name="from-domain" value="mydomain"/>
        </gateway>
  </gateways>





Am I doing something wrong?


Regards,




David






 
On Wed, Mar 2, 2016 at 4:32 PM, Brian West <brian@freeswitch.org (brian@freeswitch.org)> wrote:
Quote:
If you're not seeing this then you've got a NAT issue possibly.

On Wed, Mar 2, 2016 at 9:20 AM, David Villasmil <david.villasmil.work@gmail.com (david.villasmil.work@gmail.com)> wrote:


Quote:
Hello guys,

It was my understanding that if I:


- create a profile with, i.e.: por 5009
- create a gateway on that profile


both REGISTERs and INVITES going out would use the same (5009) port?


Because I am not seeing this behaviour.


Thanks all!




David

[img]https://mailfoogae.appspot.com/t?sender=aZGF2aWQudmlsbGFzbWlsLndvcmtAZ21haWwuY29t&type=zerocontent&guid=1b198728-619d-4dbb-a2fd-df8c07e0bb5c[/img]ᐧ



_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@freeswitch.org)
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org




--

Brian West
brian@freeswitch.org (brian@freeswitch.org)


Twitter: @FreeSWITCH , @briankwest
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com
Got Bugs? Report them here! | Reddit: /r/freeswitch
T:[url=tel:%2B19184209001]+19184209001[/url] | F:[url=tel:%2B19184209002]+19184209002[/url] | M:+1918424WEST (9378)
iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest











_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@freeswitch.org)
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org




[img]https://mailfoogae.appspot.com/t?sender=aZGF2aWQudmlsbGFzbWlsLndvcmtAZ21haWwuY29t&type=zerocontent&guid=a74e2e37-1c49-4d68-9337-edda1f062619[/img]ᐧ
Back to top
brian at freeswitch.org
Guest





PostPosted: Wed Mar 02, 2016 12:00 pm    Post subject: [Freeswitch-users] Registering and Calling on the same port. Reply with quote

Need full sip trace, not slimmed down traces.

On Wed, Mar 2, 2016 at 10:04 AM, David Villasmil <david.villasmil.work@gmail.com (david.villasmil.work@gmail.com)> wrote:
Quote:
Hello Brian, 

Thanks for replying. Actually I'm tracing on the box itself, done with ngrep


The register:


T 10.0.160.3:35841 -> 1.2.3.4:5060 [AP]
REGISTER sip:mydomain.com;transport=tcp SIP/2.0.


T 1.2.3.4:5060 -> 10.0.160.3:35841 [AP]
SIP/2.0 200 OK.




The Call:


U 10.0.160.3:5111 -> 1.2.3.4:5060
INVITE sip:2325201@mydomain.com ([email]sip%3A2325201@mydomain.com[/email]) SIP/2.0.


U 1.2.3.4:5060 -> 10.0.160.3:5111
SIP/2.0 100 Trying.


U 1.2.3.4:5060 -> 10.0.160.3:5111
SIP/2.0 403 Forbidden.


U 10.0.160.3:5111 -> 1.2.3.4:5060
ACK sip:2325201@mydomain.com ([email]sip%3A2325201@mydomain.com[/email]) SIP/2.0.








the profile:




...
    <param name="sip-port" value="5111"/>

...


The gateway:


  <gateways>
        <gateway name="whatever">
                <param name="username" value="whatever"/>
                <param name="realm" value="mydomain"/>
                <param name="password" value="password"/>
                <param name="extension" value="auto_to_user"/>
                <param name="context" value="public"/>
                <param name="proxy" value="mydomain"/>
                <param name="register" value="true"/>
                <param name="register-transport" value="tcp"/>
                <param name="retry-seconds" value="15"/>
<param name="from-domain" value="mydomain"/>
        </gateway>
  </gateways>





Am I doing something wrong?


Regards,




David






 
On Wed, Mar 2, 2016 at 4:32 PM, Brian West <brian@freeswitch.org (brian@freeswitch.org)> wrote:
Quote:
If you're not seeing this then you've got a NAT issue possibly.

On Wed, Mar 2, 2016 at 9:20 AM, David Villasmil <david.villasmil.work@gmail.com (david.villasmil.work@gmail.com)> wrote:


Quote:
Hello guys,

It was my understanding that if I:


- create a profile with, i.e.: por 5009
- create a gateway on that profile


both REGISTERs and INVITES going out would use the same (5009) port?


Because I am not seeing this behaviour.


Thanks all!




David

[img]https://mailfoogae.appspot.com/t?sender=aZGF2aWQudmlsbGFzbWlsLndvcmtAZ21haWwuY29t&type=zerocontent&guid=1b198728-619d-4dbb-a2fd-df8c07e0bb5c[/img]ᐧ



_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@freeswitch.org)
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org




--

Brian West
brian@freeswitch.org (brian@freeswitch.org)


Twitter: @FreeSWITCH , @briankwest
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com
Got Bugs? Report them here! | Reddit: /r/freeswitch
T:[url=tel:%2B19184209001]+19184209001[/url] | F:[url=tel:%2B19184209002]+19184209002[/url] | M:+1918424WEST (9378)
iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest











_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@freeswitch.org)
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org






[img]https://mailfoogae.appspot.com/t?sender=aZGF2aWQudmlsbGFzbWlsLndvcmtAZ21haWwuY29t&type=zerocontent&guid=a74e2e37-1c49-4d68-9337-edda1f062619[/img]ᐧ

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@freeswitch.org)
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org




--

Brian West
brian@freeswitch.org (brian@freeswitch.org)


Twitter: @FreeSWITCH , @briankwest
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com
Got Bugs? Report them here! | Reddit: /r/freeswitch
T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378)
iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services