[Freeswitch-users] little problem with gateway registration
Helmut Kuper
helmut.kuper at ewetel.de
Tue Feb 10 02:12:14 PST 2009
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;transport=udp>;tag=QrFtyDUrpg94N
To: <sip:ippbx 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
More information about the Freeswitch-users
mailing list