< Previous by Date Date Index Next by Date >
  Thread Index Next in Thread >

[reSIProcate] SIP Info Message


Hello all

 

I want to send SIP Info message as dtmf using the INFO Method but how can I do that?

In between session I have function like Info() that will be used to send the INFO Message

But this function take Contents as parameter … how can I create my customize contents ?

I need my Info Message Look like …

 

INFO sip:7007471000@xxxxxxxxxxx SIP/2.0
Via: SIP/2.0/UDP alice.uk.example.com:5060
From: <sip:7007471234@xxxxxxxxxxxxxxxxxxxx>;tag=d3f423d
To: <sip:7007471000@xxxxxxxxxxx>;tag=8942
Call-ID: 312352@myphone
CSeq: 5 INFO
Content-Length: 24
Content-Type: application/dtmf-relay

Signal=5
Duration=160

 

So I need to add Signal and Duration as content

 

 

Regards,

Shailesh