[Sofia-sip-devel] How to get default SIP_FROM host

2012-09-03 Thread Andreas Wehrmann
this? Or is there a way to query the default host sofia would use? I tried to create a FROM user using the URI calling-number@0.0.0.0 hoping that sofia would replace the dummy address with the real address (like it does in SDP processing) but it wouldn't work. Regards, Andreas -- Dipl.-Ing. (FH) Andreas

Re: [Sofia-sip-devel] How to get default SIP_FROM host

2012-09-03 Thread Andreas Wehrmann
On 09/03/2012 08:19 AM, Andreas Wehrmann wrote: Hello everbody! If you create an outgoing request and don't provide a SIP FROM user, sofia inserts one for you. Now, in my case I want to make an outgoing call and provide just the user part (the calling number) and let the host part be chosen

Re: [Sofia-sip-devel] sip register message construct

2013-06-13 Thread Andreas Wehrmann
On 06/13/2013 09:34 AM, ThanhTruong wrote: For handling register authentication in callback I used: if(evt == nua_r_register (status == 401 || status == 407)) { if (sip sip-sip_www_authenticate sip-sip_www_authenticate-au_params)

Re: [Sofia-sip-devel] sip register message construct

2013-06-13 Thread Andreas Wehrmann
On 06/13/2013 10:09 AM, Andreas Wehrmann wrote: Hey there! Nothing to do with the problem but I just wanted to say that you can simplify/strengthen the code for building the auth string by doing it like this code: sip is of type sip_t const* sip, which is delivered by NUA to the callback

Re: [Sofia-sip-devel] Cant using nua_invite to initial call.

2013-08-09 Thread Andreas Wehrmann
On 08/09/2013 06:32 AM, ThanhTruong wrote: Hi all, I am back and have a stupid question that i cant send invite to SIP server using nua_invite. i have tried : nua_invite (nh, NUTAG_URL (nua_url), SOATAG_ADDRESS(127.0.0.1:8000), NUTAG_EARLY_MEDIA (1), TAG_END

Re: [Sofia-sip-devel] Cant using nua_invite to initial call.

2013-08-09 Thread Andreas Wehrmann
On 08/09/2013 09:48 AM, ThanhTruong wrote: hi, I have enabled log level and see some log but cant know where is my issue ? nua_common.c:108 nh_create_handle() nua: nh_create_handle: entering nua.c:633 nua_invite() nua: nua_invite: entering nua_stack.c:529 nua_signal() nua(0x2b52184f5940):

Re: [Sofia-sip-devel] Cant using nua_invite to initial call.

2013-08-09 Thread Andreas Wehrmann
to one sip server ? (only how to use nua_invite to send one INVITE message to one server) Thanks, ThanhTruong From: Andreas Wehrmann andreas_wehrm...@yahoo.at To: ThanhTruong ngoc217th...@yahoo.com Cc: sofia-sip-devel@lists.sourceforge.net

Re: [Sofia-sip-devel] Cant using nua_invite to initial call.

2013-08-09 Thread Andreas Wehrmann
On 08/09/2013 10:57 AM, ThanhTruong wrote: Hi sir, When I tried with your code, change to my sdp and get this log from nua_invite. nua_params.c:480 nua_stack_set_params() nua: nua_stack_set_params: entering soa.c:282 soa_clone() soa_clone(static::0xe9bd050, 0xe490080, 0x2b52284121d0)

Re: [Sofia-sip-devel] Cant using nua_invite to initial call.

2013-08-09 Thread Andreas Wehrmann
On 08/09/2013 11:21 AM, ThanhTruong wrote: Hi , this is full loglevel for all and set to 9(max) I think. in this stack, i can receive invite, send/receive register, respond of register. :( But with invite, it is not live nua_register, nua_subscribe so, i am getting this issue. Thank

Re: [Sofia-sip-devel] Starting with Sofia SIP(registrating)

2013-11-12 Thread Andreas Wehrmann
Your NUTAG_URL is flawed, it must represent the local-URL where your device can be reached, try 0.0.0.0 Regards, Andreas Alexander Heinrich alexan...@sn0wfreeze.de schrieb am 0:46 Dienstag, 12.November 2013: Hey developers,  I am currently working on an iPhone port of Sofia SIP.  I

Re: [Sofia-sip-devel] status of sofia sip

2013-11-17 Thread Andreas Wehrmann
On 11/17/2013 04:53 PM, Dave Horton wrote: I've been using sofia sip quite happily for a few years in various projects, but I am wondering about whether it is still being actively supported. I'm heading into a new project where I will need a lot of 3GPP headers that don't appear to have

Re: [Sofia-sip-devel] status of sofia sip

2013-11-18 Thread Andreas Wehrmann
On 11/18/2013 10:04 AM, Dave Horton wrote: Hi Andreas - Yes, I went back and read your question. Looks like it never really got answered, and then sidetracked into a specific bug fix discussion. And while it would be great to get fixes from Freeswitch back in, that clearly isn't

Re: [Sofia-sip-devel] status of sofia sip

2013-11-18 Thread Andreas Wehrmann
On 11/18/2013 02:15 PM, Michael Jerris wrote: Pekka is no longer at Nokia. I think I am the only one with commit access to the gitorious tree still around and responding at all. I don't have the ability to roll releases. There are still plenty of people working on sofia-sip from what I

[Sofia-sip-devel] Fwd: Re: Sending nua_invite - DNS Error 503

2013-11-19 Thread Andreas Wehrmann
Original Message Subject:Re: [Sofia-sip-devel] Sending nua_invite - DNS Error 503 Date: Tue, 19 Nov 2013 21:19:37 +0100 From: Alexander Heinrich alexan...@sn0wfreeze.de To: andreas_wehrm...@yahoo.at Hey Andreas, you were right but how can I disable the DNS

Re: [Sofia-sip-devel] nua_invite to IP Adress (DNS problem)

2013-11-25 Thread Andreas Wehrmann
On 11/25/2013 12:20 AM, Alexander Heinrich wrote: Good evening dear developers, I’m currently stuck in another problem. I am able to retrieve incoming calls. So my nua_create should be right. In my nua_invite I’m trying to connect to an IP Address directly. I am using IP4, but the

Re: [Sofia-sip-devel] nua_invite to IP Adress (DNS problem)

2013-11-27 Thread Andreas Wehrmann
Actually, this looks ok to me. You send an INVITE and get a response of 100 - Trying which is perfectly normal. Whether the peer you're calling sends 180 - Ringing or not is up to him since this is optional. The log not found by name should not worry you, I'm not entirely sure what Sofia is

Re: [Sofia-sip-devel] nua_invite to IP Adress (DNS problem)

2013-11-27 Thread Andreas Wehrmann
Heinrich On 27 Nov 2013, at 09:01, Andreas Wehrmann andreas_wehrm...@yahoo.at wrote: Actually, this looks ok to me. You send an INVITE and get a response of 100 - Trying which is perfectly normal. Whether the peer you're calling sends 180 - Ringing or not is up to him since this is optional

Re: [Sofia-sip-devel] nua_invite to IP Adress (DNS problem)

2013-11-27 Thread Andreas Wehrmann
and it worked. The Mac App is downloaded from the web. It’s called Jitsi. So there must be a mistake in my code. But I am not able to figure it out. Greetings, Alexander Heinrich On 27 Nov 2013, at 09:52, Andreas Wehrmann andreas_wehrm...@yahoo.at mailto:andreas_wehrm...@yahoo.at wrote

Re: [Sofia-sip-devel] ACK(SDP) is not send by UDP

2014-02-23 Thread Andreas Wehrmann
Could you provide an example code to reproduce the problem? I cannot promise to find a solution, but I would like to take a look at the code. Regards, Andreas On 02/19/2014 08:05 PM, Guilherme César Pilon wrote: Hello, I'm using sofia-sip-1.12.11 and i'm having o problem when i need to send

Re: [Sofia-sip-devel] Crash when system time jumps

2014-06-12 Thread Andreas Wehrmann
On 06/12/2014 02:30 PM, Michael Jerris wrote: + /* check it there are still things queued, if there are, that means everything scheduled is 15 days in the future */ +/* in this case, we had a large time shift, we should schedule for 15 days in the future (which is probably still

Re: [Sofia-sip-devel] Example compilation

2014-07-21 Thread Andreas Wehrmann
On 07/21/2014 05:06 AM, Nikos Balkanas wrote: I'm going through the examples in the site. In app_i_invite it states: nua_respond(nh, 200, OK, SOA_USER_SDP(magic-sdp), TAG_END()); Looking at the nua_respond documentation, SOA_USER_SDP is a tag, that is not defined and gcc errs.

Re: [Sofia-sip-devel] Example compilation

2014-07-21 Thread Andreas Wehrmann
. These examples have lots of errors... On Mon, Jul 21, 2014 at 8:16 AM, Andreas Wehrmann a.wehrm...@yandex.com wrote: On 07/21/2014 05:06 AM, Nikos Balkanas wrote: I'm going through the examples in the site. In app_i_invite it states: nua_respond(nh, 200, OK, SOA_USER_SDP(magic-sdp

Re: [Sofia-sip-devel] any way to bind client to specific interface(eth/wlan).

2014-08-02 Thread Andreas Wehrmann
On 08/02/2014 02:08 AM, Luca Olivetti wrote: El 02/08/14 00:28, Nikos Balkanas ha escrit: Oh, and the other patches are needed too http://code.google.com/p/danube-voip/source/browse/sofia-sip/patches/ Bye -- Luca ​Any reason why these were never commited to

[Sofia-sip-devel] How to change media mode in active call?

2014-09-03 Thread Andreas Wehrmann
Hi! I'm somewhat at a loss here. I'm in a SIP call that I made or accepted with one of a=[inactive|recvonly|sendonly|sendrecv] in the SDP. There is only one media (audio). When I make or answer a call, I create the complete SDP and provide it to nua with SOATAG_USER_SDP_STR which is working

Re: [Sofia-sip-devel] How to change media mode in active call?

2014-09-03 Thread Andreas Wehrmann
On 09/03/2014 03:13 PM, Andreas Wehrmann wrote: Hi! I'm somewhat at a loss here. I'm in a SIP call that I made or accepted with one of a=[inactive|recvonly|sendonly|sendrecv] in the SDP. There is only one media (audio). When I make or answer a call, I create the complete SDP and provide

Re: [Sofia-sip-devel] How to change media mode in active call?

2014-09-04 Thread Andreas Wehrmann
, or is it the recommended way to go? Regards, Andreas 03.09.2014, 15:23, Michael Jerris m...@jerris.com:  I know it works with USER_SDP_STR, what exactly is your call to update/invite?  are you doing ACTIVE_AUDIO(1) ?  On Sep 3, 2014, at 9:13 AM, Andreas Wehrmann a.wehrm...@yandex.com wrote

Re: [Sofia-sip-devel] How to change media mode in active call?

2014-09-04 Thread Andreas Wehrmann
On 09/04/2014 03:19 PM, Michael Jerris wrote: You can do the actual sdp structure as well. For sure you will need the m lines in the sdp, if you do the structure, it can be sparse just like the string. I rewrote my function to create the SDP as string and supply it to NUA using

[Sofia-sip-devel] nua_handle_has_register() not working

2014-10-01 Thread Andreas Wehrmann
Hi! I discovered, that nua_handle_has_register() always returns 0 even when the handle has been used with nua_register()/nua_unregister(). From what I can see in the code, the same goes for nua_handle_has_subscribe() but not for nua_handle_has_invite(). It looks as if the call to

Re: [Sofia-sip-devel] nua_unsubscribe

2015-06-01 Thread Andreas Wehrmann
I've never used the subscription mechanism before, but you might try to use NUTAG_M_USERNAME(x). Regards, Andreas On 06/01/2015 11:41 PM, Johannes Bauer wrote: Hi everybody! Fisrt I want to thank you developers for your excelent work on this SIP framework, But as you sure can guess, I have

[Sofia-sip-devel] [FIX] crash when querying adapter addresses failed (Windows)

2016-02-17 Thread Andreas Wehrmann
During long and heavy testruns I encountered seemingly random crashes running on Windows 7. I tracked the problem down to the function static int win_localinfo(su_localinfo_t const hints[1], su_localinfo_t **rresult); which resides in su_localinfo.c. If the call to GetAdapterAddresses()

Re: [Sofia-sip-devel] Reading custom SIP headers

2016-08-29 Thread Andreas Wehrmann
On 08/29/2016 08:32 AM, John Nash wrote: > I am looking for some way to read value of a custom SIP header (starting > with X-). I have access to object ssip_t. Which function I can use to > extract custom SIP header and use its value? > > > >