Account registration callback not getting called

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

 




On calling CActiveScheduler::Start() from my application, the callback is getting called. But it goes into an infinite loop, IoqueueCallback::RunL() keeps getting called again and again.

On debugging I found that in udp_on_read_complete, there is a counter 'i'  which should get incremented everytime. When this counter becomes greater than MAX_IMMEDIATE_PACKET, flags is set to PJ_IOQUEUE_ALWAYS_ASYNC. 

But 'i' is not getting incremented. Its always 0. Is there some problem or something is going wrong?

Thanks
Smiti

-----Original Message-----
From: pjsip-bounces@xxxxxxxxxxxxxxx [mailto:pjsip-bounces at lists.pjsip.org] On Behalf Of Smiti Gupta
Sent: Friday, June 26, 2009 3:56 PM
To: pjsip at lists.pjsip.org
Subject: FW: Account registration callback not getting called


I am trying to register a sip account. I am getting status as successful on calling pjsua_acc_add. But the call backs are not getting called. 

After checking various forums it seems to be Active Scheduler problem.  Do I need to install and start Active Schedule in my test program or my application or pjsip takes care of installing  Active Scheduler? 

Thanks & Regards
Smiti

**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
for the use of the addressee(s). If you are not the intended recipient, please 
notify the sender by e-mail and delete the original message. Further, you are not 
to copy, disclose, or distribute this e-mail or its contents to any other person and 
any such actions are unlawful. This e-mail may contain viruses. Infosys has taken 
every reasonable precaution to minimize this risk, but is not liable for any damage 
you may sustain as a result of any virus in this e-mail. You should carry out your 
own virus checks before opening the e-mail or attachment. Infosys reserves the 
right to monitor and review the content of all messages sent to or from this e-mail 
address. Messages sent to or from this e-mail address may be stored on the 
Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***

_______________________________________________
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