Hey guys, Following up to my previous email about my code(implemented using the python wrapper) working on vista 32 bit but not ubuntu 64bit, I have tested on ubuntu 32 bit and it doesnt seem to work either. The error on ubuntu is "python: ../src/pjsua-lib/pjsua_acc.c:422: pjsua_acc_get_user_data: Assertion 'pj sua_var.acc[acc_id].valid' failed. Are there any implementation differences between vista 32 and ubuntu 8.10? the following code is called on a loop, which works on vista but not ubuntu: try: # make library instance lib = pj.Lib() #increasing the max no of calls to 20 UAconfig = pj.UAConfig() UAconfig.max_calls = 20 # initialise lib lib.init(UAconfig) # set no sound devices lib.set_null_snd_dev() # Create UDP transport which listens to any available port transport = lib.create_transport(pj.TransportType.UDP, pj.TransportConfig(0)) # start the library lib.start() # Create the account acc_cfg = pj.AccountConfig(sip_server_hostname, sip_server_username, sip_server_secret) acc = lib.create_account(acc_cfg, set_default=True,cb=None) my_cb = AccountCallbackObject(acc) # make calls lck = lib.auto_lock() # creating the call objects active_calls = [] try: #global current_call for address in call_list: current_call = make_call(acc, 'sip:' + address + ':5060') active_calls.append(current_call) print 'making call object sip:' + address + ':5060' print 'the current call slot just after creation: '+ str(current_call.info().conf_slot) except pj.Error, e: print "Exception: " + str(e) del lck #current_call.hangup() lib.hangup_all() time.sleep(10) acc.delete() #acc = None lib.destroy() #lib = None time.sleep(20) # @@TODO make variable # shutdown the library #transport = None except pj.Error, e: print "Exception: " + str(e) lib.destroy() lib = None Thanks all, Tony _________________________________________________________________ Windows Live Messenger: Happy 10-Year Anniversary?get free winks and emoticons. http://clk.atdmt.com/UKM/go/157562755/direct/01/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090729/5cf26d2b/attachment.html>