Re: [Sofia-sip-devel] local sip port

2011-07-08 Thread Nick Knight
Cool thanks, working now On Fri, Jul 8, 2011 at 1:48 PM, EiSl 1972 wrote: > Hi Nick, > > You should do it in the create: >   char url[256] = ""; > >   sprintf( url, >    _T("sip:%s:%d"), >    m_UseInterface, >    m_UsePort ); > >   m_Stack.nua =

Re: [Sofia-sip-devel] local sip port

2011-07-08 Thread EiSl 1972
Hi Nick, You should do it in the create: char url[256] = ""; sprintf( url, _T("sip:%s:%d"), m_UseInterface, m_UsePort ); m_Stack.nua = nua_create( m_Stack.root, s_HandleSofiaEvent,

Re: [Sofia-sip-devel] local sip port

2011-07-08 Thread Nick Knight
Hi, I am doing this: appl->nua = nua_create(appl->root, app_callback, appl, /* tags as necessary ...*/ TAG_NULL()); if (appl->nua != NULL) { nua

Re: [Sofia-sip-devel] local sip port

2011-07-07 Thread Michael Jerris
NUTAG_URL() pass it a string of the form sip:user@ip:port in nat scenarios you can add ;maddr= with another ip:port Mike On Jul 7, 2011, at 12:37 PM, Nick Knight wrote: > Hi, > > I have used sofia sip to create a TAPI bridge which works really > nicely. But I have a niggle I can't find how t

[Sofia-sip-devel] local sip port

2011-07-07 Thread Nick Knight
Hi, I have used sofia sip to create a TAPI bridge which works really nicely. But I have a niggle I can't find how to resolve. I am sure it is really simple, but for the life of me I cannot find out how to use a different local sip port (other than 5060). Help Thanks Nick -