[OpenSER-Users] Configuring for a UA Server

2008-02-11 Thread Eric Phetteplace
Hello, A little green here, looking for guidance. I have a simple UA server that can respond to invites. It will respond with a 302 (temp. moved) to free up 5060 for the next invite. It uses only TCP for RTP transport. I am trying to use OpenSER with RTPProxy to be a, well, RTP proxy.

[OpenSER-Users] Configuring for a UA Server

2008-02-11 Thread Eric Phetteplace
Hello, A little green here, looking for guidance. I have a simple UA server that can respond to invites. It will respond with a 302 (temp. moved) to free up 5060 for the next invite. It uses only TCP for RTP transport. I am trying to use OpenSER with RTPProxy to be a, well, RTP proxy.

Re: [OpenSER-Users] Compilation problem on Debian Stable/SPARC architexture

2008-02-11 Thread Schumann Sebastian
Hi Bogdan, alright, thanks. If you need more information about the machine or want me to try something else, please let me know. Best regards Sebastian From: Bogdan-Andrei Iancu Sent: Mo 2/11/2008 18:49 To: Schumann Sebastian Cc: users@lists.openser.org Subject: Re: [OpenSER-Users] Compilati

Re: [OpenSER-Users] Compilation problem on Debian Stable/SPARC architexture

2008-02-11 Thread Bogdan-Andrei Iancu
Hi Sebastian, I will investigate - on a first look, there are some strange things in the Makefile.. Regards, Bogdan Schumann Sebastian wrote: > Hi Bogdan, > > sure I can, could have thought about that in the first place myself. > Sorry for that, > > here the working output after starting ma

Re: [OpenSER-Users] [SOLVED]Logon prob when username is all numbers

2008-02-11 Thread Ali Jawad
I solved this one thanks..it was a UA related issue From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ali Jawad Sent: Monday, February 11, 2008 5:08 PM To: users@lists.openser.org Subject: [OpenSER-Users] Logon prob when username is all numbers Hi All When I logon using userna

[OpenSER-Users] Logon prob when username is all numbers

2008-02-11 Thread Ali Jawad
Hi All When I logon using usernames with letters all is fine when I logon using usernames all numbers I get the following error and the UA does not logon Registration Error: 501 Not Implemented This is my config http://pastebin.com/md7d0de4 It used to work with this config http

Re: [OpenSER-Users] sigsegv in module when running imported function

2008-02-11 Thread Henning Westerholt
On Monday 11 February 2008, Francisco Seratti wrote: > [..] > I cant find the core generated by openser. Where is > the default dir where this cores are saved? Hi, the core (if you enabled it) is generated in the working dir of openser if this is writeable by the process. If you don't specify a

Re: [OpenSER-Users] sigsegv in module when running imported function

2008-02-11 Thread Bogdan-Andrei Iancu
Hi Francisco, Please repost this on the correct email list which is "devel". Thanks and regards, Bogdan Francisco Seratti wrote: > Hello, > Im coding a module for my needs, and one of them is to > modify the SIP message after querying some db. > I decided to use the function replace_all() export

[OpenSER-Users] sigsegv in module when running imported function

2008-02-11 Thread Francisco Seratti
Hello, Im coding a module for my needs, and one of them is to modify the SIP message after querying some db. I decided to use the function replace_all() exported by the textops module, using the find_export() function declared in sr_module.h. The problem is that im getting a SIGSEGV when some child

Re: [OpenSER-Users] Mediaproxy not working (Solved)

2008-02-11 Thread Iñaki Baz Castillo
On Monday 11 February 2008 15:11:05 A.smith wrote: > have to read up on the onreply_option to fully understand it. In "on_reply_route[ ]" section you can modify the SIP replies to the SIP requests processed. But sure **the best** you can do is read the doc about it: http://www.openser.org/docs

Re: [OpenSER-Users] Mediaproxy not working (Solved)

2008-02-11 Thread A.smith
Hi Iñaki, thanks alot for the pointer, did a quick search for onreply_route and found this article: http://www.voip-info.org/wiki/view/OpenSER+And+Mediaproxy By using the route from this example and fixing it to use mediaproxy in all situations I finally have my RTP routing via the mediaproxy

Re: [OpenSER-Users] OpenSer and NAT

2008-02-11 Thread Iñaki Baz Castillo
On Monday 11 February 2008 13:55:35 Ali Jawad wrote: > Dear Iñaki > > Sorry for the phrasing, yes I meant in case of symmetric NAT would > mediaproxy solve the natting problem. I got the main idea, thanks a lot for > your help Yes, RTP/MediaProxy solution works with symmetric NAT ;) -- Iñaki Ba

Re: [OpenSER-Users] "lookup(location)" doesn't return -5 when "Contact" in blacklist

2008-02-11 Thread Iñaki Baz Castillo
On Monday 11 February 2008 13:54:31 Bogdan-Andrei Iancu wrote: > Hi Inaki, > > I think you made a small confusion here. t_relay() returns -5 and not > lookup() - so you need to check the return of t_relay after the lookup opsss, yep, sure it was a very stupid confusion of mine (I need a second co

Re: [OpenSER-Users] OpenSER 1.3 NAT Config Issues

2008-02-11 Thread Ali Jawad
Thanks Henning for the hint, I have read through the docs, can anyone please confirm my findings > modparam("nathelper", "rtpproxy_disable", 1) Should be modparam("nathelper", "rtpproxy_sock", "udp:localhost:25061") "If mediaproxy is running UDP on port 25061" And according to http://www.open

Re: [OpenSER-Users] OpenSER 1.3 NAT Config Issues

2008-02-11 Thread Henning Westerholt
On Monday 11 February 2008, Ali Jawad wrote: > Hi All I am trying to configure mediaproxy to be used with OpenSER 1.3 > following the tutorial from > > http://siprouter.onsip.org/doc/gettingstarted/ch08.html#id2660207 > > So far I got two errors > > modparam("nathelper", "rtpproxy_disable", 1) > >

[OpenSER-Users] OpenSER 1.3 NAT Config Issues

2008-02-11 Thread Ali Jawad
Hi All I am trying to configure mediaproxy to be used with OpenSER 1.3 following the tutorial from http://siprouter.onsip.org/doc/gettingstarted/ch08.html#id2660207 So far I got two errors modparam("nathelper", "rtpproxy_disable", 1) ERROR:core:set_mod_param_regex: parameter no

Re: [OpenSER-Users] OpenSer and NAT

2008-02-11 Thread Ali Jawad
Dear Iñaki Sorry for the phrasing, yes I meant in case of symmetric NAT would mediaproxy solve the natting problem. I got the main idea, thanks a lot for your help Thx -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Iñaki Baz Castillo Sent: Monday, Fe

Re: [OpenSER-Users] "lookup(location)" doesn't return -5 when "Contact" in blacklist

2008-02-11 Thread Bogdan-Andrei Iancu
Hi Inaki, I think you made a small confusion here. t_relay() returns -5 and not lookup() - so you need to check the return of t_relay after the lookup Regards, bogdan Iñaki Baz Castillo wrote: > Hi, I set: > > > --- > dst_blacklist = gw:{( any , GW_IP, 0

[OpenSER-Users] "lookup(location)" doesn't return -5 when "Contact" in blacklist

2008-02-11 Thread Iñaki Baz Castillo
Hi, I set: --- dst_blacklist = gw:{( any , GW_IP, 0 , "" )} [...] t_on_branch("ON_BRANCH_TO_USER"); if (!lookup("location")) { if ($rc == -5) xlog("L_WARN", "WARN: Fraudulent Contact !!! \n

Re: [OpenSER-Users] OpenSer and NAT

2008-02-11 Thread Iñaki Baz Castillo
On Monday 11 February 2008 13:04:35 Ali Jawad wrote: > Dear Iñaki > > Thanks for your quick reply, you have stated that STUN is transparent and > once applied OpenSER modules wont detect NAT and therefore wont act upon > the packets. You also said that both solution can work together. > Let's >

Re: [OpenSER-Users] OpenSer and NAT

2008-02-11 Thread Ali Jawad
Dear Iñaki Thanks for your quick reply, you have stated that STUN is transparent and once applied OpenSER modules wont detect NAT and therefore wont act upon the packets. You also said that both solution can work together. Let's suppose that STUN did not help a NAT client..in that case the pro

Re: [OpenSER-Users] OpenSer and NAT

2008-02-11 Thread Iñaki Baz Castillo
On Monday 11 February 2008 12:46:17 Ali Jawad wrote: > Hi All > > > > I was wondering about the rtpproxy and mediaproxy modules, if I do use > either of them to allow clients behind NAT to do VOIP calls does that > mean that I do not need to use a STUN server anymore ? > > Or should I use both a ST

Re: [OpenSER-Users] Missing "set_blacklist()" command in 1.3? [SOLVED]

2008-02-11 Thread Iñaki Baz Castillo
On Monday 11 February 2008 12:38:39 Iñaki Baz Castillo wrote: > Hi, I'm trying to use blacklist but don't find the function > "set_blacklist()" in OpenSer 1.3. I've done a full search in the code > without finding it. Has it a different name now? It seems to be "use_blacklist()" now :) More info:

[OpenSER-Users] OpenSer and NAT

2008-02-11 Thread Ali Jawad
Hi All I was wondering about the rtpproxy and mediaproxy modules, if I do use either of them to allow clients behind NAT to do VOIP calls does that mean that I do not need to use a STUN server anymore ? Or should I use both a STUN server and the rtp proxy ? What would provide the best solu

[OpenSER-Users] Missing "set_blacklist()" command in 1.3?

2008-02-11 Thread Iñaki Baz Castillo
Hi, I'm trying to use blacklist but don't find the function "set_blacklist()" in OpenSer 1.3. I've done a full search in the code without finding it. Has it a different name now? Thanks. -- Iñaki Baz Castillo [EMAIL PROTECTED] ___ Users mailing list

Re: [OpenSER-Users] Compilation problem on Debian Stable/SPARC architexture

2008-02-11 Thread Schumann Sebastian
Hi Bogdan, sure I can, could have thought about that in the first place myself. Sorry for that, here the working output after starting make without debug mode: netra120:/usr/local/src/openser# make prefix=/usr/local all Compiling blacklists.c gcc -g -O9 -funroll-loops -Wall -mcpu=ultrasparc -mtu

Re: [OpenSER-Users] [OpenSER-Devel] Implemented RFCs

2008-02-11 Thread Jerome Martin
Actually, both methods can be better understood by looking at the "FOO" RFC (take a look at RFC3092 : http://www.ietf.org/rfc/rfc3092.txt) Also, FOOBAR is referenced by RFC 2577, ("FTP Operation Over Big Address Records") and explained in RFC 1639 (http://rfc.dotsrc.org/rfc/rfc1639.html). Have

Re: [OpenSER-Users] Start of 2 opensers with same config and mi_datagram deletes socket file

2008-02-11 Thread Bogdan-Andrei Iancu
Hi Helmut, are you using the same socket name for both openser's ? Regards, Bogdan Helmut Kuper wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi, > > I found that starting a 2nd openser with same config as a already > running openser on same machine and using module mi_datagram de

[OpenSER-Users] Start of 2 opensers with same config and mi_datagram deletes socket file

2008-02-11 Thread Helmut Kuper
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I found that starting a 2nd openser with same config as a already running openser on same machine and using module mi_datagram deletes the socket file of the already running openser process. This is very bad when u use openser as a frontend for s