python auto hangup

K
ktx@matfyz.cz
Fri, Jun 4, 2010 8:37 AM

Hi all,

I am using pjsip 1.6 and want to write a Python app that will hangup
incoming or outgoing calls after N (~6) seconds (3 times ringing). Is it
possible using Python bindings? Is it even possible in C API?

If yes, could you, please, point me to some example? If it would be not
so hard, I could also help integrate into Python bindings.

Thanks for the replies :)
Karol

Hi all, I am using pjsip 1.6 and want to write a Python app that will hangup incoming or outgoing calls after N (~6) seconds (3 times ringing). Is it possible using Python bindings? Is it even possible in C API? If yes, could you, please, point me to some example? If it would be not so hard, I could also help integrate into Python bindings. Thanks for the replies :) Karol
AG
Adrian Georgescu
Fri, Jun 4, 2010 8:39 AM

Try this which does exactly what you need already:

http://sipsimpleclient.com/wiki/sip_audio_session

Adrian

On Jun 4, 2010, at 10:37 AM, ktx@matfyz.cz wrote:

Hi all,

I am using pjsip 1.6 and want to write a Python app that will hangup
incoming or outgoing calls after N (~6) seconds (3 times ringing). Is it
possible using Python bindings? Is it even possible in C API?

If yes, could you, please, point me to some example? If it would be not
so hard, I could also help integrate into Python bindings.

Thanks for the replies :)
Karol


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

Try this which does exactly what you need already: http://sipsimpleclient.com/wiki/sip_audio_session Adrian On Jun 4, 2010, at 10:37 AM, ktx@matfyz.cz wrote: > Hi all, > > I am using pjsip 1.6 and want to write a Python app that will hangup > incoming or outgoing calls after N (~6) seconds (3 times ringing). Is it > possible using Python bindings? Is it even possible in C API? > > If yes, could you, please, point me to some example? If it would be not > so hard, I could also help integrate into Python bindings. > > Thanks for the replies :) > Karol > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >