Re: [Sofia-sip-devel] Invite with XML >>>bad session description

2010-08-12 Thread mikhail.zabal...@nokia.com
Hi,

> -Original Message-
> From: ext peter hanshon [mailto:mido.1...@hotmail.fr]
> Sent: Thursday, August 12, 2010 5:50 PM
> To: sofia-sip-devel@lists.sourceforge.net
> Subject: [Sofia-sip-devel] Invite with XML >>>bad session description
> 
> 
> I'm trying to send a message sip_invite with XML, but when the
> recipient receives the message it displays a bad session description
> 
> 
> 
> so haw can i must modify

Use SDP?

-- 
  Mikhail
--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


Re: [Sofia-sip-devel] [Fwd: Change the transport after calling nua_create]

2009-06-18 Thread mikhail.zabal...@nokia.com
Hi,

 Original Message 
From:   Inca Rose 
Subject:Change the transport after calling nua_create
To: sofia-sip-devel Mailing List 




Hi;
It is possible to change the current transport ( ip + port ) after
calling nua_create ?

the scenario is for example a computer on wifi that can receivie a new
IP form the Access point
or it can just move to another trusted AP and get a new IP.

What will be the procedure to change the IP in the current NUA ?
Do i need to destroy the current nua and create a new one with the new IP?

A new register usage (nua_register()) would be needed certainly. Changing the 
NUA stack should not be necessary.

Hope this helps,
  Mikhail
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


Re: [Sofia-sip-devel] disable automatically 200OK response to incomingCANCEL

2008-10-28 Thread mikhail.zabal...@nokia.com
Hi,





From: ext liu yang [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 28, 2008 10:49 AM
To: sofia-sip-devel@lists.sourceforge.net
Subject: [Sofia-sip-devel] disable automatically 200OK response to 
incomingCANCEL


Hi all,
Actually I have two question here.
First one is the one explained in mail subject. In detail, we know, 
sofia stack automatically responds with 200OK for incoming CANCEL.
My purpose is just to add an special customized SIP header into this 
200OK. By checking related code, I didn't find any clue to achieve this.
So without modifying stack code, is there any simple way, like 
including a TAG somewhere to meet my requirement? 
 

Try to list CANCEL in NUTAG_APPL_METHOD string.

Second one is more specific to sofia fundamental framework, which is I 
expect to prevent some event/signal from being reported to application.
The mechanism is just like, we unmask certain OS signal using 
'pthread_signal_mask'.  With this methodology, sofia stack only sends event 
which application
layer is interested upwards to save both a bit cpu usage of upper 
application and sofia stack.

How much CPU usage you're aiming to save, is it anywhere comparable with, say, 
media processing?
There are no filters or masks for events AFAIK, but I don't see much use for 
them.
 
Best regards,
  Mikhail
 
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


Re: [Sofia-sip-devel] sofia-sip/configure Script Error

2008-10-17 Thread mikhail.zabal...@nokia.com
 

>-Original Message-
>From: ext Jerry Richards [mailto:[EMAIL PROTECTED] 
>Sent: Thursday, October 16, 2008 10:10 PM
>To: sofia-sip-devel@lists.sourceforge.net
>Subject: [Sofia-sip-devel] sofia-sip/configure Script Error
>
>Hello,
>
>I'm not sure if anyone noticed this also, but I found that line #26605
>(v.1.12.9) of the sofia-sip/configure script gets an error, 
>complaining that
>it expects a unary operator.  So I modified the line in the 
>following way
>and the error is corrected:
>
>CHANGE:  if test $HAVE_OPENSSL = 1 ; then
>TO:  if test $HAVE_OPENSSL ; then
>
>I'm not sure if this is just my environment, or if others are 
>getting this
>error also.

1) Did you fix it in configure.ac? This is the source for configure.
2) For maximum portability, the line should be like:
if test "x$HAVE_OPENSSL" = x1; then

Best regards,
  Mikhail

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


Re: [Sofia-sip-devel] sifsip-cli with glib

2008-10-14 Thread mikhail.zabal...@nokia.com
Hi,




From: ext Peter Meng [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 14, 2008 2:03 PM
To: sofia-sip-devel@lists.sourceforge.net
Subject: [Sofia-sip-devel] sifsip-cli with glib


 I'm a newbie with sofia and have a question want to get your help .I 
plan to use sofsip-cli but this need the glib when compile .
 my question is whether realy need glib when used sofsip-cli ?

Yes.
 
Cheers,
   Mikhail
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


Re: [Sofia-sip-devel] "telephone-event/8000/1" Missing From Outbound SDP

2008-10-06 Thread mikhail.zabal...@nokia.com
Hi,

>-Original Message-
>From: ext Jerry Richards [mailto:[EMAIL PROTECTED] 
>Sent: Wednesday, October 01, 2008 9:35 PM
>To: sofia-sip-devel@lists.sourceforge.net
>Subject: [Sofia-sip-devel] "telephone-event/8000/1" Missing 
>From Outbound SDP
>
>I am using base version 1.12.7.  Upon an inbound INVITE, I call
>nua_respond() with the SOATAG_USER_SDP_STR() tag as follows:
>
>o=TC 0 1 IN IP4 192.168.72.161
>s=session
>c=IN IP4 192.168.72.161
>m=audio 1760 RTP/AVP 0 101
>a=rtpmap:0 PCMU/8000
>a=ptime:20
>a=rtpmap:101 telephone-event/8000
>
>However the SDP in the outbound 200 OK message does NOT include the
>"a=rtpmap:101 telephone-event/8000" line.  This appears to 
>happen in all
>call scenarios.
>
>Do you know why sofia-sip is stripping off this last line of the SDP?

Try a number from the dynamic range? 101 may be reserved for something else.

Best regards,
  Mikhail

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


Re: [Sofia-sip-devel] Sofia process incoming MESSAGE request alway send200OK

2008-10-04 Thread mikhail.zabal...@nokia.com
Hi,





From: ext Shumei Liu [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 03, 2008 1:11 AM
To: sofia-sip-devel@lists.sourceforge.net
Subject: [Sofia-sip-devel] Sofia process incoming MESSAGE request alway 
send200OK



Please anyone can help me with this issue:

 

We are trying to implement some applications with MESSAGE method. The 
problem is that whenever Sofia receives a MESSAGE, it always immediately send a 
200 OK reply, no mater whether a successful delivery to application layer; we 
don't know how to change this behaviour.

 

Ideally, only if application successfully get the message and 
acknowledged it, then send 200 OK to sender. 

 

Any one can help me solve this problem?

You can suppress automatic responses to MESSAGE by using NUTAG_APPL_METHODS.

 

Cheers,

  Mikhail

 

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


Re: [Sofia-sip-devel] FW: Determining cause of 900 Internal NUAError

2008-01-18 Thread mikhail.zabal...@nokia.com
Hi,

>>That is, the following:
>>Add uniqueness to all uses of NUA_INTERNAL_ERROR like,
>>   nua_stack_event(nua, nh, NULL, e, NUA_INTERNAL_ERROR
>>   "at" __FILE__ ":" __LINE__, NULL);
>
>__LINE__ is naked int, not a string...

Sure, some stringizing #weirdness is necessary.

BR,
  Mikhail

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel