Hi folks,
I am wondering under what circumstances that openser will generate its
default "477" error response.
I'm still a newbie on the OpenSER software so I hope I am not just
missing some configuration issues.
It seems like its(the 477 responsecode) is for instance used when
transaction layer didnt manage to send the request, and I am a bit
puzzled why the 477 responsecode is used.
According to the rfc, I believe "408 Timeout" would be more correct
on generic transaction timeouts, and on fatal transport errors,
like tcp-reset, I believe 503 is the accurate responsecode.
Or?
Regards
Taisto Qvist
IP Solutions
Hi users,
I have been trying to use Freeradius using along with openser
,and with openser sampleconfig files , atlast I managed to recieve packets
from openser.
here the problem was , iam getting accounting packets duplicate . that is
when X called Y ----> in radacct table iam getting the following
information
"I am giving only some coloumns"
___________________________________________________________________________________
radacctid | callingstationid | calledstationid
| acctstarttime | acctstoptime |
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
10 | Y@ipaddress | X@ipaddress |
2006-07-24 10:23:06 | 2006-07-24 10:23:41|
11 | Y@ipaddress | X@ipaddress |
2006-07-24 10:23:06 | 2006-07-24 10:23:41|
This records are When "Y" called "X".......
Here Y called X and then Y stops the conversation and the accounting details
are like above with "duplicate entries"
and below are accounting records when "Y" called "X" and " X " stops the
conversation first.....
radacctid | callingstationid | calledstationid
| acctstarttime | acctstoptime |
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
12 | Y@ipaddress | X@ipaddress |
2006-07-24 10:23:06 | 0000-00-00 00:00:00|
13 | Y@ipaddress | X@ipaddress |
2006-07-24 10:23:06 | 0000-00-00 00:00:00|
14 | X@ipaddress | Y@ipaddress |
2006-07-24 10:23:58 | 2006-07-24 10:23:58 |
So, here iam getting two duplicate entries with only account start time and
one with acct stoptime but with calling stationid is going to called
stationid
O.K eventhough Acctsessionid is same and is the key value:
and i setflag(1) [accounting flag]
just before the looseroute section
route {
# -----------------------------------------------------------------
# Sanity Check Section
# -----------------------------------------------------------------
if (!mf_process_maxfwd_header("10")) {
sl_send_reply("483", "Too Many Hops");
break;
};
if (msg:len > max_len) {
sl_send_reply("513", "Message Overflow");
break;
};
# -----------------------------------------------------------------
# Record Route Section
# -----------------------------------------------------------------
if (method=="INVITE" && client_nat_test("3")) {
# INSERT YOUR IP ADDRESS HERE
record_route_preset("81.21.34.37:5060;nat=yes");
} else if (method!="REGISTER") {
record_route();
};
# -----------------------------------------------------------------
# Call Tear Down Section
# -----------------------------------------------------------------
if (method=="BYE" || method=="CANCEL") {
end_media_session();
};
# -----------------------------------------------------------------
# Loose Route Section
# -----------------------------------------------------------------
setflag(1) ; if (loose_route())
{
<------------------------------------ {this is the place where i setflag
after checking so many places }
if (has_totag() && (method=="INVITE" || method=="ACK")) {
setflag(11);setflag(12);
if (client_nat_test("3") || search("^Route:.*;nat=yes")) {
setflag(6);
use_media_proxy();
};
};
route(1);
break;
};
So please any body solve my problem so that i can get billing records
properly
if not please specify a place to setting the accounting flag so that i dont
get this "duplicate entries"
I hope you guys will help me,
Thank
You.
regards,
Ravi.
The sample conf file for PSTN gateway can be found with getting
started document on onsip.org ftp site. Plz, check.
On 7/24/06, Asep Saifudin <aseps2000(a)gmail.com> wrote:
>
> Hi Andrey,
> I have install SER 0.9.6.x in my FreeBSD 6.0 and my configuration until now
> still failed (core dumped and my Xten won't register to SER even I have
> account in subscriber table.
> Do you have (or anybody have) sample running configuratin of ser.cfg for SER
> 0.9.6.x which I can try/use on my SER server ? my scheme is simple, my SER
> can call inter SER-account and call to PSTN/Mobile via my quintum gateway.
> Hopefully you have sample running ser.cfg file
>
> ~Asep
>
> 2006/7/24, Andrey Kouprianov <andrey.kouprianov(a)gmail.com>:
> >
> Thing is, 0.8.14 doesnt have uri_db.so module (only uri.so), which was
> introduced in version 0.9.x. That's why it would not work.
>
> On 7/24/06, Giuseppe Parlato <gparlato(a)tnet.it> wrote:
> > If I unload uri.so and but I load uri_db.so I get the following error:
> > bind_dbmod: Module sql does not export db_use_table function
> > ERROR: mod_init(): Can't bind database module
> > init_mod(): Error while initializing module usrloc
> > WARNING:fm_free: free(0) called
> >
> > However I dont get error no more on this line:
> > modparam("auth_db|domain|group|uri|usrloc", "db_url",
> > "sql://serro:psw@xxx.xxx.xxx.xxx/ser")
> >
> > ???
> >
> >
> > Giuseppe
> >
> > ----- Original Message -----
> > From: "Giuseppe Parlato" < gparlato(a)tnet.it>
> > To: "Andrey Kouprianov" <andrey.kouprianov(a)gmail.com>
> > Cc: <serusers(a)iptel.org >
> > Sent: Sunday, July 23, 2006 8:11 PM
> > Subject: Re: [Serusers] error configuration file
> >
> >
> > > Before (0.8.14) in conf file uri_db.so was not loaded but everything
> > > worked the same.
> > > In my conf file I had:
> modparam("auth_db|domain|group|uri|usrloc",
> > > "db_url", "sql://serro:psw@xxx.xxx.xxx.xxx/ser"), but if I upgrade to
> > > 0.9.6 I get an error on this line.
> > >
> > >
> > > ..I'm using freeradius
> > >
> > > thanks
> > > Giuseppe
> > >
> > > ----- Original Message -----
> > > From: "Andrey Kouprianov" < andrey.kouprianov(a)gmail.com>
> > > To: <serusers(a)iptel.org>
> > > Sent: Saturday, July 22, 2006 12:02 PM
> > > Subject: Re: [Serusers] error configuration file
> > >
> > >
> > >>I think it's the check_from() that gives the error. Check if you've
> > >> loaded uri_db.so module...
> > >>
> > >> On 7/21/06, Klaus Darilion < klaus.mailinglists(a)pernau.at> wrote:
> > >>> maybe && instead of & ?????
> > >>>
> > >>> this error message also happens if you forget to close all if blocks
> > >>> (watch out for missing '}' )
> > >>>
> > >>> regards
> > >>> klaus
> > >>>
> > >>> Giuseppe Parlato wrote:
> > >>> > Hi.. I got the following error when I try to start ser:
> > >>> >
> > >>> > parse error (329,55-56): unknown command, missing loadmodule?
> > >>> > ERROR: bad config file (1 errors)
> > >>> > ser startup failed
> > >>> >
> > >>> > so on my configuration file the problem is this here:
> > >>> > } else if ((method=="INVITE") & !check_from()) {
> > >>> >
> > >>> > I was using ser 0.8.14 then upgraded to 0.9.6, but configuration
> file
> > >>> > has not been changed. The same file worked on 0.8.14 version.
> > >>> >
> > >>> >
> > >>> > help please
> > >>> > Giuseppe
> > >>> > _______________________________________________
> > >>> > Serusers mailing list
> > >>> > Serusers(a)lists.iptel.org
> > >>> > http://lists.iptel.org/mailman/listinfo/serusers
> > >>>
> > >>> _______________________________________________
> > >>> Serusers mailing list
> > >>> Serusers(a)lists.iptel.org
> > >>> http://lists.iptel.org/mailman/listinfo/serusers
> > >>>
> > >> _______________________________________________
> > >> Serusers mailing list
> > >> Serusers(a)lists.iptel.org
> > >> http://lists.iptel.org/mailman/listinfo/serusers
> > >>
> > >>
> > >> --
> > >> No virus found in this incoming message.
> > >> Checked by AVG Free Edition.
> > >> Version: 7.1.394 / Virus Database: 268.10.3/395 - Release Date:
> > >> 21/07/2006
> > >>
> > >>
> > >
> > > _______________________________________________
> > > Serusers mailing list
> > > Serusers(a)lists.iptel.org
> > > http://lists.iptel.org/mailman/listinfo/serusers
> > >
> > >
> > > --
> > > No virus found in this incoming message.
> > > Checked by AVG Free Edition.
> > > Version: 7.1.394 / Virus Database: 268.10.3/395 - Release Date:
> 21/07/2006
> > >
> > >
> >
> >
> _______________________________________________
>
> Serusers mailing list
> Serusers(a)lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
>
>
Hi
Any DID Provider in Japan.
_________________________________________________________________
Sexy, sultry, sensuous. - see why Bipasha Basu is all that and more. Try MSN
Search http://server1.msn.co.in/Profile/bipashabasu.asp
Hi.. I got the following error when I try to start ser:
parse error (329,55-56): unknown command, missing loadmodule?
ERROR: bad config file (1 errors)
ser startup failed
so on my configuration file the problem is this here:
} else if ((method=="INVITE") & !check_from()) {
I was using ser 0.8.14 then upgraded to 0.9.6, but configuration file has
not been changed. The same file worked on 0.8.14 version.
help please
Giuseppe
Does anybody have an answer to my questions, i really apreciate any help.
-----Original Message-----
From: Teran Jesus [mailto:jteran@mcmtelecom.com.mx]
Sent: Miércoles, 19 de Julio de 2006 11:33 a.m.
To: serusers(a)lists.iptel.org
Subject: [SPAM header] - [Serusers] Number registered - Email found in
subject
Hello
I want to validate and get the 2 first digits of the telephone number
registered, if i have a ip phone registered with a number like this
5556000000, when i recieve a INVITE from this number, i want to get 55 and
validate the number, are there something to do this?
Can you help me?
_______________________________________________
Serusers mailing list
Serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
Hi all,
I dont know if this is the relevant question to ask on this list, but still if someone could help me.....
I have my openser working fantastically as I needed. I have forwarding and voicemail features configured in openser.
The configuration is like any user can dial *86 followed by the number, and the number will be his forward on busy number, similarly *87 followed by the number and that number will be his forward on no-answer number.
What I basically do is strip, the *86 or *87 and store the appropriate values in usr_preferences table. This setup works fine with xten, eyebeam and audiocdes analog gateways.
But when I try this with a linksys PAP2T device, it does not work.
The reason is, in the PAP2 device, if u press 2 digits after the * it sends that to the proxy. It does not wait for further number to be dialed. Any 2 digits after * is relayed to proxy directly.
I've tried disabling all features in the PAP2 device but still failed to get it working for me. Can someone give me an idea of how do I stop my linksys box from doing this.
I want that the user be able to dial *86123456 and then it should go to the proxy, so that I can get 123456 as the forwarded number.
Can someone please help me on this...
Thanks in advance,
Jayesh.
---------------------------------
Find out what India is talking about on Yahoo! Answers India.
I have:
Sems downloaded from: http://www.iptel.org/drupal/sems
Ser version: 0.9.6
in ser.cfg:
unix_sock="/tmp/ser_sock"
sock_mode=0666
fifo_db_url="mysql://ser:user@server/ser"
fifo_mode=0666
........
if(!t_write_unix("/tmp/sems_sock","conference")) ....
...
in sems.cfg:
socket_name=/tmp/sems_sock
reply_socket_name=/tmp/sems_rsp_sock
ser_socket_name=/tmp/ser_sock
When i call conference, this error appear on screen:
t_get_trans_ident: no transaction found
assemble_msg: t_get_trans_ident failed
ERROR:tm:t_write_unix: Error in assemble_msg
ERROR: t_reply: cannot send a t_reply to a message for which no T-state has
been established
Please, Can anyone help me?!!!!???
My operating system is Linux Fedora core 5 !
Thanks
Hi guys,,
I am new in this list and very interested to do VoIP. Can someone advise me
what stable version of SER should i install and the compatible Mysql version
it?
I will install it in a existing FreeBSD 6.0 box. I hope it will work on it.
Tia.
regards,
Bro. Josel
Hi,
I know that there are licence and patent issues but is it possible to decode g729 encoded rtp streams with any software ?
I have licenced Eybeam softphone with g729 support. But it can only decode streams in a conversation.
I just need to decode streams recorded with tcpdump/ethereal.
Once I had used a software with this feature but then it turned out to be a trojan. I don't remember the name now.
Is there any other software ? (or method using Eyebeam ?)
Thanks,
ilker
<http://387555.sigclick.mailinfo.com/sigclick/02090E04/01044900/02090D4D/061…>
_____________________________________________________________________________________________________________________________________________
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.
_____________________________________________________________________________________________________________________________________________