Hi, I am using b2b module with topology hiding.
I am trying to terminate a call when i receive the 200OK response to an Invite. 
To accomplish this i am using the 'terminate_call' function defined in 
b2b_logic module.
The b2b module successfully generates a BYE to user B (callee), but fails to 
generate a Cancel to user A (caller). Here is the log where it fails to send 
cancel:

Feb 28 15:01:41 [1466] DBG:b2b_logic:b2bl_parse_key: hash_index = [286]  - 
local_index= [0]
Feb 28 15:01:41 [1466] DBG:b2b_entities:b2b_parse_key: hash_index = [310]  - 
local_index= [66]
Feb 28 15:01:41 [1466] DBG:b2b_entities:b2b_search_htable_next_dlg: entering 
with start=(nil), table=0x2ba1327a39b0, hash=310, label=66
Feb 28 15:01:41 [1466] DBG:b2b_entities:b2b_search_htable_next_dlg: searching  
callid 16[0f24ca6601104537]
Feb 28 15:01:41 [1466] DBG:b2b_entities:b2b_search_htable_next_dlg: searching   
totag 10[B2B.310.66]
Feb 28 15:01:41 [1466] DBG:b2b_entities:b2b_search_htable_next_dlg: searching 
fromtag 8[6a18b32d]
Feb 28 15:01:41 [1466] DBG:b2b_entities:b2b_search_htable_next_dlg: Match for 
server dlg [0x2ba1327a8a20] dlg->uas_tran=[0x2ba1327a8c48]
Feb 28 15:01:41 [1466] DBG:b2b_entities:b2b_send_request: Send request [CANCEL] 
for entity type [0] for dlg[0x2ba1327a8a20]->[B2B.310.66]
Feb 28 15:01:41 [1466] ERROR:b2b_entities:b2b_send_request: No transaction 
saved. Cannot send CANCEL

B2b fails to find a transaction to A (caller) and fails to generate a Cancel 
message to this user.

Is it possible to do what I am trying or is it a bug?

Kind regards

Jorge Pinho

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to