session.py will show if the session is active. Also when a call is put on hold, there will be no rtp stream. I don't know if your SBC handles that.
Or is your question something else?
g-)
----- Original Message -----
From: Hakan YASTI
To: Greger V. Teigre ; serusers@lists.iptel.org ; ritesh.j@net4.in
Sent: Wednesday, October 26, 2005 09:18 AM
Subject: RE: [Serusers] end the session if no media

Hi Teigre,

 

Thanks for your reply and kind suggestions. In fact, I am using a session controller for sip calls. And it alerts me via email when a sessiıon is reached for about 60 minutes. At that time,

I check it manually and kil the session if the session is abondened. By sending BYE messages to both legs. From the PSTN side I get the reply what I assume ( 200 OK ) but from the sip side I get No transaction exist.

Because the session was ended before and session controller couldn’t get the BYE message for some reasons. ( Network failure or something else ).

What I am looking for that, from the media proxy, I see the active rtp session when I use media proxy for the calls. And I assume that, when the call has finished and couldn’t send or get BYE message, there will be no rtp stream going on. May be I am wrong for this. If rtp session is still open when the a side hunp up and couldn’t send bye , there is nothing to do except killing the session with sending bye messages to both sides, because there is no way to understand the call is active or not.

 

Best Regards,

Hakan

 

 

 


From: Greger V. Teigre [mailto:greger@teigre.com]
Sent: Wednesday, October 26, 2005 10:00 AM
To: Hakan YASTI; serusers@lists.iptel.org; ritesh.j@net4.in
Subject: Re: [Serusers] end the session if no media

 

Hakan and Ritesh,

It seems to me that you are both asking about the same thing. This topic has been discussed many times on serusers. Search google (site:mail.iptel.org) for "BYE stateful sipsak", I'm pretty sure you will get some info.

Also, this FAQ could help:

http://www.onsip.org/modules/xoopsfaq/index.php?cat_id=3#q2

g-)

----- Original Message -----

From: Hakan YASTI

To: serusers@lists.iptel.org

Sent: Thursday, October 13, 2005 09:13 AM

Subject: [Serusers] end the session if no media

 

Hi,

 

I wonder, is there any way, to  end the session when the media has ended. Sometimes, we have problem at BYE message. For some reasons, the bye is not coming and may be it is coming wrong.

At that time, the media is ended but the call is seen as active.

I am using ser and using media proxy.

 

Any suggestion for this issue ?

Best Regards,

 

 

Hakan YASTI

NGN Engineer

Teletek Telekomünikasyon Hizmetleri A.Þ.
Ayazma Dere Cad. Akþit Plaza No:12
Fulya, Beþiktaþ ISTANBUL - TURKEY

Tel : +90 212 310 22 34
Fax : +90 212 227 8700
GSM : +90 533 669 06 84

E-mail: hakan.yasti@teletek.net
http://www.teletek.net

 


_______________________________________________
Serusers mailing list
serusers@lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers

Disclaimer:
This e-mail (including any attachments) may contain confidential and/or privileged information. Copying, disclosure or distribution of the material in this e-mail without our companys' authority is strictly forbidden. If you are not the intended recipient (or have received this e-mail in error), please notify the sender and delete it from your system immediately. Our Company makes no warranty as to the accuracy or completeness of any information contained in this message and hereby excludes any liability of any kind for the information contained therein or for the information transmission, reception, storage or use of such in any way whatsoever. Any opinions expressed in this message are those of the author and may not necessarily reflect the opinions of Our Company.
Yasal Uyarı:
Bu e-posta'nin içerdigi bilgiler (ekleri de dahil olmak üzere) gizlidir. Şirketimizin onayı olmaksızın içeriği kopyalanamaz, üçüncü kişilere açıklanamaz veya iletilemez . Bu mesajın gönderilmek istendiği kişi değilseniz (ya da bu e-posta’yı yanlışlıkla aldıysanız), lütfen yollayan kişiyi haberdar ediniz ve mesajı sisteminizden derhal siliniz. Şirketimiz bu mesajın içerdigi bilgilerin doğruluğu veya eksiksiz olduğu konusunda bir garanti vermemektedir. Bu nedenle bilgilerin ne şekilde olursa olsun içeriğinden, iletilmesinden, alınmasından, saklanmasından sorumlu değildir. Bu mesajın içeriği yazarına ait olup, Şirketimizin görüşlerini içermeyebilir.