Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

[Opensips - B2BUA] Error : No dialog found..

2011-12-09
2013-05-09
  • Florent Volpo
    Florent Volpo
    2011-12-09

    Hello,

    I Have a problem on Opensips, to use B2BUA with a refer scenario.

    I have this problem :
    ERROR:b2b_entities:b2b_prescript_f: No dialog found, callid= , method=REFER

    When, the B2BUA receive the REFER method, the call transfer doesn't work..

    Could someone help me please ?

    Thanks in advance,

    Florent.


    My logs with this error:

    Dec  9 11:31:12 localhost opensips: DBG:core:destroy_avp_list: destroying list (nil)
    Dec  9 11:31:12 localhost opensips: DBG:core:receive_msg: cleaning up
    Dec  9 11:31:12 localhost opensips: DBG:tm:utimer_routine: timer routine:4,tl=0xb59ab8cc next=(nil), timeout=9700000
    Dec  9 11:31:12 localhost opensips: DBG:tm:utimer_routine: timer routine:4,tl=0xb59a9964 next=(nil), timeout=9800000
    Dec  9 11:31:15 localhost opensips: DBG:core:parse_msg: SIP Request:
    Dec  9 11:31:15 localhost opensips: DBG:core:parse_msg:  method:  <REFER>
    Dec  9 11:31:15 localhost opensips: DBG:core:parse_msg:  uri:     <sip:10.24.246.91:5062>
    Dec  9 11:31:15 localhost opensips: DBG:core:parse_msg:  version: <SIP/2.0>
    Dec  9 11:31:15 localhost opensips: DBG:core:parse_headers: flags=2
    Dec  9 11:31:15 localhost opensips: DBG:core:parse_via_param: found param type 232, <branch> = <z9hG4bKddf1.a7cf4052.0>; state=16
    Dec  9 11:31:15 localhost opensips: DBG:core:parse_via: end of header reached, state=5
    Dec  9 11:31:15 localhost opensips: DBG:core:parse_headers: via found, flags=2
    Dec  9 11:31:15 localhost opensips: DBG:core:parse_headers: this is the first via
    Dec  9 11:31:15 localhost opensips: DBG:core:receive_msg: After parse_msg…
    Dec  9 11:31:15 localhost opensips: DBG:core:receive_msg: preparing to run routing scripts…
    Dec  9 11:31:15 localhost opensips: DBG:core:parse_headers: flags=ffffffffffffffff
    Dec  9 11:31:15 localhost opensips: DBG:core:parse_to_param: tag=13086SIPpTag011
    Dec  9 11:31:15 localhost opensips: DBG:core:parse_to_param: tag=13086SIPpTag011
    Dec  9 11:31:15 localhost opensips: DBG:core:parse_to: end of header reached, state=29
    Dec  9 11:31:15 localhost opensips: DBG:core:parse_to: display={}, ruri={sip:111@10.24.246.91:5063}
    Dec  9 11:31:15 localhost opensips: DBG:core:get_hdr_field: <To> ; uri=
    Dec  9 11:31:15 localhost opensips: DBG:core:get_hdr_field: to body
    Dec  9 11:31:15 localhost opensips: DBG:core:get_hdr_field: cseq <CSeq>: <1> <REFER>
    Dec  9 11:31:15 localhost opensips: DBG:core:get_hdr_field: content_length=0
    Dec  9 11:31:15 localhost opensips: DBG:core:get_hdr_field: found end of header
    Dec  9 11:31:15 localhost opensips: DBG:b2b_entities:b2b_prescript_f: start - method = REFER
    Dec  9 11:31:15 localhost opensips: DBG:b2b_entities:b2b_prescript_f: <uri> host:port
    Dec  9 11:31:15 localhost opensips: DBG:b2b_entities:b2b_prescript_f: <socket> address:port
    Dec  9 11:31:15 localhost opensips: DBG:b2b_entities:b2b_prescript_f: <socket> address:port
    Dec  9 11:31:15 localhost opensips: DBG:core:parse_to_param: tag=8ce09851b296d7c859872c90a73bb9de-8f38
    Dec  9 11:31:15 localhost opensips: DBG:core:parse_to: end of header reached, state=29
    Dec  9 11:31:15 localhost opensips: DBG:core:parse_to: display={}, ruri={sip:sipp@127.0.0.1:5060}
    Dec  9 11:31:15 localhost opensips: DBG:b2b_entities:b2b_parse_key: Does not have b2b_entities prefix
    Dec  9 11:31:15 localhost opensips: DBG:b2b_entities:b2b_parse_key: hash_index =   - local_index=
    Dec  9 11:31:15 localhost opensips: DBG:b2b_entities:b2b_prescript_f: received a b2b client request
    Dec  9 11:31:15 localhost opensips: DBG:b2b_entities:b2b_search_htable_next_dlg: searching   totag
    Dec  9 11:31:15 localhost opensips: DBG:b2b_entities:b2b_search_htable_next_dlg: searching fromtag
    Dec  9 11:31:15 localhost opensips: DBG:b2b_entities:b2b_prescript_f: No dialog found
    Dec  9 11:31:15 localhost opensips: ERROR:b2b_entities:b2b_prescript_f: No dialog found, callid= , method=REFER
    Dec  9 11:31:15 localhost opensips: REQU:<REFER> cid:B2B.368.4751306 ruri:sip:10.24.246.91:5062 furi:sip:sipp@127.0.0.1:5060 turi:sip:111@10.24.246.91:5063 cseq:1  (len:438)
    Dec  9 11:31:15 localhost opensips: REFER sip:10.24.246.91:5062 SIP/2.0#015#012Via: SIP/2.0/UDP 10.24.246.91:5062;branch=z9hG4bKddf1.a7cf4052.0#015#012From: <sip:sipp@127.0.0.1:5060>;tag=8ce09851b296d7c859872c90a73bb9de-8f38#015#012To: <sip:111@10.24.246.91:5063>;tag=13086SIPpTag011;tag=13086SIPpTag011#015#012Call-ID: B2B.368.4751306#015#012CSeq: 1 REFER#015#012Contact: <sip:127.0.0.1:5063;transport=UDP>#015#012Max-Forwards: 70#015#012Subject: Performance Test#015#012Content-Length: 0#015#012Refer-To: <sip:10.24.243.11:5060>#015#012#015#012