Have anyone tried running 2 separate instances on OpenSER (running on
different ports) ?
Both these instances are doing almost exactly the same thing, they take
in REGISTER and save them into the locations database. They all do all
the other processing like INVITE.
Will this causes a problem in MYSQL ? I'm asking this because i got a
very strange problem. I register 1 UA to each instances. When i did a ul
show , it always only have either the UA from instance A or UA from
instance B . Note, these 2 UA have different numbers. Why can't it just
save both into the MYSQL DB ?
I would be glad to clarify any doubts. Please assist as far as you can.
Thanks!
Regards,
Sam
hello,
I must make some changes in ser modules and recompile it. But I have
no idea to do that.
I think to make some change in pa modules. I'm trying to send an email
for one client to be notified for a new state of presence of some
contacts or receiving mail when one of this contacts become on line.
Can I modify other modules.
I trying this with ser 0.8.12.tar.gz
Can you help me, I'm debutant with this platform
thanks in advance.
Hi,
I am using pa module and sipsak and eyebeam for sending SUBSCRIBE method.
The Ser responds with 200 ok, but the NOTIFY is not sent. There is a problem
with the socket:
0(9487) DEBUG:tm:t_uac: next_hop=<sip:joel@10.112.64.214:10194>
0(9487) t_uac: no socket found
This code is in the tm module, uac.c file, t_uac function.
The error is in tm module, or is the pa module that bad uses the tm function
and causes this error?
regards,
Mário Ferreira
Please forgive my ignorance because I'm new to SER.
I want to know if I need to have a external presence server if PA module is
compiled into SER.
I need to use Presence, but I want to put Presence server/Presence agent
into one Linux box.
thanks,
Henry
Great :)
That's good nes for me, because I couldn't make you believe that there was a serious problem :)
Now how shall we proceed ?
Btw, you'll also have the following error in latest CVS, can you check ?
May 25 16:44:57 sesapp /root/ser/sbin/ser[3173]: register_udomain(): Invalid table version (use ser_mysql.sh reinstall)
May 25 16:44:57 sesapp /root/ser/sbin/ser[3173]: register_udomain(): Invalid table version (use ser_mysql.sh reinstall)
Regards,
ilker
-----Original Message-----
From: Vaclav Kubart [mailto:vaclav.kubart@iptel.org]
Sent: Thursday, May 25, 2006 4:26 PM
To: İlker Aktuna (Koç.net)
Cc: serusers(a)iptel.org; samuel
Subject: Re: PA error sending notifies
I updated to latest CVS sources and I have the same problem now! [Can't send watcherinfo notification (-7)]
Vaclav
On Wed, May 24, 2006 at 10:45:42AM +0300, ?lker Aktuna (Koç.net) wrote:
> Hi Vaclav,
>
> I want to install and run Ser on an identical linux setup with you to
> overcome the notification sending issue (thus presence) That's why I need the library versions that you use.
> Also I need to know which version of Debian Sarge you are using.
> And your ser snapshot version.
>
> Can you supply me these information please ?
>
> Thanks,
> ilker
>
>
> ________________________________
>
> From: ?lker Aktuna (Koç.net)
> Sent: Tuesday, May 23, 2006 5:44 PM
> To: 'samuel'
> Cc: Vaclav Kubart; serusers(a)iptel.org
> Subject: RE: PA error sending notifies
>
>
>
> So you are not able to use presence but other traffic (IM, voice etc.) is fine ?
> Do you know the xml parser library that your system has installed ?
> Vaclav, which library version do you use ?
>
> Thanks,
> ilker
>
> -----Original Message-----
> From: samuel [mailto:samu60@gmail.com]
> Sent: Tuesday, May 23, 2006 5:05 PM
> To: ?lker Aktuna (Koç.net)
> Cc: Vaclav Kubart; serusers(a)iptel.org
> Subject: Re: PA error sending notifies
>
> Unfortunately I had no more time to look into it, so I have no more progress..I just saw that the contact header was not properly parsed and there were problems when selecting the local socket where to send the notifies from...I hope in the following weeks I find some more time to spend on it.
>
> Samuel.
>
>
> 2006/5/23, ?lker Aktuna (Koç. net ) <ilkera(a)koc.net>:
> >
> >
> >
> >
> > Hi Samuel,
> >
> > Did you solve the issue where sending notifies would fail with error
> > code -7 ?
> >
> > "Can't send watcherinfo notification (-7)"
> >
> > If you solved it can you tell me how ?
> >
> > I believe the problem is occuring while creating the headers.
> > Because in "notify.c" I see that -7 is returned only while creating headers.
> >
> > Regards,
> > ilker
> >
<http://387555.sigclick.mailinfo.com/sigclick/010C0605/07044406/0B044D02/124…>
_____________________________________________________________________________________________________________________________________________
Bu e-posta mesaji kisiye ozel olup, gizli bilgiler iceriyor olabilir. Eger bu e-posta mesaji size yanlislikla ulasmissa, icerigini hic bir sekilde kullanmayiniz ve ekli dosyalari acmayiniz. Bu durumda lutfen e-posta mesajini kullaniciya hemen geri gonderiniz ve tum kopyalarini mesaj kutunuzdan siliniz. Bu e-posta mesaji, hic bir sekilde, herhangi bir amac icin cogaltilamaz, yayinlanamaz ve para karsiligi satilamaz. Bu e-posta mesaji viruslere karsi anti-virus sistemleri tarafindan taranmistir. Ancak yollayici, bu e-posta mesajinin - virus koruma sistemleri ile kontrol ediliyor olsa bile - virus icermedigini garanti etmez ve meydana gelebilecek zararlardan dogacak hicbir sorumlulugu kabul etmez.
This message is intended solely for the use of the individual or entity to whom it is addressed , and may contain confidential information. If you are not the intended recipient of this message or you receive this mail in error, you should refrain from making any use of the contents and from opening any attachment. In that case, please notify the sender immediately and return the message to the sender, then, delete and destroy all copies. This e-mail message, can not be copied, published or sold for any reason. This e-mail message has been swept by anti-virus systems for the presence of computer viruses. In doing so, however, sender cannot warrant that virus or other forms of data corruption may not be present and do not take any responsibility in any occurrence.
_____________________________________________________________________________________________________________________________________________
Hi all,
I'm trying to deploy a scenario where I have an openser as a sip proxy
(taking care of registrations) in front of an asterisk (to handle pstn call
routing/billing/etc).
Both openser and asterisk authenticate users on the same database, and I'm
able to register a UA on both.
The problem is when I try to relay calls from openser to asterisk. I always
get the following error:
SIP/2.0 407 Proxy Authentication Required
What am I missing here?
My openser.cfg is the following:
debug=3 # debug level (cmd line: -dddddddddd)
fork=yes
#log_stderror=no # (cmd line: -E)
# Uncomment these lines to enter debugging mode
#fork=no
log_stderror=yes
listen=192.168.64.102
sip_warning=no
#advertised_address=192.168.1.102
reply_to_via=no
check_via=no # (cmd. line: -v)
dns=no # (cmd. line: -r)
rev_dns=no # (cmd. line: -R)
port=5060
children=4
fifo="/tmp/ser_fifo"
# ------------------ module loading ----------------------------------
# Uncomment this if you want to use SQL database
loadmodule "/usr/lib/openser/modules/mysql.so"
loadmodule "/usr/lib/openser/modules/sl.so"
loadmodule "/usr/lib/openser/modules/tm.so"
loadmodule "/usr/lib/openser/modules/rr.so"
loadmodule "/usr/lib/openser/modules/maxfwd.so"
loadmodule "/usr/lib/openser/modules/usrloc.so"
loadmodule "/usr/lib/openser/modules/registrar.so"
loadmodule "/usr/lib/openser/modules/nathelper.so"
loadmodule "/usr/lib/openser/modules/textops.so"
loadmodule "/usr/lib/openser/modules/xlog.so"
loadmodule "/usr/lib/openser/modules/auth.so"
loadmodule "/usr/lib/openser/modules/auth_db.so"
# -- usrloc params --
# Flush every 60 sec
modparam("usrloc", "db_mode", 0)
# -- auth params --
modparam("auth_db", "db_url", "XXX")
modparam("auth_db", "user_column", "accountcode")
#modparam("auth_db", "domain_column", "accountcode")
modparam("auth_db", "calculate_ha1", 1)
modparam("auth_db", "password_column", "secret")
# -- replication auth param --
modparam("auth", "secret", "mysecret")
# -- rr params --
# add value to ;lr param to make some broken UAs happy
modparam("rr", "enable_full_lr", 1)
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");
return;
};
if ( msg:len > max_len ) {
sl_send_reply("513", "Message too big");
return;
};
force_rport();
fix_nated_contact();
if(uri == myself)
{
if(method == "REGISTER")
{
# Make sure they are a valid user on our proxy
if(!www_authorize("", "astaccount"))
{
xlog("L_INFO", "Req Auth For %ct, URI =
%ru\n");
www_challenge("", "1");
return;
};
xlog("L_INFO", "Registered Contact %ct, URI =
%ru\n");
save("location");
return;
};
};
record_route();
# ------------------------------------------------------------------
# loose-route processing
if(loose_route())
{
xlog("L_INFO", "loose_route(): Looking up %rm URI %ru from
%is\n");
lookup("location");
xlog("L_INFO", "loose_route(): t_relay() %rm to URI %ru\n");
t_relay();
return;
};
if(method == "INVITE")
{
# Assume it came from one of our VoIP phones, all routing is
done by Asterisk
xlog("L_INFO", "%rm came from a VoIP phone (%is),
attempting to authorize %fu\n");
# Make sure they are a valid user on our proxy
if (!www_authorize("", "astaccount"))
{
www_challenge("", "0");
xlog("L_INFO", "Failed to authorize %fu
(%is)\n");
return;
};
# Found a match, this is going to a VoIP phone
xlog("L_INFO", "Auth OK, sending URI %ru to Asterisk
for routing\n");
rewritehostport("192.168.64.103:5060");
xlog("L_INFO", "INVITE New URI = %ru, t_relay()ing now\n");
t_relay();
# forward(uri:host, uri:port);
return;
};
# ------------------------------------------------------------------
# forward to current uri now; use stateful forwarding; that
# works reliably even if we forward from TCP to UDP
lookup("location");
xlog("L_INFO", "Default t_relay() (method = %rm, URI = %ru, >From =
%is)\n");
if(!t_relay())
{
xlog("L_INFO", "Failed sending requesting %rm URI (%ru)\n");
sl_reply_error();
};
}
Thanks for your help
I recently started seeing this in the logs right after a registration attempt
from a user who's a on our system, but is somehow storing contact info for a
different username on a different service:
May 25 12:03:52 death ser[22235]: ERROR: warning_builder: buffer size exceeded
May 25 12:03:52 death ser[22235]: WARNING: warning skipped -- too big
The register packet that caused it was:
REGISTER
sip:proxy.ideasip.com:5060;g_id=17476253781;g_dom=proxy01.sipphone.com SIP/2.0.
Record-Route: <sip:198.65.XXX.XXX;ftag=31839881;lr>.
Via: SIP/2.0/UDP 198.65.XXX.XXX;branch=z9hG4bK1033.75ea1c43.0.
Via: SIP/2.0/UDP
192.168.1.18:36560;received=69.91.XXX.XXX;branch=z9hG4bK-d87543-5e7fc69802da2376-1--d87543-;rport=33028.
Max-Forwards: 69.
Contact: <sip:1747625XXXX@proxy01.sipphone.com:5060>.
To:
<sip:1101201XXXX@proxy.ideasip.com:5060;g_id=1747625XXXX;g_dom=proxy01.sipphone.com>.
From:
<sip:1101201XXXX@proxy.ideasip.com:5060;g_id=1747625XXXX;g_dom=proxy01.sipphone.com>;tag=31839881.
Call-ID: 7dffe5df6f2a521a@YW50ZXJvb21lbWFjLmxvY2Fs.
CSeq: 40 REGISTER.
Expires: 1800.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, INFO, NOTIFY, MESSAGE.
Supported: ICE.
User-Agent: MacGizmo (Gizmo-s2n1)/1.5.
Authorization: Digest
username="1101201XXXX",realm="proxy.ideasip.com",nonce="4475d66395235de62215f7d44f9dbafc068050f7",uri="sip:proxy.ideasip.com:5060;g_id=1747625XXXX;g_dom=proxy01.sipphone.com",response="2a56661c46fdac2129de3100014e5753",cnonce="aab804aa999687b7",nc=00000003,qop=auth,algorithm=MD5.
Content-Length: 0.
P-hint: outbound.
Any idea what's throwing the error and what causes it?
N.
Hi Everybody...
I'm using openser 1.0.1 and Xlite softphone..
It finely registered and initialized the nathelper moudule
just giving the nat_interval and ping_nated_flag parameters.
When i tried to makes call I found ..." 404 not found" and 408 Request
timeout " messages arrived to me..
I think so problem in NAT only...
help me in this please , its very important to me....
Bye
--
Thanks and Regards with cheers
Sunkara Ravi Prakash (Voip Developer)
Hyperion Technology
www.hyperion-tech.com
<b>