-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can I get the headers of received CANCEL? #152
Comments
It looks like this is where the CANCEL event is emitted: drachtio-srf/lib/drachtio-agent.js Line 593 in 97d8317
SipMessage passed to the event listener
|
Thank you for your answer.
But I think |
@xquanluu can you comment? I think we just dealt with this requirement recently |
Take a look at this example:
Output: { |
Not sure is what you are looking for? @calvet27 |
You may want to play with this testcase: |
Can you give me version information about supporting |
Can you use drachtio-srf: 4.5.28 |
I use 4.4.18. After updating to 4.5.28, I will let you know the results. |
Can I get you tag information of the latest drachtio? |
Yes it's correct. |
@xquanluu |
Can you tell me how you build and deployed drachtio? via docker? |
hmm. Strange but yes please use latest tag., 0.8.2 was released 2 months ago, from that time up to now there is no official release yet. |
I'm sorry to make you confused. Now 0.8.22 works properly. |
Closing this issue. |
Hi,
Can I get the headsers of received CANCEL?
From SRF, We can listen the emitted event for canceled inbound request.
But we cannot get the headers of CANCEL from that way.
It is required to get some causes of firing CANCEL such as
Reason
header.CANCEL sip:68050961695239@...:5060 SIP/2.0
From: "Jess Portugal"sip:*1139@...;tag=2aca825f-14fb3c5-1f1d3e-b89f53e0-45090a0a-13c4-759
To: sip:68050961695239@...
Call-ID: 2dca6bc8-127d3ab1-1f1d3e-afd33848-45090a0a-13c4-759
CSeq: 1 CANCEL
Via: SIP/2.0/UDP ...:5060;rport;branch=z9hG4bK-28d9f76a-1f1d3e-798a3bae-bb733988
Max-Forwards: 70
Supported: 100rel,timer,replaces
Reason: SIP ;cause=200 ;text="Call completed elsewhere
User-Agent: ...
Content-Length: 0
Please let me know how to get the headers.
The text was updated successfully, but these errors were encountered: