[Freeswitch-users] little problem with gateway registration
Anthony Minessale
anthony.minessale at gmail.com
Tue Feb 10 06:13:17 PST 2009
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 at ewetel.de>wrote:
> 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 at sip2.ewetel.net <sip%3Aippbx at sip2.ewetel.net>
> ;transport=udp>;tag=QrFtyDUrpg94N
> To: <sip:ippbx at sip2.ewetel.net <sip%3Aippbx at sip2.ewetel.net>
> ;transport=udp>
> Call-ID: 8bd8f32c-f759-11dd-bb38-778d64a5265f
> CSeq: 111011668 REGISTER
> Contact: <sip:gw+IPPBXSIPDDI at 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 at 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 at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090210/a09f3d7d/attachment-0001.html
More information about the Freeswitch-users
mailing list