Martin Drasar napsal(a):
>> If you want to iterate through each header field in the message, you
>> should start from msg_chain_head(msg) and then proceed in order, e.g.,
>>
>> for (next = msg_chain_head(msg); *next; next = &(*next)->sh_next) {
>> sip_header_t *sh = (*next);
>> msg_hclass_t con
> If you want to iterate through each header field in the message, you
> should start from msg_chain_head(msg) and then proceed in order, e.g.,
>
> for (next = msg_chain_head(msg); *next; next = &(*next)->sh_next) {
> sip_header_t *sh = (*next);
> msg_hclass_t const *hc = sh->sh_class;
> if
From: Stefano Sabatini [mailto:[EMAIL PROTECTED]
>> Sent: Thursday, November 20, 2008 7:38 AM
>> To: sofia-sip-devel@lists.sourceforge.net
>> Subject: Re: [Sofia-sip-devel] [NEWBIE] How to print a SIP message
>>
>> On date Thursday 2008-11-20 10:49:21 +0100, Stefano S
hursday, November 20, 2008 7:38 AM
> To: sofia-sip-devel@lists.sourceforge.net
> Subject: Re: [Sofia-sip-devel] [NEWBIE] How to print a SIP message
>
> On date Thursday 2008-11-20 10:49:21 +0100, Stefano Sabatini phoned
this:
> [...]
> > How can I get a msg_t from a sip_t?
>
On date Thursday 2008-11-20 10:49:21 +0100, Stefano Sabatini phoned this:
[...]
> How can I get a msg_t from a sip_t?
>
> I can convert a msg_t -> sip_t using sip_object, but how can I perform
> the inverse conversion?
Again auto-replying to myself...
Contemplating the sip module doc picture I f
On date Thursday 2008-11-20 10:49:21 +0100, Stefano Sabatini phoned this:
> On date Tuesday 2008-08-05 11:40:44 +0200, Stefano Sabatini phoned this:
> > On Mon, Aug 4, 2008 at 8:07 PM, Pekka Pessi <[EMAIL PROTECTED]> wrote:
[...]
> How can I get a msg_t from a sip_t?
>
> I can convert a msg_t -> s
On date Tuesday 2008-08-05 11:40:44 +0200, Stefano Sabatini phoned this:
> On Mon, Aug 4, 2008 at 8:07 PM, Pekka Pessi <[EMAIL PROTECTED]> wrote:
> > 2008/7/30 Stefano Sabatini <[EMAIL PROTECTED]>:
> >> On 7/30/08, Stefano Sabatini <[EMAIL PROTECTED]> wrote:
> >>> On Wed, Jul 30, 2008 at 10:31 AM,
On Mon, Aug 4, 2008 at 8:07 PM, Pekka Pessi <[EMAIL PROTECTED]> wrote:
> 2008/7/30 Stefano Sabatini <[EMAIL PROTECTED]>:
>> On 7/30/08, Stefano Sabatini <[EMAIL PROTECTED]> wrote:
>>> On Wed, Jul 30, 2008 at 10:31 AM, Stefano Sabatini
>>> <[EMAIL PROTECTED]> wrote:
Hi all,
can you say if
Hi,
If the purpose of printing all incoming SIP messages is to debug the
call flow, maybe it's worth mentioning that you can set environment
variable SOFIA_DEBUG to let Sofia-SIP stack directly print all
incoming and outgoing SIP messages. See these two links for more
details:
http://wiki.freeswi
2008/7/30 Stefano Sabatini <[EMAIL PROTECTED]>:
> On 7/30/08, Stefano Sabatini <[EMAIL PROTECTED]> wrote:
>> On Wed, Jul 30, 2008 at 10:31 AM, Stefano Sabatini
>> <[EMAIL PROTECTED]> wrote:
>>> Hi all,
>>> can you say if there is a simple way to convert a sip_t object to a char*
>>> and viceversa?
On 7/30/08, Stefano Sabatini <[EMAIL PROTECTED]> wrote:
> On Wed, Jul 30, 2008 at 10:31 AM, Stefano Sabatini
> <[EMAIL PROTECTED]> wrote:
>> Hi all,
>> can you say if there is a simple way to convert a sip_t object to a char*
>> and viceversa?
>>
>> For example I would like to print all the incomin
On Wed, Jul 30, 2008 at 10:31 AM, Stefano Sabatini
<[EMAIL PROTECTED]> wrote:
> Hi all,
> can you say if there is a simple way to convert a sip_t object to a char*
> and viceversa?
>
> For example I would like to print all the incoming SIP messages from
> the the event callback function.
>
> (Well,
Hi all,
can you say if there is a simple way to convert a sip_t object to a char*
and viceversa?
For example I would like to print all the incoming SIP messages from
the the event callback function.
(Well, I'm diving just now into docs/code, nonetheless a little help
would make life a little easi
13 matches
Mail list logo