VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
david.villasmil.work a... Guest
|
Posted: Wed Mar 02, 2016 10:22 am Post subject: [Freeswitch-users] Registering and Calling on the same port. |
|
|
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
|
|
Back to top |
|
|
david.villasmil.work a... Guest
|
Posted: Wed Mar 02, 2016 11:07 am Post subject: [Freeswitch-users] Registering and Calling on the same port. |
|
|
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:
[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
|
|
Back to top |
|
|
|
|
|
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
|