Hello Ozan,
looking on the the config script you sent on the list, you just have to
move the setflag(1) from the "Record Route Section and Acc section" to
route[3]:
if (uri=~"^sip:0[0-9]*@*") {
setflag(1); # mark for acc
rewritehost("212.XXX.59.XXX");
route(1);
break;
};
regards,
bogdan
Ozan Blotter wrote:
> Dear Bogdan,
>
> Thanks for your information about this "setflag" issue but still i
> have no idea which line i have to remove and move to where ?. For BYE
> problems i think i can talk with Carrier to setup that for me, they're
> using MERA VoIP.
>
> Thanks Again,
> Ozan
>
> ps * : today or tomorrow i will let you to login/test the billing
> thing since it's still a big mess with codes around..
>
>
> ----- Original Message ----- From: "Bogdan-Andrei Iancu"
> <bogdan(a)voice-system.ro>
> To: "Ozan Blotter" <cosmocid(a)ispro.net.tr>
> Cc: <users(a)openser.org>
> Sent: Tuesday, July 12, 2005 12:02 PM
> Subject: Re: [Users] Broken Calls now written to Database
>
>
>> Hi Ozan,
>>
>> first, if you want not to account SIP2SIP calls, you have just not to
>> set the acc flag for those calls (flag 1 in your script). In other
>> words, if you want to account only calls going to PSTN, set the flag
>> 1 only if destination is PSTN.
>>
>> Regarding the BYE - this is an well known issue and you can solve it
>> on the GW side (depending what GW you have) - you may enable on your
>> GW two types of timers:
>> - for received media: if the GW received no more media in X secs,
>> it will generate the BYE.
>> - Session Timer: periodically, the GW probes if the UAC is still
>> on by sending reINVITEs - in case of no answer or negative reply, a
>> BYE is generated.
>> Take a look at your GW specification if it has support for this.
>>
>> Since the BYEs generated in this case by GW will end by timeout (the
>> client being disconnected), note that you need to enable
>> "failed_transaction" acc param (set it to on) in 0.9.x or set a flag
>> for "failed_transaction_flag" acc param in 0.10.x (see the online doc
>> for more info).
>>
>> For PostPaid - it's welcome - when you have a working version, please
>> let us know and we can arrange with the upload.
>>
>> regards,
>> bogdan
>>
>> Ozan Blotter wrote:
>>
>>> Dear List,
>>> I'm making a call to PSTN, it's okay i can talk with the other
>>> party via ATA, but suddenly i unplug power from it, and in
>>> accounting module it does not write line with BYE message so i
>>> cannot understand whether the call is finished or not. only INVITE
>>> and ACK are written, no BYE :(
>>> This may be a security hole for customers, because they talk for a
>>> long time and they may unplug their units or cut power so it does
>>> not tell SER it's over. How i can prevent this, also what i need to
>>> add as a line for telling ACC module not to write calls from 833 to
>>> 833 into database, which are free SIP2SIP calls ?
>>> Btw, a Postpaid Billing System is on the way for OpenSER built in
>>> PHP, later i will need OpenSER group's help to place it onto hosting
>>> site. Shortly it will have features:
>>> * Nothing extra from package, default MySql Database which comes
>>> with OpenSER Release is being used,
>>> * All routing is done via OpenSER's ser.cfg ,
>>> * Initial Rate, Initial Time, Increment Rate, Increment Time will be
>>> user variable ,
>>> * Account Creation/Deletion done in PHP ,
>>> * Invoice Generation and CDR will include many variables ,
>>> * Rating will be in PHP,
>>> * And everything is totaly free :)
>>> If you have ideas and/or suggestion please write back to me so i
>>> can work for it too.
>>> Reqs: OpenSER & PHP & MySql & Apache
>>> Thanks,
>>> Ozan
>>
>>
>
Tried Windows Messenger, Xlite, SJPhone, FireFly.
modparam("msilo", "registrar", "sip:registrar@XXXXXX")
am i suppose to put XXXXXX as my domain?
then do i need to create any user call registrar?
At 06:24 PM 7/13/2005, you wrote:
>What is your UA ?
>--- Kong <kongzs(a)irepublics.com> a écrit :
>
> > I am trying to implement Messaging from serweb to
> > UA, but not a success.
> >
> > i have this script in my ser.cfg
> >
> > if (!lookup("location")) {
> > if (method == "MESSAGE") {
> > if (!t_newtran()) {
> > sl_reply_error();
> > break;
> > };
> >
> > if (m_store("0")) {
> > t_reply("202", "Accepted for Later
> > Delivery");
> > break;
> > };
> > };
> >
> > sl_send_reply("404", "User Not Found !");
> > break;
> > };
> >
> > but i read somewhere in google that i need to add in
> > this line.
> > modparam("msilo", "registrar",
> > "sip:registrar@iptel.org")
> > so that the UA will be notify if there is any new
> > message.
> >
> > If i don't add this line, the message can be send
> > from serweb to the
> > account (which stored in SILO) then can be checked
> > from the recipient
> > serweb account. But once i add the registrar line
> > in, the sending process
> > return error code of 405 timeout. can i know whats
> > the problem here?
> >
> > i am using ser-0.9.3
> >
> > thank you. >
>_______________________________________________
> > Serusers mailing list
> > serusers(a)lists.iptel.org
> > http://lists.iptel.org/mailman/listinfo/serusers
> >
>
>
>
>
>
>
>
>___________________________________________________________________________
>Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
>Téléchargez cette version sur http://fr.messenger.yahoo.com
Maybe not specific to ser, but I think this issue may be intresting to
serusers...
I think business voip solution would have a major added value if they could
offer fax service. After some googling around it seems that fax over IP
protocols (T.38) are somewhat unreliable.
Ok now some loud thinking:
enters SIP, and we all well know that SIP is media independent, so could I
send documents instead of voice? I mean having two SIP endpoints which can
transfer, say, a postscript file. Then we should build SIP fax machines which
can scan documents to ps and send and receive via SIP, and as well build PSTN
gateways which receive from SIP and simply pass ps data to some fax server
like hylafax.
Do you thik this is possible? Am I delirating?
ciao
--
Giovanni Balasso
giaso(a)yahoo.it
I am trying to implement Messaging from serweb to UA, but not a success.
i have this script in my ser.cfg
if (!lookup("location")) {
if (method == "MESSAGE") {
if (!t_newtran()) {
sl_reply_error();
break;
};
if (m_store("0")) {
t_reply("202", "Accepted for Later Delivery");
break;
};
};
sl_send_reply("404", "User Not Found !");
break;
};
but i read somewhere in google that i need to add in this line.
modparam("msilo", "registrar", "sip:registrar@iptel.org")
so that the UA will be notify if there is any new message.
If i don't add this line, the message can be send from serweb to the
account (which stored in SILO) then can be checked from the recipient
serweb account. But once i add the registrar line in, the sending process
return error code of 405 timeout. can i know whats the problem here?
i am using ser-0.9.3
thank you.
i am running a cluster with 2 sers. i start the 1st ser and several users
registers. the users show up in both the cache and the mysql db. then i start
the 2nd ser, and it loads the db into the cache. when the cache entries in the
2nd server times out, the entries are deleted from the db. however, when the
users registers in the 1st ser, they aren't entered into the db. how do i fix
this problem?
the db_mode is set to "2" w/ timer_interval at "10". i've even tried setting
the db_mode to "1", but that didn't help.
Jack Wei
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Hi
I seem to be having trouble with check_to() for registrations and
check_from() for invites, even though I have them right after *_authorize
and challenge calls. Maybe I don't fully understand the test that it does
but it prevents registration from all my clients seemingly. What is the test
failing on? Im getting 401 unauthorized. If I comment out the check_to()
test, I register just fine.
Could someone more fully explain the test criteria here so I can see where
my problem is, thx.
V0.9.3
Help appreciated,
Jon
Thanks Gareth,
As a matter of fact you don't even need that classkit.so per se if you compile php with apxs. Saying that, because I have not yum nor yamyam :-) in my OS, so I had to find out.
BTW, do you have anything in server monioring or acc or missed calls when you log on user. True there are no records in DB either.
Geo
My classkit.so is default located in /usr/lib/php/modules
I'm running Fedora Core 4, Apache 2.0.54, PHP 5.0.4.
G.
-----Original Message-----
From: GeoTel [mailto:geotelcom@yahoo.fr]
Sent: 12 July 2005 06:51
To: Gareth C. Fowler
Subject: Re: RE: [Serusers] Try install Classkit extension
Thanks Gareth but I did it as I say in php.ini.
Could you check for me where is your "classkit.so" installed ?
My is in '/var/tmp/pear-build-root/install-classkit-0.4//usr/local/lib/php/extensions/no-debug-non-zts-20041030/classkit.so' A little bid strange but no error.
Hi, I had the same problem. Check your php.ini config and add the following:
extension=classkit.so
It worked for me!
G.
Original Message-----
From: serusers-bounces(a)iptel.org [mailto:serusers-bounces@lists.iptel.org]On Behalf Of GeoTel
Sent: 12 July 2005 06:29
To: serusers(a)lists.iptel.org
Subject: [Serusers] Try install Classkit extension
Dear team,
Still having the same problem with classkit, same error:
"Function aggregate_methods() doesn't exists. "Try" install Classkit extension...."
yet, pear install OK
Installing '/var/tmp/pear-build-root/install-classkit-0.4//usr/local/lib/php/extensions/no-debug-non-zts-20041030/classkit.so'
install ok: classkit 0.4
and "php.ini"
.....................................
; Directory in which the loadable extensions (modules) reside.
extension_dir = "/usr/local/lib/php/extensions/"
extension=classkit.so
Any info,
Thanks
George
I am running SER from the command line as like so:
/usr/local/sbin/ser
However, I cannot control it via serctl due to the fact that when it
runs via that command it is not creating a PID. Is this symtomatic of
the way I am running it or is there something wrong with the code
causing it not to write out a PID file. I have searched for ser.pid on
my system and it is not there (was just making sure that serctl was not
looking in the wrong spot for the PID file). Any suggestions??
Thanks,
Jason