<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello all, <br>
<br>
I'm going round and round in circles trying to integrate openSIPS
and asterisk using the tutorial found at:<br>
<br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a href="http://www.opensips.org/Resources/DocsTutAsterisk18">http://www.opensips.org/Resources/DocsTutAsterisk18</a><br>
<br>
I have managed to get openSIPS installed and starting without errors
using the configuration scripts included in the above tutorial. I
have also installed Asterisk 1.8 from the ubuntu repo and have
managed to get this working to. <br>
<br>
The problem comes when I follow the final section of the tutorial -
1.9 How to use it. <br>
<br>
I can do everything up to the "Test Voicemail" section where I am
trying to register my user using twinkle on a separate host. - I've
added the following to my /etc/hosts file on the twinkle client
machine:<br>
<br>
192.168.5.20 test.com test.com<br>
<br>
192...20 is the openSIPS server, with "test.com" being the domain
assigned to the new sip user, alice, created. I know that this
resolves perfectly... <br>
<br>
Whenever I try to register the user alice, I get the following error
from Asterisk: <br>
<br>
[Apr 13 19:45:47] ERROR[1706]: chan_sip.c:14798 register_verify:
Peer 'alice' is trying to register, but not configured as
host=dynamic<br>
[Apr 13 19:45:47] NOTICE[1706]: chan_sip.c:24905
handle_request_register: Registration from '"alice"
<a class="moz-txt-link-rfc2396E" href="mailto:sip:alice@swannsips.com"><sip:alice@swannsips.com></a>' failed for '192.168.5.10:5060' -
Peer is not supposed to register<br>
<br>
From looking at the Asterisk documentation I see that this *seems*
to be correct since we do not declare the new users with
"host=dynamic" in the database. <br>
<br>
Is this correct and the fact that the tutorial tells one to
"register" the user an error? Or is there clearly something else I
am missing? <br>
<br>
Any help on this would be greatly appreciated since I've spent the
better part of the last week trying to resolve this, including
trying to change the database layout itself to support
"host=dynamic" - see my post on the asterisk forum here:
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a href="http://forums.asterisk.org/viewtopic.php?f=1&t=86342">http://forums.asterisk.org/viewtopic.php?f=1&t=86342</a>
although that didn't really help much...<br>
<br>
Kind regards, <br>
<br>
Steven <br>
</body>
</html>