[Sofia-sip-devel] Multiple Registration support

2010-07-12 Thread Nauman Sulaiman
Hi, using sofia 1.12.10 I have read through the archives various posts on NUTAG_M_USERNAME and NUTAG_IDENTITY and its just confusing. Here's what i want to do, i want my applicationto support registrations with different SIP providers so that it can receive INVITES from different providers at an

[Sofia-sip-devel] Duration of Sofia root step interval

2010-07-12 Thread Nauman Sulaiman
Hi, using sofia 1.12.10. How frequently must one call the Sofia root step function. i am currently calling every second. Is this too much? Thanks -- This SF.net email is sponsored by Sprint What will you do first w

Re: [Sofia-sip-devel] Multiple Registration support

2010-07-25 Thread Nauman Sulaiman
: Pekka Pessi Subject: Re: [Sofia-sip-devel] Multiple Registration support To: nauman762-h...@yahoo.co.uk Cc: sofia-sip-devel@lists.sourceforge.net Date: Wednesday, 14 July, 2010, 16:58 Hi, 2010/7/12 Nauman Sulaiman > > Then i tried with 2 different accounts, one Sipgate the other Callcent

[Sofia-sip-devel] Contact header incorrect

2010-07-26 Thread Nauman Sulaiman
Hi, using Sofia 1.12.10. I have multiple sip accounts, with separate nua handles for each nua_register etc. When i get a nua_i_invite and send a response it seems to pick a contact randomly from sip accounts that i have for the contact header. I am switching on the sip_request field to determine

[Sofia-sip-devel] Using TLS with sofia

2010-08-01 Thread Nauman Sulaiman
Hi, using version 1.12.10. We've compiled OpenSSL 0.9.8, also compiled the 2 source files related to tls in tport. We know that in NUTAG_URL we must pass in transport=tls. What else do we need to do to enable tls on Sofia, is there any sample code to show how to use it? Thanks -

[Sofia-sip-devel] Multiple transports with single nua_create instance

2010-08-01 Thread Nauman Sulaiman
Hi, using sofi 1.12.10 we have managed t support multiple registrations using separate nua handle to nua_register call, single nua_create call. However is it possible to specify separate ports and transport for each nua_handle OR do we need to create a separate stack instance to support this ie

[Sofia-sip-devel] Using VPN

2010-09-14 Thread Nauman Sulaiman
Hi, using 1.12.10. Sofia doesn't seem to select the vpn ip when connected over VPN. It still seems to be listening on the usual WiFI access point ip, this is the same no matter what ip is passed to NUTAG_URL. How can we tell Sofia to select a certain interface, this is on iphone OS. Thanks

[Sofia-sip-devel] su_root_threading query

2010-09-15 Thread Nauman Sulaiman
Hi, using 1.12.10 i've set su_root_threading to multithreading mode. But when i call nua_register for example from the main thread of my app it blocks it, it appears to be all the sresolv stuff. Should this be expected and i should be calling the nua functions on a separate thread. If someone cou

[Sofia-sip-devel] Assertion failed: (b == bend) problem

2010-10-27 Thread Nauman Sulaiman
Hi, Using sofia 1.12.10. We are getting the following assertion in nua_signal after a nua_register call : Assertion failed: (b == bend) What is the purpose of this assertion? Is it saying there is something wrong with any of tag parameters passed to nua_register. Thanks -

[Sofia-sip-devel] Receiving 500 glare causes Sofia to terminate dialog

2010-11-21 Thread Nauman Sulaiman
Hi, using 1.12.10. I've noticed that Sofia if in established dialog it receives 500 due to invites sent at same time for example both parties put each other on hold simultaneously. Sofia automatically sends a BYE. My understanding of RFC 3261 section 14.1 is that if the UA receives a non 2XX re

[Sofia-sip-devel] Where is NUTAG_AUTO302(1)?

2010-11-27 Thread Nauman Sulaiman
Hi, using sofia 1.12.10, couldn't find NUTAG_AUTO302(1) tag. Which version should i be using to use this tag. Thanks -- Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest

[Sofia-sip-devel] Building latest sofia lib from git repo

2010-11-27 Thread Nauman Sulaiman
Hi, I've been using 1.12.10 and as i would like to use the NUTAG_AUTO302 tag i need to use a release from git. So i'm going for the latest master branch. I downloaded the tar.gz file, i'm on mac os snow leopard here. With 1.12.10 i simply used ./configure + make and it built right away. However

[Sofia-sip-devel] Populating to header from Refer message with replaces

2010-12-08 Thread Nauman Sulaiman
Hi, using sofia 1.12.10 how to populate TO header of Invite created in response to incoming REFER with refer-to header containing replaces parameter. I can't just use the refer-to uri on its own as it has the all the replaces stuff. I suppose i could grab the various bits from the refer-to heade

[Sofia-sip-devel] Disabling REFER autorespond in Sofia - side issue

2010-12-14 Thread Nauman Sulaiman
Hi, using Sofia 1.12.10. If i disable autorespond 202 for incoming refer like this NUTAG_APPL_METHOD("REFER") So i handle the 202 myself like this nua_respond(nh, SIP_202_ACCEPTED, NUTAG_WITH_CURENT(nua), TAG_END()); But then when i try to save the event handle of the refer so i can pass to out

[Sofia-sip-devel] Register WWW-Authenticate header 'qop' missing

2011-01-08 Thread Nauman Sulaiman
Hi, using 1.12.10 sofia. If one receives a challenge to register request I currently reply with nua_authenticate(NUTAG_AUTH()) However if the challenge had the 'qop' parameter then this does not get copied to the response sent by nua_authenticate. Plus no 'nc' parameter. how do i add these to t

[Sofia-sip-devel] Is CLRF UDP keepalive supported in sofia sip

2011-01-10 Thread Nauman Sulaiman
Hi, have noticed there is a TCP CLRF keepalive. Was wondering if there is equivalent UDP? Thanks -- Gaining the trust of online customers is vital for the success of any company that requires sensitive data to b

Re: [Sofia-sip-devel] Register WWW-Authenticate header 'qop' missing

2011-01-11 Thread Nauman Sulaiman
Please ignore previous message, i was talking rubbish :) qop is there of course --- On Sat, 8/1/11, Nauman Sulaiman wrote: > From: Nauman Sulaiman > Subject: [Sofia-sip-devel] Register WWW-Authenticate header 'qop' missing > To: sofia-sip-devel@lists.sourceforge.net > Dat

[Sofia-sip-devel] Turning off tport bad message error

2011-02-09 Thread Nauman Sulaiman
Hi, Using the latest git master version. I keep getting the following error. How do i stop it from happening and also how to turn off the log. Setting TPORT_DEBUG to 0 did not help. "nta_agent:tport:Bad message" Many thanks --

[Sofia-sip-devel] Incoming REFER , how does app receive status of NOTIFYs

2011-02-10 Thread Nauman Sulaiman
Hi, Using latest Sofia master from git. When i get an incoming REFER the stack sends NOTIFY's to the referror if i pass the event to the INVITE i generate. This works very nicely. But how does the app know what NOTIFY's are being sent to the referror ie i would like to get hold of the Sipfrag

Re: [Sofia-sip-devel] Turning off tport bad message error

2011-02-10 Thread Nauman Sulaiman
Please ignore previous message, this error message is error condition so desn't appear to be under control of Environment variables, --- On Wed, 9/2/11, Nauman Sulaiman wrote: > From: Nauman Sulaiman > Subject: [Sofia-sip-devel] Turning off tport bad message error > To: s

[Sofia-sip-devel] NOTIFY sip frag set to 503 when receiving 407 Invite response

2011-03-30 Thread Nauman Sulaiman
Hi, when performing an attended transfer, when the transfer destination sends a 407 to the INVITE with replaces generated by transferee, a NOTIFY with 503 sipfrag is sent to the transferrer. Code is here in nua_session.c in function nh_referral_respond. The transfer destination is in different do

[Sofia-sip-devel] How to know when to send PRACK?

2011-06-25 Thread Nauman Sulaiman
Hi, To use PRACK in our application we set 100rel as supported in outgoing INVITE. However to know whether to use nua_prack as response to a 18X, does the application have to always check the Require header in a 18X to see if it has 100rel or is there some other we should be doing it? Also if i

[Sofia-sip-devel] PRACK and 200 OK(INVITE) forking issue

2011-06-29 Thread Nauman Sulaiman
Hi, using Sofia 1.12.11 We have the following flow UAC UAS --> INVITE <-- 183 rel ---> PRACK <--- 200OK <--- 200 OK (different To tag to 183 above) ---> ACK

Re: [Sofia-sip-devel] How to know when to send PRACK?

2011-07-01 Thread Nauman Sulaiman
Please ignore this, we can just check if there is a REQUIRE 100rel header in the 18x response --- On Sat, 25/6/11, Nauman Sulaiman wrote: > From: Nauman Sulaiman > Subject: [Sofia-sip-devel] How to know when to send PRACK? > To: sofia-sip-devel@lists.sourceforge.net > Date: Satur

Re: [Sofia-sip-devel] PRACK and 200 OK(INVITE) forking issue

2011-07-01 Thread Nauman Sulaiman
e discarded. We just want the first 200OK final response to be passed to our application irrespective of which fork its from and are happy for CANCEL to be sent to others. Any comments most appreciated. Thanks --- On Wed, 29/6/11, Nauman Sulaiman wrote: > From: Nauman Sulaima

[Sofia-sip-devel] Using sips: AND sip:ip;transport=tls with Sofia

2011-09-26 Thread Nauman Sulaiman
Hi, We have managed to get TLS working with Sofia by specifying a sips uri with NUTAG_URL however the other way sip:ip;transport=tls is still widely used and we would like to know how to use this with Sofia. How can we get Sofia to use TLS transport with a sip uri. Passing sip:ip;transport=t

[Sofia-sip-devel] Sofia as UA keeps losing TLS connection with Asterisk 1.8.7

2011-09-27 Thread Nauman Sulaiman
Hi, We are using Sofia SIP 1.12.11 as UA with Asterisk 1.8.7 using TLS. It registers OK but then keeps losing its connection and seems to keep registering every 30 seconds. We have tried other clients such as Bria and these work fine with TLS to our Asterisk 1.8.7 server so its something to d

Re: [Sofia-sip-devel] PRACK and 200 OK(INVITE) forking issue

2012-03-16 Thread Nauman Sulaiman
Hi Timo No we don't have a solution, we looked into it and it needs major changes so we left it. RegardsĀ  From: Timo Bruhn To: nauman762-h...@yahoo.co.uk Cc: sofia-sip-devel@lists.sourceforge.net Sent: Wednesday, 14 March 2012, 11:04 Subject: Re: [Sofia-s