[sr-dev] almost ok with testing

Juha Heinanen jh at tutpro.com
Sun Jul 19 10:48:19 CEST 2009


Juha Heinanen writes:

 > please add the missing params to dlg_bridge and i'll give it a try.

i didn't find socket param in t_request call that dialog module
dlg_bridge function executes:

	ret = d_tmb.t_request(&s_method,  /* Type of the message */
		&dtc->from,                   /* Request-URI (To) */
		&dtc->from,                   /* To */
		&dlg_bridge_controller,       /* From */
		&s_hdrs, /* Optional headers including CRLF */
		&s_body, /* Message body */
		(op!=NULL && op->len>0)?op:NULL, /* outbound uri */
		dlg_bridge_tm_callback, /* Callback function */
		(void*)(long)dtc        /* Callback parameter */
		);

if i remember correctly, socket needs to be specified given if phone
that is used for click-to-dial is behind nat.

-- juha



More information about the sr-dev mailing list