Hi Apenk,
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 ?
Regards,
Bogdan
On 04/10/2012 08:53 AM, Apenk wrote:
Hi,
I've tried Bogdan's advice, and it worked.
> For the nathelper module to know which RTPproxies to talk with, you need
> to provision the RTPproxies in DB, in the nh_sockets table.
> In your case, do :
> insert into nh_sockets (rtpproxy_sock, set_id) values
> ("udp:127.0.0.1:7890 <http://127.0.0.1:7890>",0) ;
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'.
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.
This was the database that I used.
http://pastebin.com/bzbg50zg
These are the log and my config.
http://pastebin.com/00Jj455E
http://pastebin.com/pAqpCeBZ
Honestly, I'm feeling kind of frustrated here. Haha.
Thanks.
Kind regards,
Apenk Satria
> I'm trying to make opensips work with nathelper and rtpproxy.
> I used opensips 1.6.3-no-tls, compiled it with all the needed modules.
> I also used the same config (modified module path & ip address) as the
> working Opensips 1.6 Live CD.
>
> But everytime I tried to start opensips, it failed. It said that
> opensips failed to initialize module nathelper. This one is the
error log.
> http://pastebin.com/be2CRD3R
>
> The rtpproxy was up, of course. I used netstat.
> udp
0
0 127.0.0.1:7890 <http://127.0.0.1:7890> <http://127.0.0.1:7890>
> 0.0.0.0:*
1595/rtpproxy
>
> I know there's no one to debug except me. But, just in case, these are
> my config file and my modules list.
> http://pastebin.com/pAqpCeBZ
> http://pastebin.com/J4EVKGhN
>
> Is there something wrong with the nathelper module?
--
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users