[ACTIVENDY] NOC wrote:
Hi Bodgan
I got INVITEs in my db, but OpenSER insert the INVITE message into my db when get a 200 code response to this INVITE. I would like to insert this INVITE before it, when the phone is still ringing, cause i need to know the setup time and when there is a call attempt in my system. Is this possible?
Thanks,
Sergi
Bogdan-Andrei Iancu wrote:
Hi Sergi,
The START acc event (corresponding to INVITE) has no dependency to the ACK. Do you get any INVITE acc in your DB?
regards, Bogdan
[ACTIVENDY] NOC wrote:
Hi,
I need to know when a channel of my media gateway is busy (included when the call is still ringing, etc). I have my Openser working with acc module storing in a mysql database. I don't use media proxy server. I can see the media gateway active calls in the acc table calculating the INVITEs whithout BYEs call registers. But I see Openser doesn't insert the INVITE register still and ACK arrives. It means I just can view in my database the number of active calls but i cannot know how many call attempts there's in the media gateway. How can I do to Openser insert the INVITE register to my database when an INVITE messages arrives and don't wait for the ACK message?
Thanks in advance,
Sergi
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Hi Sergi,
Openser adds the acc record only when the transaction is completed in order to insert also the reply code in the record. If you want to log it before the reply, you should force the accouting via script functions like acc_db_request(): http://www.openser.org/docs/modules/1.2.x/acc.html#AEN498
regards, bogdan
[ACTIVENDY] NOC wrote:
Hi Bodgan
I got INVITEs in my db, but OpenSER insert the INVITE message into my db when get a 200 code response to this INVITE. I would like to insert this INVITE before it, when the phone is still ringing, cause i need to know the setup time and when there is a call attempt in my system. Is this possible?
Thanks,
Sergi
Bogdan-Andrei Iancu wrote:
Hi Sergi,
The START acc event (corresponding to INVITE) has no dependency to the ACK. Do you get any INVITE acc in your DB?
regards, Bogdan
[ACTIVENDY] NOC wrote:
Hi,
I need to know when a channel of my media gateway is busy (included when the call is still ringing, etc). I have my Openser working with acc module storing in a mysql database. I don't use media proxy server. I can see the media gateway active calls in the acc table calculating the INVITEs whithout BYEs call registers. But I see Openser doesn't insert the INVITE register still and ACK arrives. It means I just can view in my database the number of active calls but i cannot know how many call attempts there's in the media gateway. How can I do to Openser insert the INVITE register to my database when an INVITE messages arrives and don't wait for the ACK message?
Thanks in advance,
Sergi
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Thank you very much for your help. I'll try it.
Bogdan-Andrei Iancu wrote:
Hi Sergi,
Openser adds the acc record only when the transaction is completed in order to insert also the reply code in the record. If you want to log it before the reply, you should force the accouting via script functions like acc_db_request(): http://www.openser.org/docs/modules/1.2.x/acc.html#AEN498
regards, bogdan
[ACTIVENDY] NOC wrote:
Hi Bodgan
I got INVITEs in my db, but OpenSER insert the INVITE message into my db when get a 200 code response to this INVITE. I would like to insert this INVITE before it, when the phone is still ringing, cause i need to know the setup time and when there is a call attempt in my system. Is this possible?
Thanks,
Sergi
Bogdan-Andrei Iancu wrote:
Hi Sergi,
The START acc event (corresponding to INVITE) has no dependency to the ACK. Do you get any INVITE acc in your DB?
regards, Bogdan
[ACTIVENDY] NOC wrote:
Hi,
I need to know when a channel of my media gateway is busy (included when the call is still ringing, etc). I have my Openser working with acc module storing in a mysql database. I don't use media proxy server. I can see the media gateway active calls in the acc table calculating the INVITEs whithout BYEs call registers. But I see Openser doesn't insert the INVITE register still and ACK arrives. It means I just can view in my database the number of active calls but i cannot know how many call attempts there's in the media gateway. How can I do to Openser insert the INVITE register to my database when an INVITE messages arrives and don't wait for the ACK message?
Thanks in advance,
Sergi
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users