hi Christoffer!
Please always cc to the list.
Christoffer Soop wrote:
> Thank you very much! This is more than enough to get me started.
>
> One small remaining question though:
>
> Klaus Darilion wrote:
>
>>>- after the session with the remote proxy has been set up OpenSER either
>>>works as proxy between the client and the remote proxy, or better
>>>transfers the session to the client
>>
>>If you use record_route your proxy stays inbetween the client and the
>>PSTN GW. If not, your proxy stays out of the folowing conversations. But
>>you will loose the ability to account BYE messages, and will have
>>problem when doing NAT traversal.
>
> In my scenario our proxy is the only one which should be able to
> authenticate to the PSTN gateway. If the client talks directly to the
> PSTN gateway will it have to re-supply the credentials?
There are different credentials:
1. The credentials between your SIP proxy and your clients.
2. The credentials needed to authenticate to the remote proxy/GW.
Digest authentication is normally used between clients and proxies.
Thus, if you want to be standard conform, the clients would need
additional credentials (a second set of realm/username/password) to
authenticate also against the GW. But this is not supported by most
clients, and you also do not want to give the GW credentials to you clients.
The problem arises when using digest authentication between proxies.
This is usually not possible. You would need a B2BUA, which receives the
calls from your clients, and forward them to the GW with proper
credentials. openser includes the uac module which can be used for this,
but you might experience problems using this module as it is not
standard conform.
Another way to authentication against the GW would be with TLS or based
on IP addresses (do not use UDP here as it can be spoofed easily).
regards
klaus
hi ,
Iam new to SER Iam tryied to srart SER but i got errors like
this if anybody knows solution please help me.
1.[root@localhost sbin]# serctl start
Starting SER : PID file /var/run/ser.pid does not exist -- SER
start failed
2. [root@localhost sbin]# serctl domain add homwlabs.mirl.net
MySql password:
/usr/local/sbin/serctl: line 407: mysql: command not found
SQL Error
3.[root@localhost sbin]# ser_mysql.sh create
MySql password for root:
creating database ser ...
/usr/local/sbin/ser_mysql.sh: line 89: mysql: command not found
Thanks and Regards
Subbanarasa Reddy.
so, the problem is for INVITEs?
bogdan
harry gaillac wrote:
>Hello,
>
>In fact I have this configuration
>
> Asterisk
> ||
>------ppp0[ SER+nathelper+rtpproxy ] eth0---------sip
>agents
>
>I told to the lists the last week I wish to use SER as
>outbound proxy .
>I can't rewrite contact with ppp0's address !
>
>Regards
>Harry
>
>--- Bogdan-Andrei Iancu <bogdan(a)voice-system.ro> a
>écrit :
>
>
>
>>Hi Harry,
>>
>>maybe you are mixing fix_nated_contact() with
>>fix_nated_sdp() ??
>>
>>regards,
>>bogdan
>>
>>harry gaillac wrote:
>>
>>
>>
>>>Hello,
>>>
>>>I read nathelper documentation for
>>>
>>>
>>fix_nated_contact()
>>
>>
>>>function.
>>>We can read:" Rewrites Contact HF to contain
>>>
>>>
>>request's
>>
>>
>>>source address:port."
>>>
>>>However when I use this function for nated agents
>>>
>>>
>>it's
>>
>>
>>>not the contact field in sip hf but the connection
>>>information in sdp which is rewritten.
>>>
>>>Could you check it ?
>>>
>>>Harry
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>___________________________________________________________________________
>>
>>
>>
>>>Appel audio GRATUIT partout dans le monde avec le
>>>
>>>
>>nouveau Yahoo! Messenger
>>
>>
>>>Téléchargez cette version sur
>>>
>>>
>>http://fr.messenger.yahoo.com
>>
>>
>>>_______________________________________________
>>>Users mailing list
>>>Users(a)openser.org
>>>http://openser.org/cgi-bin/mailman/listinfo/users
>>>
>>>
>>>
>>>
>>>
>>
>>
>
>
>
>
>
>
>___________________________________________________________________________
>Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
>Téléchargez cette version sur http://fr.messenger.yahoo.com
>
Please copy the list.
if(!lookup("location_internal")) {
if(!lookup("location_external")) {
# Not found
}
}
g-)
----- Original Message -----
From: "Joao Pereira" <joao.pereira(a)fccn.pt>
To: "Greger V. Teigre" <greger(a)teigre.com>
Sent: Saturday, November 26, 2005 3:36 PM
Subject: Re: [Serusers] outbound proxy tables
> But if they are two instances of the location table... when SER is
> checking if a user is online and searches the location table, it will fail
> to find the users in the location_internal and location_external tables.
> Maybe SER needs a special tunning to search the 3 tables...
>
> Joao
>
>
> Greger V. Teigre wrote:
>> I have never tried that example, but I assume they are just two other
>> instances of the location table.
>> g-)
>> ----- Original Message ----- From: "Joao Pereira" <joao.pereira(a)fccn.pt>
>> To: <serusers(a)lists.iptel.org>
>> Sent: Friday, November 25, 2005 7:40 PM
>> Subject: [Serusers] outbound proxy tables
>>
>>
>>> Hello to all
>>> I have SER configured as a multihomed outbound proxy, like in this page:
>>>
>>> http://www.voip-info.org/wiki/index.php?page=SER+example+outboundproxy
>>>
>>> In this configuration, SER puts users in diferent tables:
>>>
>>> if (dst_ip == 192.168.0.1) { if (!save("location_internal")) {
>>> (...)
>>>
>>> Does someone have these tables?
>>> The page says
>>> "For this example to work, you must also follow the nathelper module
>>> instructions for creating new location_internal and location_external
>>> tables. Be careful to use underscores ("_") and not hyphens ("-") when
>>> creating the new tables."
>>>
>>> But I cant find these tables .... Does someone have them???
>>>
>>> Thanks
>>> Joao
>>>
>>> _______________________________________________
>>> Serusers mailing list
>>> serusers(a)lists.iptel.org
>>> http://lists.iptel.org/mailman/listinfo/serusers
>>>
>>
>
Hello,
I read nathelper documentation for fix_nated_contact()
function.
We can read:" Rewrites Contact HF to contain request's
source address:port."
However when I use this function for nated agents it's
not the contact field in sip hf but the connection
information in sdp which is rewritten.
Could you check it ?
Harry
___________________________________________________________________________
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
Téléchargez cette version sur http://fr.messenger.yahoo.com
Hi
We are trying to configure OpenSer as Redirect Server. Can anyone provide me
with a configuration file that explains what options we have in OpenSer to
configure it as redirect server.
With Regards
Ajay
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Folks,
I'm using SER in a carrier grade mode and I need to create an interface (GUI) to
our support team run SIP traces in our SER box.
I think I have an idea to solve that problem but I don't know if it's the best
one, follow the idea:
SERVER (SER)
1 - Run an application in daemon mode using libpcap to capture traffic on port 5060
- listening on a TCP port
- capture traffic all the time
- push all captured traffic to that TCP port (any one who connect/telnet on
that port can see the traffic - without authentication by now)
CLIENT (GUI)
2 - Developed using JAVA || PHP-GTK || C++ || ....
- Connect to remote port to listen the traffic
- Can filter what do you want to see (show only filtered traffic or all)
- Colorized matches
- Can save the result of your dump/filter to a file
- etc
So I did a concept proof...
1 - Wrote a simple server program using Perl who run ngrep in SER box and push
the captured traffic through it's listening TCP port;
2 - Wrote a simple client program using Perl who connect to a remote port and
filter what you want to see or all the traffic;
..and works like a charm :-)
I'd like to hear opnions from SER members about the idea.
Best regards,
- --
============================================
Rodrigo P. Telles <telles(a)devel.it>
IT Manager
Devel-IT - http://www.devel.it
IVOZ # 1029
+55 14 3324-1200
Bestcom Group
============================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDg3BWiLK8unYgEMQRAiqlAJ97fGI6OMAJvXzki77J9a5WS+KXpACeMX98
TpmB5w1kvF7xkTc1XC3o+7Y=
=fkKs
-----END PGP SIGNATURE-----
Elena,
My parameters to avp_db_load, as requested, are:
modparam("avpops","avp_url","mysql://openser:openserrw@localhost/openser")
...
modparam("avpops","db_scheme",
"scheme1:uuid_col=uuid;value_col=phone;value_type=string;table=subscriber")
The columns uuid, and phone are valid columns from the subscriber table.
This causes the following to be logged to syslog on openser startup:
Nov 27 23:53:08 ser1 openser[2085]: Maxfwd module- initializing
Nov 27 23:53:08 ser1 openser[2085]: AVPops - initializing
Nov 27 23:53:08 ser1 openser[2085]: ERROR:avpops_init: "AVP_DB" present but "AVP_TABLE" found empty
Nov 27 23:53:08 ser1 openser[2085]: init_mod(): Error while initializing module avpops
I did base it on the example from the avpops tutorial. I don't understand why this error is generated. I thought the whole point of using db_scheme was that you didn't have to call modparam on the table name (as well as the uuid, attribute columns etc).
I could really do with a little help!
Thanks.
Douglas.
-----Original Message-----
From: Elena Ramona Modroiu [mailto:ramona@voice-system.ro]
Sent: Sun 11/27/2005 4:26 PM
To: Douglas Garstang
Cc: users(a)openser.org
Subject: Re: [Users] Avpops Module
Hi,
Douglas Garstang wrote:
>I swear, getting OpenSER to do anything is worse than pulling teeth.
>
>
:)
>
>The avpops module documentation at:
>http://www.openser.org/docs/modules/1.0.x/avpops.html#AEN165
>
>has the following example under the db_scheme command:
>...
>modparam("avpops","db_scheme",
>"scheme1:table=subscriber;uuid_column=uuid;value_column=first_name")
>...
>
>which causes the following error to be reported in syslog.conf:
>Nov 27 14:24:52 ser1 openser: ERROR:avpops:parse_avp_sb_scheme: unknown attribute <uuid_column>
>Nov 27 14:24:52 ser1 openser: ERROR:avpops:avp_add_db_scheme: falied to parse scheme
>Nov 27 14:24:52 ser1 openser: parse error (102,3-4): Can't set module parameter
>
>Why?
>
>
Thanks for reporting this, docs will be updated.
>
>The example at the 'alleged' tutorial at:
>http://www.voice-system.ro/docs/avpops/
>
>which is just the docs at openser.org cut and pasted mostly has this example:
>...
>modparam("avpops","db_scheme",
>"scheme1:uuid_col=uid;value_col=job;value_type=string;table=emp")
>...
>
>which does not generate any errors in syslog.
>HOWEVER, when avp_db_load() is called, the following is logged to syslog.conf:
>
>Nov 27 14:21:42 ser1 openser[2424]: ERROR:avpops_init: "AVP_DB" present but "AVP_TABLE" found empty
>Nov 27 14:21:42 ser1 openser[2424]: init_mod(): Error while initializing module avpops
>
>Why??? The docs say I can use dbscheme to use a non standard AVP table, which is what I am trying to do, namely the subscriber table. If I can use dbscheme to define the columns from another table, why is OpenSER complaining that I haven't called modparam("avpops","avp_table","avptable")?????
>
>
What are the parameters of avp_db_load() in your case? Maybe this
example (also from avpops tutorial) helps you:
modparam("avpops","db_scheme",
"scheme1:uuid_col=uid;value_col=job;value_type=string;table=emp")
avp_db_load("$uuid","s:jobs/*$scheme1*");
- load from table 'emp', using 'uid' column as uuid and
'job' column as string value into AVP name 'jobs'
Bye,
Ramona
>Doug.
>
>
>
>
>
>
>
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Users mailing list
>Users(a)openser.org
>http://openser.org/cgi-bin/mailman/listinfo/users
>
>
Hi,
I am trying to install the last unstable SER version
with support for SIP-based presence. When I compile
and install SER with presence modules (make install
include_modules="pa rls mysql), it does several
errors:
receive.o: In the function 'receive_msg':
/root/sip_router/receive.c:231:undefined reference to
'reset_user_avps'
receive.o:/root/sip_router/receive.c:232:undefined
reference to 'reset_user_avps'
receive.o:/root/sip_router/receive.c:251:undefined
reference to 'reset_user_avps'
receive.o:/root/sip_router/receive.c:252:undefined
reference to 'reset_domain_avps'
I have downloaded current ser sources by "cvs -d
:pserver:anonymous@cvs.berlios.de:/cvsroot/ser
checkout sip_router" and I have seen the usr_avp.h and
user_avp.c files. In this files, the reset_user_avps
and reset_domain_avps functions hasnt been defined.
Could anybody help me?
Thanks!!
______________________________________________
Renovamos el Correo Yahoo!
Nuevos servicios, más seguridad
http://correo.yahoo.es
I would REALLY appreciate if someone could answer the following questions for me.
1. What is the definition of a 'negative' result in relation to t_reply()? I am seeing situations where t_relay() seems to think that 407 Proxy Auth is a negative result, because a previously set t_on_failure is executing when it connects to the gateway sucessfully.
2. Under what circumstances does t_reply() return 0, and under what circumstaces does it return -1? Seems like it always returns 0, no matter what happens.
3. When t_relay() fails to connect to a gateway, if t_on_failure(N) had previously been set, where does execution jump to t_on_failure(N)? It isn't right after t_relay() returns, and it isn't _within_ t_relay, so where is it? Is it at some arbitrary point? Is it after the current route() block ends?
Thanks,
Doug.