Hello,
Everything works fine if I run Proxy without TLS disabled.
I tried both TCP/UDP, it works fine.
For TLS, Registration went fine however Proxy responds "513 Message
too big" to the Invite.
I don't see any wrong headers in the message.
The length is almost same for TCP and TLS invite message, the only
change is sip and sips.
Any 'C' file or config file I need to modify?
Openser.conf:
debug=9 # debug level (cmd line: -dddddddddd)
/* Uncomment these lines to enter debugging mode
fork=no
log_stderror=yes
*/
check_via=yes
dns=no
rev_dns=no
port=5061
children=4
fifo="/tmp/openser_fifo"
disable_tls = 0
listen = tls:158.218.105.138:5061
tls_verify = on
tls_require_certificate = on
tls_method = TLSv1
tls_certificate = "/home/mreddy/tools/cert.pem"
tls_private_key = "/home/mreddy/tools/priv.pem"
tls_ca_list = "/home/mreddy/tools/root_cert_fluffyCA.pem"
#loadmodule "/usr/local/lib/openser/modules/mysql.so"
loadmodule "/usr/local/lib/openser/modules/sl.so"
loadmodule "/usr/local/lib/openser/modules/tm.so"
loadmodule "/usr/local/lib/openser/modules/rr.so"
loadmodule "/usr/local/lib/openser/modules/maxfwd.so"
loadmodule "/usr/local/lib/openser/modules/usrloc.so"
loadmodule "/usr/local/lib/openser/modules/registrar.so"
loadmodule "/usr/local/lib/openser/modules/textops.so"
route{
# initial sanity checks -- messages with
# max_forwards==0, or excessively long requests
if (!mf_process_maxfwd_header("10")) {
sl_send_reply("483","Too Many Hops");
exit;
};
#if 1
if (msg:len >= 4096 ) {
sl_send_reply("513", "Message too big");
exit;
};
#endif
# we record-route all messages -- to make sure that
# subsequent messages will go through our proxy; that's
# particularly good if upstream and downstream entities
# use different transport protocol
if (!method=="REGISTER")
record_route();
# subsequent messages withing a dialog should take the
# path determined by record-routing
if (loose_route()) {
# mark routing logic in request
append_hf("P-hint: rr-enforced\r\n");
route(1);
};
if (!uri==myself) {
route(1);
};
# if the request is for other domain use UsrLoc
# (in case, it does not work, use the following command
# with proper names and addresses in it)
if (uri==myself) {
if (method=="REGISTER") {
save("location");
exit;
};
lookup("aliases");
if (!uri==myself) {
append_hf("P-hint: outbound
alias\r\n");
route(1);
};
if (!lookup("location")) {
sl_send_reply("404", "Not Found");
exit;
};
append_hf("P-hint: usrloc applied\r\n");
};
route(1);
}
route[1] {
if (!t_relay()) {
sl_reply_error();
};
exit;
}
Thanks,
Murali Reddy
Texas Instruments
Murali Reddy
Texas Instruments
Germantown,MD
Phone: 301-515-3716
e-mail: mreddy(a)ti.com <mailto:mreddy@ti.com>
I've looked around and have found one or two other posts asking about
this, but I have never seen an answer. The From is:
=uri: <sip:5551212;npdi=yes@x.x.x.x:5060;dtg=SIP;user=phone>
Which causes a number of issues. USRLOC no longer works:
=lookup(): '5551212;npdi=yes' Not found in usrloc
And when you send the call to an Asterisk server, Asterisk wigs out
because it truncates everything after the first ";" it encounters in the
URI. Does anyone have any idea how to get rid of it? I've tried subst(),
but could not get it to work. :-(
-John
On 06/26/06 03:19, Kelvin Williams wrote:
>
> I’m contemplating the storage of a lot of values (15 or so) for users
> using AVPops. My question would be the MySQL server and any potential
> bottleneck it may create.
>
> Is it possible to perform one database hit and extract all of the AVPs
> into an array which could then be referenced throughout the transaction?
>
with the cvs heade version you can use avp_db_query().
Cheers,
Daniel
> Thanks,
>
> Kw
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users(a)openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>
Hi Aimable,
Thanks a lot buddy!
I got whatever I wanted from that link. Now let me compile it properly and test it with my application.
By the way I would like to ask you two more things:
1. SER 0.9.6 is already running on my m/c and my question is, before installing SEMS, any other modules have to be incorporated in to the SER?
2. Whether SER support Voice XML (VXML)?
Regards,
Benjamin.
_____
From: serusers-bounces(a)lists.iptel.org [mailto:serusers-bounces@lists.iptel.org] On Behalf Of Aimable Habiyakare
Sent: Friday, June 23, 2006 6:21 PM
To: George, Benjamin
Cc: serusers(a)iptel.org
Subject: RE: [Serusers] Facing problems while downloading SEMS
Hi George
You can go here
http://ftp.iptel.org/pub/sems/ <http://ftp.iptel.org/pub/sems/>
you will find every thing you need
Aimable
_____
From: serusers-bounces(a)lists.iptel.org [mailto:serusers-bounces@lists.iptel.org] On Behalf Of Benjamin.George(a)t-systems.com
Sent: Friday, June 23, 2006 2:37 PM
To: serusers(a)lists.iptel.org
Subject: [Serusers] Facing problems while downloading SEMS
Hi,
I am planning to integrate SEMS (media server) with SER to develop some conferencing and IVR applications on top of that. While I was trying to checkout SEMS code from SVN repository using SVN: or HTTP: it is not getting downloaded. It was throwing some connection failure error.
The commands which I tried are:
svn checkout svn://svn.berlios.de/sems/trunk,
and
svn checkout http://svn.berlios.de/svnroot/repos/sems/trunk
So it will be great if somebody can provide me some pointer on:
1. How can I checkout SEMS source successfully?
2. Is there any SEMS source tarball readily available to download?
3. Is there any SEMS ready to install binary on debian platform is available?
4. Whether SEMS support Voice XML (VXML)?
Regards,
Benjamin.
I'm contemplating the storage of a lot of values (15 or so) for users using
AVPops. My question would be the MySQL server and any potential
bottleneck it may create.
Is it possible to perform one database hit and extract all of the AVPs into
an array which could then be referenced throughout the transaction?
Thanks,
Kw
Hello,
I try to configure CDRTool + Asterisk .
After having fixed a lot of files I get too many
problems
with this software.
First I get this error why ?
Error: Table 'asterisk_cdr' was not locked with LOCK
TABLES
The basic soap client does not connect to the soap
server to get the version .
harry
___________________________________________________________________________
Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire.
http://fr.mail.yahoo.com
Disregard.. Found it the moment I hit send. UAC.
_____
From: users-bounces(a)openser.org [mailto:users-bounces@openser.org] On Behalf
Of Kelvin Williams
Sent: Saturday, June 24, 2006 5:41 PM
To: users(a)openser.org
Subject: [Users] Modifying from_uri
We are deploying in a cable environment, and for sake of ease we are
registering all SIP UAs by their MAC address. And associating phone numbers
with dbaliases. It all works great until we try to send a phone call to the
PSTN.
I need to know the way to modify the from_uri to change it from the MAC of
the device to the actual phone number which we will retrieve using avp or
so.
Thanks in advance.
Kw
We are deploying in a cable environment, and for sake of ease we are
registering all SIP UAs by their MAC address. And associating phone numbers
with dbaliases. It all works great until we try to send a phone call to the
PSTN.
I need to know the way to modify the from_uri to change it from the MAC of
the device to the actual phone number which we will retrieve using avp or
so.
Thanks in advance.
Kw
hello together,
i am using openser v1.0.1 as a simple proxy.
for logging i use xlog like
xlog("L_ERR","[$Tf]: PSTN -> SIP: new Call [$fU] to [$tU]\n");
with the setting modparam("xlog", "buf_size", 16384).
but in the logfile i see many error-messages:
5(29423) ERROR: warning_builder: buffer size exceeded
5(29423) WARNING: warning skipped -- too big
is this a problem of xlog? anyone knows how can i fix this?
thank you for help.
regards
thomas
--
thomas balsfulland tbals(a)ctrl-c.de
zwischen mut und dummheit liegt nur ein grat
der sich durch das vorbereitetsein unterscheidet
Douglas,
indeed, it looks like there is a a memory leak in using the DNS
resolver. It is used by ENUM module and by the SIP resolver.
So, are you using ENUM module for lookups? Do you have some module of
your own using the DNS resolver?
I took a look into the SIP resolver and I found some possible cases
leading to memory leak, but there were some error handling corner
cases......only if you have some very bogus DNS results...anyhow try to
update from CVS and see if the leak is still present.
regards,
bogdan
Douglas Garstang wrote:
>Bogdan,
>
>I guess I didn't realise the dumping was done on a per process basis.
>I've sent you a complete daemon.log file this time. You will see that many of the processes are reporting out of memory.
>I sent a USR1 signal to pid's 21131, 21127 and 21126 (which where all reporting out of memory).
>
>Douglas.
>
>-----Original Message-----
>From: Bogdan-Andrei Iancu [mailto:bogdan@voice-system.ro]
>Sent: Thursday, June 22, 2006 12:10 PM
>To: Douglas Garstang
>Cc: Users(a)openser.org
>Subject: Re: [Users] Out of Memory
>
>
>Hi Douglas,
>
>I when over the dumps you get, but there is no increasing memory
>consumption in time (some number of used mem chunks). Also the first
>line shows:
> Memory status (pkg):
> qm_status (0x8121ba0):
> heap size= 1048576
> used= 21908, used+overhead=248632, free=799944
>
>so only 25% is used from the 1M available.
>
>Please check that you are actually sending the SIGUSR1 signal to the
>process that generated the memory error (it's about the per-process
>memory and not the shared one). So, wait for the error to occur, send
>the signal to the reporting process and please send me the log (no need
>to post again on web).
>
>regards,
>bogdan
>
>
>Douglas Garstang wrote:
>
>
>
>>Bogdan,
>>
>>I finally managed to upload the memory dumps to pastebin. Links are:
>>Hopefully you can access them.
>>
>>Memory dump right after OpenSER was started: http://pastebin.com/723872
>>Memory dump after OpenSER running for 20min: http://pastebin.com/723890
>>Memory dump after OpenSER running for 50min: http://pastebin.com/723902
>>
>>The problem started to occur between the 20 and 50 minute samples. About 20 calls had been processed in that time.
>>
>>Douglas.
>>
>>
>>
>>
>>
>>>-----Original Message-----
>>>From: Bogdan-Andrei Iancu [mailto:bogdan@voice-system.ro]
>>>Sent: Wednesday, June 21, 2006 10:14 AM
>>>To: Douglas Garstang
>>>Cc: Users(a)openser.org
>>>Subject: Re: [Users] Out of Memory
>>>
>>>
>>>As written in the wiki, if you do not know how to interpret
>>>the result,
>>>you should post them on a ftp or http server and send the link to the
>>>list - also, important is to mention in which context did you get the
>>>mem dump - is the shutdown dump, a run time dump...
>>>
>>>regards,
>>>bogdan
>>>
>>>
>>>Douglas Garstang wrote:
>>>
>>>
>>>
>>>
>>>
>>>>Once I get the memory status, how do I interpret the results?
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>>-----Original Message-----
>>>>>From: Bogdan-Andrei Iancu [mailto:bogdan@voice-system.ro]
>>>>>Sent: Wednesday, June 21, 2006 9:43 AM
>>>>>To: Douglas Garstang
>>>>>Cc: Users(a)openser.org
>>>>>Subject: Re: [Users] Out of Memory
>>>>>
>>>>>
>>>>>Hi Douglas,
>>>>>
>>>>>it was signal SIGUSR1 and not SIGHUP - I strongly advice you
>>>>>to go through
>>>>> http://openser.org/dokuwiki/doku.php?id=memory
>>>>>note you have to recompile and reinstall in order to be able to do
>>>>>memory debug.
>>>>>
>>>>>also does not matter how much mem. your system has - openser
>>>>>will use by
>>>>>default only 1M per process. Refer to the wiki for how to
>>>>>
>>>>>
>>>>>
>>>>>
>>>increase it.
>>>
>>>
>>>
>>>
>>>>>Regards,
>>>>>Bogdan
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>
>>
>>
>>
>
>
>