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 <[email protected]>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:[email protected] <sip%[email protected]>
> ;transport=udp>;tag=QrFtyDUrpg94N
> To: <sip:[email protected] <sip%[email protected]>
> ;transport=udp>
> Call-ID: 8bd8f32c-f759-11dd-bb38-778d64a5265f
> CSeq: 111011668 REGISTER
> Contact: <sip:[email protected]: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
> [email protected]
> 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:[email protected] <msn%[email protected]>
GTALK/JABBER/PAYPAL:[email protected]<paypal%[email protected]>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:[email protected] <sip%[email protected]>
iax:[email protected]/888
googletalk:[email protected]<googletalk%3aconf%[email protected]>
pstn:213-799-1400
_______________________________________________
Freeswitch-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to