[OpenSIPS-Users] b2b refer scenario

Anton Zagorskiy a.zagorskiy at oyster-telecom.ru
Tue Dec 28 18:20:24 CET 2010


Hi.

I'm trying to use b2b refer scenario
http://www.opensips.org/Resources/B2buaTutorial#toc15
But I've got errors in the log:

*** route: REFER request, call B2B(refer)
DBG:core:parse_headers: flags=ffffffffffffffff
DBG:b2b_logic:b2bl_insert_new: new tuple [0xb60c1238]->[468.0]
DBG:core:parse_headers: flags=ffffffffffffffff
ERROR:b2b_entities:b2b_new_dlg: Called b2b_init on a Cancel message
ERROR:b2b_entities:server_new: failed to create new dialog structure entry
ERROR:b2b_logic:b2b_process_scenario_init: failed to create new b2b server
instance
DBG:b2b_logic:b2bl_delete: Delete record [0xb60c1238]->[468.0],
hash_index=[468], local_index=[0]
*** route: REFER request, B2B(refer) called, exit

I'm catching REFER in a loose_route section:

if (has_totag())
{
	if (loose_route())
      {
      	if ( ($DLG_status != NULL) && (!validate_dialog()) )
            {
            	xlog("*** !!! [ROUTE]: bad dialog");
            }
            else
            {
            	if (is_method("REFER"))
                  {
                  	xlog("*** route: REFER request, call B2B(refer)");
                        b2b_init_request("refer");
                        xlog("*** route: REFER request, B2B(refer) called,
exit");
                        exit;
                    };

					...

            };
	};
};


What I'm doing wrong?



WBR, Anton Zagorskiy
VoIP Developer, Oyster Telecom
Phone.: +7 812 601-0666
Fax: +7 812 601-0593
a.zagorskiy at oyster-telecom.ru
www.oyster-telecom.ru







More information about the Users mailing list