Assertion in pjsua_call_hangup

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

 



Does anyone have insight into what could be causing the following assertion
using the PJSUA interface?  My application has been working fine for a long
time with other 1.x versions.  This problem popped up with 1.5.5 (although I
have not used all the library versions up to 1.5.5).   It does not happen
every time, but very frequently in a call loop.  The call loops a few times
if busy or the call is answered but no sound is detected.

 

Assertion failed: !"Bug in branch_param generator (i.e. not unique)", file
c:\projects\pjproject\pjsip\src\pjsip\sip_transaction.c, line 1280

 

Here is the call stack.

 

Quick.exe!_NMSG_WRITE(int rterrnum=10)  Line 198

Quick.exe!abort()  Line 59 + 0x7 bytes

Quick.exe!_wassert(const wchar_t * expr=0x00a1d6d8, const wchar_t *
filename=0x00a1d3c8, unsigned int lineno=1280)  Line 212     

Quick.exe!pjsip_tsx_create_uac(pjsip_module * tsx_user=0x00ace8f0,
pjsip_tx_data * tdata=0x017ae03c, pjsip_transaction * * p_tsx=0x0013e65c)
Line 1280 + 0x22 bytes      

Quick.exe!pjsip_dlg_send_request(pjsip_dialog * dlg=0x017a28ac,
pjsip_tx_data * tdata=0x017ae03c, int mod_data_id=6, void *
mod_data=0x017aaa58)  Line 1176 + 0x14 bytes   

Quick.exe!pjsip_inv_send_msg(pjsip_inv_session * inv=0x0177edf8,
pjsip_tx_data * tdata=0x017ae03c)  Line 2527 + 0x1b bytes    

Quick.exe!pjsua_call_hangup(int call_id=2, unsigned int code=200, const
pj_str_t * reason=0x00000000, const pjsua_msg_data * msg_data=0x00000000)
Line 1482 + 0x10 bytes  

 

The general flow of my application is below.  It is quite simple, but the
assert keeps popping up.

// LOOP STARTS

pjsua_create()

pjsua_init()

pjsua_transport_create()

pjsua_start()

pjsua_acc_add()

// CALL LOOP STARTS.  

pjsua_verify_sip_url()

pjsua_call_make_call()

pjsua_call_hangup(()

// CALL LOOP ENDS

pjsua_acc_del()

pjsua_destroy()

//LOOP ENDS

 

 

Any ideas?

 

Sincerely,

Archie

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20100319/b35f8298/attachment.html>


[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