<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Apenk,<br>
<br>
Better try to get a SIP capture (use ngrep) to see who is generating
the "invalid destination" reply - it is directly from the phone, it
is from opensips ?<br>
<br>
Regards,<br>
Bogdan<br>
<br>
On 04/10/2012 08:53 AM, Apenk wrote:
<blockquote
cite="mid:CALr+4Q3w=08Fnwn0TsXe2BZh=bM_NxOJcaa3tvPHLcZTRRQV=g@mail.gmail.com"
type="cite">Hi,<br>
<br>
I've tried Bogdan's advice, and it worked.<br>
<br>
> For the nathelper module to know which RTPproxies to talk
with, you need<br>
> to provision the RTPproxies in DB, in the nh_sockets table.<br>
> In your case, do :<br>
> insert into nh_sockets (rtpproxy_sock, set_id) values<br>
> ("udp:<a moz-do-not-send="true" href="http://127.0.0.1:7890">127.0.0.1:7890</a>",0)
;<br>
<br>
Opensips could start, the clients could register themself, but
there's another problem. The clients could not call each other. I
used jitsi softphone, and it said 'invalid destination'.<br>
<br>
I know it's the database that have the problem, because when I
tried to use the database from Opensips 1.6 Live CD that problem
didn't occur. Then I tried to look at the log, well, I couldn't
figure it out.<br>
<br>
This was the database that I used.<br>
<a moz-do-not-send="true" href="http://pastebin.com/bzbg50zg">http://pastebin.com/bzbg50zg</a><br>
<br>
These are the log and my config.<br>
<a moz-do-not-send="true" href="http://pastebin.com/00Jj455E">http://pastebin.com/00Jj455E</a><br>
<a moz-do-not-send="true" href="http://pastebin.com/pAqpCeBZ">http://pastebin.com/pAqpCeBZ</a><br>
<br>
Honestly, I'm feeling kind of frustrated here. Haha.<br>
<br>
Thanks.<br>
<br>
Kind regards,<br>
Apenk Satria<br>
<br>
> I'm trying to make opensips work with nathelper and rtpproxy.<br>
> I used opensips 1.6.3-no-tls, compiled it with all the needed
modules.<br>
> I also used the same config (modified module path & ip
address) as the<br>
> working Opensips 1.6 Live CD.<br>
><br>
> But everytime I tried to start opensips, it failed. It said
that<br>
> opensips failed to initialize module nathelper. This one is
the error log.<br>
> <a moz-do-not-send="true"
href="http://pastebin.com/be2CRD3R">http://pastebin.com/be2CRD3R</a><br>
><br>
> The rtpproxy was up, of course. I used netstat.<br>
> udp<br>
0<br>
0 <a moz-do-not-send="true" href="http://127.0.0.1:7890">127.0.0.1:7890</a>
<<a moz-do-not-send="true" href="http://127.0.0.1:7890">http://127.0.0.1:7890</a>><br>
> 0.0.0.0:*<br>
1595/rtpproxy<br>
><br>
> I know there's no one to debug except me. But, just in case,
these are<br>
> my config file and my modules list.<br>
> <a moz-do-not-send="true"
href="http://pastebin.com/pAqpCeBZ">http://pastebin.com/pAqpCeBZ</a><br>
> <a moz-do-not-send="true"
href="http://pastebin.com/J4EVKGhN">http://pastebin.com/J4EVKGhN</a><br>
><br>
> Is there something wrong with the nathelper module?<br>
<br>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
</body>
</html>