How can i Handle an incoming GSM call during an active VoIP call

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Why don't commit the code to the pjsip codebase?

Having a notification about an incoming call with another telephony 
technology (that usually have also higher priority on the phone) would 
be very useful for all mobile application developer.

I would suggest to even make an "abstracted" cross-platform API to 
manage incoming GSM call because it could be a standard features in all 
mobile voip clients.

Fabio

jaspreet madan wrote:
>
> Hi,
>    I am using pjsip 0.8.0 on Windows mobile 6. I am facing similar 
> issue. I am using windows API to get incoming GSM notification. On 
> notification when I try to release on going Viop call using pjsip 
> function it asserts at
>  
> /pj_assert(!//"Calling pjlib from unknown/external thread. You must "/
> /"register external threads with pj_thread_register() "/
> /"before calling any pjlib functions."//);/
> // 
> This according to my understanding is happening because the release 
> function is called from the different thread i.e. in the callback 
> thread.. How can i register that thread? or is there any other reason 
> for this and how can i handle it??
>  
>  
> Regards,
> Jaspreet
>
>  
>  
>
>
> --- On *Fri, 5/9/08, Nanang Izzuddin /<nanang at pjsip.org>/* wrote:
>
>     From: Nanang Izzuddin <nanang@xxxxxxxxx>
>     Subject: Re: How can i Handle an incoming GSM call during
>     an active VoIP call
>     To: rammeth at yahoo.co.in, "pjsip list" <pjsip at lists.pjsip.org>
>     Date: Friday, 5 September, 2008, 5:04 PM
>
>     Hi,
>
>     I have no idea what caused the crash, never tried this scenario
>     actually. It would be great if you could run in debug mode and
>     inspect the location & variables condition when crash happens.
>
>     In case it's related to sound device sharing, please try to set
>     pjsua media config "snd_auto_close_time" to 0 (it's hardcoded to 5
>     seconds in symbian_ua_gui), this will make sound device instantly
>     closed when it is unused, e.g: call disconnected.
>
>     Regards,
>     nanang
>
>
>     On Fri, Sep 5, 2008 at 12:26 PM, rams <rammeth at yahoo.co.in
>     <mailto:rammeth at yahoo.co.in>> wrote:
>
>         Hi
>
>           I downloaded Latest Symbian Version from SVN Trunk.
>
>         i compiled and run the symbian_ua_gui, ported in Mobile device
>         and its registered successfully.
>
>         i made a call from A to B, call is connected perfectly.
>
>         when A and B are in connected state,if any incoming GSM call
>         for A, at this time Application is Crashing.
>
>         So iam detecting the incoming GSM call using ETEL 3rd Party
>         API and in the Ringing state i called the symbian_ua_endcall()
>         [Voip Call Hangup Function]. At this time also Application is
>         crashing.
>
>         Please tell me how can i handle this senario in PJSIP.
>
>
>         Thanks & Regards
>         Rams
>
>
>
>         ------------------------------------------------------------------------
>         Unlimited freedom, unlimited storage. Get it now
>         <http://in.rd.yahoo.com/tagline_mail_2/*http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08..html/>
>         _______________________________________________
>         Visit our blog: http://blog.pjsip.org <http://blog.pjsip.org/>
>
>         pjsip mailing list
>         pjsip at lists.pjsip.org <mailto:pjsip at lists.pjsip.org>
>         http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>         <http://lists.pjsip..org/mailman/listinfo/pjsip_lists.pjsip.org>
>
>
>     _______________________________________________
>     Visit our blog: http://blog.pjsip.org
>
>     pjsip mailing list
>     pjsip at lists.pjsip.org
>     http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>               
>
>
> ------------------------------------------------------------------------
> Add more friends to your messenger and enjoy! Invite them now. 
> <http://in.rd.yahoo.com/tagline_messenger_6/*http://in.messenger.yahoo.com/invite/> 
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>   




[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux