[sr-dev] almost ok with testing

Daniel-Constantin Mierla miconda at gmail.com
Sun Jul 19 11:04:26 CEST 2009



On 19.07.2009 10:48 Uhr, Juha Heinanen wrote:
> Juha Heinanen writes:
>
>  > please add the missing params to dlg_bridge and i'll give it a try.
>   
it is not one-to-one replacement to MI uac tm function. This one will go 
via usrloc and everything is resolved there - you have to provide the 
AoRs of caller and callee. It can work even if you use a dedicated proxy 
instance only for c2d.

Cheers,
Daniel

> 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
>   

-- 
Daniel-Constantin Mierla
http://www.asipto.com/index.php/sip-router-bootcamp/




More information about the sr-dev mailing list