[reSIProcate] SIP Info Message

shailesh shpatel at varaha.com
Tue Aug 2 08:09:03 CDT 2005


Thanks 

My problem is solved

Regards,
Shailesh

-----Original Message-----
From: resiprocate-devel-bounces at list.sipfoundry.org
[mailto:resiprocate-devel-bounces at list.sipfoundry.org] On Behalf Of Fischl
jason
Sent: Tuesday, August 02, 2005 5:34 PM
To: stensil
Cc: resiprocate-devel at list.sipfoundry.org
Subject: Re: [reSIProcate] SIP Info Message

You can use the GenericContents if you don't want to create your own
subclass. e.g.

GenericContents g("Signal=5\r\nDuration=160\r\n",  Mime("application",
"dtmf-relay"));



On 8/2/05, stensil <stensil at list.ru> wrote:
> IMHO, you must realize your own special class for DTMF like SdpContents
> for SDP and some more classes inherited from Contents. I did it some
> time ago and my class works enough for me.
> 
> s> I want to send SIP Info message as dtmf using the INFO Method but how
can I
> s> do that?
> s>
> s> In between session I have function like Info() that will be used to
send the
> s> INFO Message
> s>
> s> But this function take Contents as parameter . how can I create my
customize
> s> contents ?
> s>
> s> I need my Info Message Look like .
> s>
> s>
> s>
> s> INFO sip:7007471000 at example.com SIP/2.0
> s> Via: SIP/2.0/UDP alice.uk.example.com:5060
> s> From: <sip:7007471234 at alice.uk.example.com>;tag=d3f423d
> s> To: <sip:7007471000 at example.com>;tag=8942
> s> Call-ID: 312352 at myphone
> s> CSeq: 5 INFO
> s> Content-Length: 24
> s> Content-Type: application/dtmf-relay
> s>
> s> Signal=5
> s> Duration=160
> s>
> s>
> s>
> s> So I need to add Signal and Duration as content
> 
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel at list.sipfoundry.org
> https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel
>
_______________________________________________
resiprocate-devel mailing list
resiprocate-devel at list.sipfoundry.org
https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel




More information about the resiprocate-devel mailing list