DoubangoTelecom / imsdroid

High Quality Video SIP/IMS client for Google Android
https://doubango.org
Other
294 stars 168 forks source link

Not able to add custom headers to SIP invite #607

Closed shaik41 closed 7 years ago

shaik41 commented 7 years ago

Hi, I was unable to add extra headers to SIP invite. Would be great help if anyone of you could help.

Here is a sample SIP INVITE I want to send.

INVITE sip:XXX@208.94.157.10:5060 SIP/2.0 From: sip:XXXXXXXXXXX@54.156.136.107:5060; tag=9098.A419 To: sip:911@208.94.157.10:5060Call-ID: 0014.4F26.94FB.4E45.909B.2603CSeq: 8573 INVITEMax-Forwards: 70Via: SIP/2.0/UDP 54.156.136.107:5060; branch=z9hG4bK4E45.9098.A4198573Contact: sip:XXXXXXXXXXX@54.156.136.107:5060 X-AccountId: XXXXXX X-Geolocation:<geo: 35.1623,-80.8792;timestamp=20170803070000> Allow:INVITE,BYE,INFO,PRACK,CANCEL,ACK,OPTIONS,SUBSCRIBE,NOTIFY,REGISTER,REFER,UPDATESupported: timer,100rel Content-Type: appli

shaik41 commented 7 years ago

Fixed, The NgnSession Class allows you to add custom headers

shaik41 commented 7 years ago

Fixed, The NgnSession Class allows you to add custom headers