Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[Freeswitch-users] little problem with gateway registration


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
helmut.kuper at ewetel.de
Guest





PostPosted: Tue Feb 10, 2009 5:16 am    Post subject: [Freeswitch-users] little problem with gateway registration Reply with quote

Hello,

today I connected FS to my SIP-DDI SoftSwitch. It registered
successfully, but not as expected at the register-proxy
(sip2.ewetel.net), but at the proxy (proxy2.ewetel.net).

My gateway config is this:

<include>
<gateway name="IPPBXSIPDDI">

<!--/// account username *required* ///-->
<param name="username" value="ippbx"/>

<!--/// auth realm: *optional* same as gateway name, if blank ///-->
<param name="realm" value="sip2.ewetel.net"/>

<!--/// domain to use in from: *optional* same as realm, if blank
///-->
<param name="from-domain" value="sip2.ewetel.net"/>

<!--/// account password *required* ///-->
<param name="password" value="XXXXX"/>

<!--/// proxy host: *optional* same as realm, if blank ///-->
<param name="proxy" value="proxy2.ewetel.net"/>

<!--/// send register to this proxy: *optional* same as proxy, if
blank ///-->
<param name="register-proxy" value="sip2.ewetel.net"/>

<!--/// expire in seconds: *optional* 3600, if blank ///-->
<param name="expire-seconds" value="60"/>

<!--How many seconds before a retry when a failure or timeout occurs -->
<param name="retry-seconds" value="30"/>

</gateway>
</include>


The corresponding register request generated by FS is this:

REGISTER sip:proxy2.ewetel.net;transport=udp SIP/2.0
Via: SIP/2.0/UDP 85.16.246.22;branch=z9hG4bK2FNpmSQHpZtye
Via: SIP/2.0/UDP 85.16.246.6:5070;received=85.16.246.6;rport=5070;branch=z9hG4bK2FNpmSQHpZtye
Max-Forwards: 69
From: <sip:ippbx@sip2.ewetel.net;transport=udp>;tag=QrFtyDUrpg94N
To: <sip:ippbx@sip2.ewetel.net;transport=udp>
Call-ID: 8bd8f32c-f759-11dd-bb38-778d64a5265f
CSeq: 111011668 REGISTER
Contact: <sip:gw+IPPBXSIPDDI@85.16.246.6:5070;transport=udp>
Expires: 60
User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-11698M
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO
Supported: timer, precondition, path, replaces
Authorization: Digest username="ippbx", realm="sip2.ewetel.net", nonce="4991527400000e269de527c4c699b9466bbf1e015cd0532c", cnonce="HE1PznH9Eiyb4QAUT+bjMA", algorithm=MD5, uri="sip:proxy2.ewetel.net;transport=udp", response="b5af17310919ec6b8f82acd4c89ffb9e", qop=auth, nc=00000001
Content-Length: 0


Shouldn't it register to register-proxy when it is given?

regards
Helmut

_______________________________________________
Freeswitch-users mailing list
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
Back to top
anthony.minessale at g...
Guest





PostPosted: Tue Feb 10, 2009 9:17 am    Post subject: [Freeswitch-users] little problem with gateway registration Reply with quote

register-proxy is for where it actually sends the packet but it will still say the name of proxy in the packet.
Did you check the destination address of the packet it should end up as the ip:port of that proxy.


On Tue, Feb 10, 2009 at 4:12 AM, Helmut Kuper <helmut.kuper@ewetel.de (helmut.kuper@ewetel.de)> wrote:
Quote:
Hello,

today I connected FS to my SIP-DDI SoftSwitch. It registered
successfully, but not as expected at the register-proxy
(sip2.ewetel.net), but at the proxy (proxy2.ewetel.net).

My gateway config is this:

<include>
<gateway name="IPPBXSIPDDI">

<!--/// account username *required* ///-->
<param name="username" value="ippbx"/>

<!--/// auth realm: *optional* same as gateway name, if blank ///-->
<param name="realm" value="sip2.ewetel.net"/>

<!--/// domain to use in from: *optional* same as realm, if blank
///-->
<param name="from-domain" value="sip2.ewetel.net"/>

<!--/// account password *required* ///-->
<param name="password" value="XXXXX"/>

<!--/// proxy host: *optional* same as realm, if blank ///-->
<param name="proxy" value="proxy2.ewetel.net"/>

<!--/// send register to this proxy: *optional* same as proxy, if
blank ///-->
<param name="register-proxy" value="sip2.ewetel.net"/>

<!--/// expire in seconds: *optional* 3600, if blank ///-->
<param name="expire-seconds" value="60"/>

<!--How many seconds before a retry when a failure or timeout occurs -->
<param name="retry-seconds" value="30"/>

</gateway>
</include>


The corresponding register request generated by FS is this:

REGISTER sip:proxy2.ewetel.net;transport=udp SIP/2.0
Via: SIP/2.0/UDP 85.16.246.22;branch=z9hG4bK2FNpmSQHpZtye
Via: SIP/2.0/UDP 85.16.246.6:5070;received=85.16.246.6;rport=5070;branch=z9hG4bK2FNpmSQHpZtye
Max-Forwards: 69
From: <sip:ippbx@sip2.ewetel.net ([email]sip%3Aippbx@sip2.ewetel.net[/email]);transport=udp>;tag=QrFtyDUrpg94N
To: <sip:ippbx@sip2.ewetel.net ([email]sip%3Aippbx@sip2.ewetel.net[/email]);transport=udp>
Call-ID: 8bd8f32c-f759-11dd-bb38-778d64a5265f
CSeq: 111011668 REGISTER
Contact: <sip:gw+IPPBXSIPDDI@85.16.246.6:5070;transport=udp>
Expires: 60
User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-11698M
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO
Supported: timer, precondition, path, replaces
Authorization: Digest username="ippbx", realm="sip2.ewetel.net", nonce="4991527400000e269de527c4c699b9466bbf1e015cd0532c", cnonce="HE1PznH9Eiyb4QAUT+bjMA", algorithm=MD5, uri="sip:proxy2.ewetel.net;transport=udp", response="b5af17310919ec6b8f82acd4c89ffb9e", qop=auth, nc=00000001
Content-Length: 0


Shouldn't it register to register-proxy when it is given?

regards
Helmut

_______________________________________________
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



--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
Back to top
helmut.kuper at ewetel.de
Guest





PostPosted: Wed Feb 11, 2009 5:24 am    Post subject: [Freeswitch-users] little problem with gateway registration Reply with quote

Hi Anthony,

well currently both ip addresses and ports (of proxy and registrar) are
the same. And it works good as it is now. Smile

regards
Helmut

On 10.02.2009 15:13, Anthony Minessale wrote:
Quote:
register-proxy is for where it actually sends the packet but it will
still say the name of proxy in the packet.
Did you check the destination address of the packet it should end up
as the ip:port of that proxy.



_______________________________________________
Freeswitch-users mailing list
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
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