On 08/09/2013 10:30 AM, ThanhTruong wrote:
> Hi,
>
> I have used ngrep -p -q -W byline port 5060 in this server and did not see
> any invite message sent out.
>
> I think sofia-sip handling it and drop it, not send it out.
>
> is there any way to get it work ? do you have any example code to send invite
> to one sip server ? (only how to use nua_invite to send one INVITE message to
> one server)
>
> Thanks,
>
>
> ThanhTruong
>
>
> ________________________________
> From: Andreas Wehrmann <[email protected]>
> To: ThanhTruong <[email protected]>
> Cc: "[email protected]"
> <[email protected]>
> Sent: Friday, August 9, 2013 3:19 PM
> Subject: Re: [Sofia-sip-devel] Cant using nua_invite to initial call.
>
>
>
>
This is a (very much) stripped down example from my code
(NOTE: that I didn't include the SDP string here!):
nua_handle_t* nh = NULL;
sip_to_t* to = sip_to_create( NULL, URL_STRING_MAKE( "sip:bla@something"
) );
nh = nua_handle( sip_stack, NULL,
SIPTAG_TO( to ),
TAG_END() );
nua_invite( nh,
SOATAG_USER_SDP_STR( sdp_os.str().c_str() ),
TAG_END() );
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Sofia-sip-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel