Re: [Sofia-sip-devel] call but no sound

2010-08-12 Thread Martin Drasar
Dne 11.8.2010 19:25, peter hanshon napsal(a):
> i make call with sofsipcli   but there are no sound
> 
> 
> what is the problem

You are doing your best to piss off anyone with even the slightest
interest to help you. You have no chance of getting reasonable answer
unless you learn to ask reasonably specific questions (as you have been
told three times now).

--
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


[Sofia-sip-devel] Problem in using sofia-sip libraries

2010-08-12 Thread Amir Khezrian
Hello All

I am just begining to use sofia-sip library. But i have a problem in using
it's libraries.

First i downloaded
sofia-sip-1.12.10package
and installed it with istructions:
./configure
make
make install

When I compile my code that just included sip.h with instruction :

gcc Mycode.c -o Mycode -I ../sofia-sip-1.12.10/libsofia-sip-ua/sip/sofia-sip

I encounter with these errors
*
[r...@localhost Mycode]# gcc fileOpeningTest.c -o fileOpeningTest  -I
../sofia-sip-1.12.10/libsofia-sip-ua/sip/sofia-sip
In file included from fileOpeningTest.c:4:
../sofia-sip-1.12.10/libsofia-sip-ua/sip/sofia-sip/sip.h:39:33: error:
sofia-sip/msg_types.h: No such file or directory
../sofia-sip-1.12.10/libsofia-sip-ua/sip/sofia-sip/sip.h:42:32: error:
sofia-sip/msg_mime.h: No such file or directory
In file included from fileOpeningTest.c:4:
../sofia-sip-1.12.10/libsofia-sip-ua/sip/sofia-sip/sip.h:48: error: expected
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘typedef’
../sofia-sip-1.12.10/libsofia-sip-ua/sip/sofia-sip/sip.h:105: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘sip_time_t’
../sofia-sip-1.12.10/libsofia-sip-ua/sip/sofia-sip/sip.h:121: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘sip_common_t’
../sofia-sip-1.12.10/libsofia-sip-ua/sip/sofia-sip/sip.h:124: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘sip_param_t’
../sofia-sip-1.12.10/libsofia-sip-ua/sip/sofia-sip/sip.h:130: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘sip_auth_t’
../sofia-sip-1.12.10/libsofia-sip-ua/sip/sofia-sip/sip.h:134: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘sip_error_t’
../sofia-sip-1.12.10/libsofia-sip-ua/sip/sofia-sip/sip.h:135: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘sip_unknown_t’
../sofia-sip-1.12.10/libsofia-sip-ua/sip/sofia-sip/sip.h:136: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘sip_separator_t’
../sofia-sip-1.12.10/libsofia-sip-ua/sip/sofia-sip/sip.h:137: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘sip_payload_t’
../sofia-sip-1.12.10/libsofia-sip-ua/sip/sofia-sip/sip.h:140: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
‘sip_accept_encoding_t’
../sofia-sip-1.12.10/libsofia-sip-ua/sip/sofia-sip/sip.h:141: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
‘sip_accept_language_t’
../sofia-sip-1.12.10/libsofia-sip-ua/sip/sofia-sip/sip.h:151: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
‘sip_content_disposition_t’
../sofia-sip-1.12.10/libsofia-sip-ua/sip/sofia-sip/sip.h:152: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
‘sip_content_encoding_t’
...
...
*

Thanks in advance

I encounter with these errors

-- 
Amir Masoud
--
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


[Sofia-sip-devel] forking calls and overlapping

2010-08-12 Thread Михаил Кривушин
Hello!

We use FreeSWITCH and OpenSIPS, and have problem - when we try use forking
calls, it seems that sofia nta/nta.c doesnt distinct INVITE-s by Via
headers, and its branches.

Is it right, or I need more code reading?

-- 
С уважением, Кривушин Михаил
г. Томск сот. +7 913 865 78 66
г. Самара сот. +7 927 728 67 99
icq: 218 744 127
xmpp: krivushi...@jabber.ru
http://deepwalker.blogspot.com/
--
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


[Sofia-sip-devel] print message boddy

2010-08-12 Thread peter hanshon

i use this funtion to print message

int msg_size = 0;
su_home_t*  home;
msg_t* msg = nua_current_request(nua);
if (msg) {
char * msg_str = msg_as_string(home, msg, NULL, 0, &msg_size);
printf ("SIP message:\n"
"%s\n", msg_str);
}


but i want to print only message body

so haw can i do


thank you
  --
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


[Sofia-sip-devel] Internal error at nua_stack.c:2388 on SUBSCRIBE

2010-08-12 Thread Philippe Maymat
Hi everybody,

When I try to send SUSCRIBE with nua_subscribe with a REQUEST URI like :
"sip:name;attri...@societe.com", I get an internal error:

Internal error at nua_stack.c:2388

It seems to be due to the ;. With any other char, it works perfectly.

Do you have an idea ?
Thenak you very much

--
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


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

2010-08-12 Thread peter hanshon


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


thank you
  --
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] Internal error at nua_stack.c:2388 on SUBSCRIBE

2010-08-12 Thread Michael Jerris
I think this was already fixed.  are you using latest release or git head?

Mike

On Aug 12, 2010, at 9:34 AM, Philippe Maymat wrote:

> Hi everybody,
> 
> When I try to send SUSCRIBE with nua_subscribe with a REQUEST URI like :
> "sip:name;attri...@societe.com", I get an internal error:
> 
> Internal error at nua_stack.c:2388
> 
> It seems to be due to the ;. With any other char, it works perfectly.
> 
> Do you have an idea ?
> Thenak you very much
> 
> --
> 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


--
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] Internal error at nua_stack.c:2388 on SUBSCRIBE

2010-08-12 Thread Michael Jerris
Try the latest git repo.

Mike

On Aug 12, 2010, at 11:51 AM, Philippe Maymat wrote:

> I use the version 1.12.10. Is it the last one ? Or maybe there is a new 
> version somewhere ?
> 
> Thank you for your help.
> 
> Michael Jerris a écrit :
>> 
>> I think this was already fixed.  are you using latest release or git head?
>> 
>> Mike
>> 
>> On Aug 12, 2010, at 9:34 AM, Philippe Maymat wrote:
>> 
>>   
>>> Hi everybody,
>>> 
>>> When I try to send SUSCRIBE with nua_subscribe with a REQUEST URI like :
>>> "sip:name;attri...@societe.com", I get an internal error:
>>> 
>>> Internal error at nua_stack.c:2388
>>> 
>>> It seems to be due to the ;. With any other char, it works perfectly.
>>> 
>>> Do you have an idea ?
>>> Thenak you very much
>>> 
>>> --
>>> 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
>>> 
>> 
>> 
>> 
>>   
> 

--
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] 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] Invite with XML >>>bad session description

2010-08-12 Thread peter hanshon

I use :








nua_handle_t *handl;


 handl = nua_handle(nua, NULL, SIPTAG_TO_STR("sip:192.168.200.236:5060"), 
TAG_END());


  nua_invite(handl,SIPTAG_CONTENT_TYPE_STR("application/xml")


   ,  SIPTAG_PAYLOAD_STR("bl"),


   TAG_END ());   --
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] Invite with XML >>>bad session description

2010-08-12 Thread mikhail.zabaluev
Hi,

> -Original Message-
> From: ext peter hanshon [mailto:mido.1...@hotmail.fr]
> Sent: Thursday, August 12, 2010 7:38 PM
> To: Zabaluev Mikhail (Nokia-MS/Helsinki); sofia-sip-
> de...@lists.sourceforge.net
> Subject: RE: [Sofia-sip-devel] Invite with XML >>>bad session
> description
> 
> I use :
> 
> 
> nua_handle_t *handl;
>  handl = nua_handle(nua, NULL,
> SIPTAG_TO_STR("sip:192.168.200.236:5060"), TAG_END());
>   nua_invite(handl,SIPTAG_CONTENT_TYPE_STR("application/xml")
>,  SIPTAG_PAYLOAD_STR("bl"),
>TAG_END ());

Why?

-- 
  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