Hi,
I installed local version 0.2 and everything is fine except registrations.xml.
I configured registrations.xml as per below:
<registrations>
<!--<registration owner='user'>
<username>80702655</username>
<password>xxxx</password>
<registrar>59.37.72.114</registrar>
<realm/>
<expiry>3600</expiry>
<contact>sip:80702655@192.168.1.104</contact>
</registration>-->
</registrations>
the registration does not work after I started sipswitchconsole and the log is as per below, could somebody help me. thanks
sipswitch starting
Starting logging initialisation.
Logging initialised.
version=0.2.1.
pid=1356.
os=Microsoft Windows NT 5.1.2600 Service Pack 3.
path=file:\D:\sipswitch\sipswitch.
localdirectory=D:\sipswitch\sipswitch.
SIPChannel socket on 192.168.1.104:5060 listening started.
SIP Channel listener created 192.168.1.104:5060.
SIPChannel socket on 192.168.1.104:5085 listening started.
SIP Channel listener created 192.168.1.104:5085.
The proxy console monitor was successfully started on 192.168.1.104:11005.
ProxyMonitor listening for clients on 192.168.1.104:11005.
STUNListener created 192.168.1.104:3348.
Attempting to obtain random seed from random.org, timeout is 3s.
Random seed retrieved from random.org = 797726083.
STUN Server additional sockets, primary=192.168.1.104:18725, secondary=192.168.1
.104:20811.
STUN server successfully initialised.
Starting file watch on D:\sipswitch\sipswitch and registrar.xml.
Registrar realm added: 192.168.1.104.
alias added: *.
alias added: Any unrecognised realms in a REGISTER request will be accepted an
d replaced with the parent element realm for this alias. Only applicable for REG
ISTER requests..
alias added: 192.168.1.104.
alias added: 192.168.1.104:5060.
alias added: 192.168.1.104:5085.
SIP Registrar successfully initialised.
SIPChannel socket on 192.168.1.104:11006 listening started.
SIP Channel listener created 192.168.1.104:11006.
NATKeepAlive Relay instantiated on 192.168.1.104:11006.
NATKeepAlives for SIP Registrar enabled, endpoint is 192.168.1.104:11006.
0 third party registrations found.
SIPRegistrationAgent thread started.
Starting file watch on D:\sipswitch\sipswitch and registrations.xml.
Registration agent started.
Starting file watch on D:\sipswitch\sipswitch and dialplans.xml.
Proxy logging to the database was not enabled as no connection string was specif
ied.
SIP Proxy web service was successfully started on http://192.168.1.104:8080/.
help with registrations.xml
Hi,
Did you put the comments <!-- --> on your XML too?
They must not be there! The code between <!-- and --> will never be interpreted. In the default registrations.xml file we used that to provide an example.
Try with:
<registrations>
<registration owner='user'>
<username>80702655</username>
<password>xxxx</password>
<registrar>59.37.72.114</registrar>
<realm/>
<expiry>3600</expiry>
<contact>sip:80702655@192.168.1.104</contact>
</registration>
</registrations>
HTH
Guillaume
Did you put the comments <!-- --> on your XML too?
They must not be there! The code between <!-- and --> will never be interpreted. In the default registrations.xml file we used that to provide an example.
Try with:
<registrations>
<registration owner='user'>
<username>80702655</username>
<password>xxxx</password>
<registrar>59.37.72.114</registrar>
<realm/>
<expiry>3600</expiry>
<contact>sip:80702655@192.168.1.104</contact>
</registration>
</registrations>
HTH
Guillaume
Blueface [url=http://www.blueface.ie/]Phone[/url] Service