Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7667507
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T15:07:17+00:00 2026-05-31T15:07:17+00:00

Suppose, we have a following dialog: Agent A Agent B | | | F1

  • 0

Suppose, we have a following dialog:

Agent A                  Agent B
  |                        |
  |   F1 REFER             |
  |----------------------->|
  |        F2 202 Accepted |
  |<-----------------------|
  |        F3 NOTIFY       |
  |<-----------------------|
  |  F4 200 OK             |
  |----------------------->|
  |                        |
  |                        |
  |                        |------->
  |                        |  (whatever)
  |                        |<------
  |                        |
  |         F5 NOTIFY      |
  |<-----------------------|
  |   F6 200 OK            |
  |----------------------->|
  |                        |
  |                        |
  |                        |
  |   F7 REFER             |
  |----------------------->|
  |        F8 202 Accepted |
  |<-----------------------|
  |        F9 NOTIFY       |
  |<-----------------------|
  |  F10 200 OK            |
  |----------------------->|
  |                        |------->
  |                        |  (something different)
  |                        |<------
  |                        |
  |         F11 NOTIFY     |
  |<-----------------------|
  |   F12 200 OK           |
  |----------------------->|
  |                        |
  |                        |

with two REFERs (taken from RFC 3515)

I get the NOTIFY request for each REFER, like this:

NOTIFY sip:192.168.1.39:5062;transport=udp SIP/2.0
Via: SIP/2.0/UDP 192.168.1.249;rport=5060;branch=z9hG4bKyZ09F8gtB6rtQ;received=192.168.1.249
Max-Forwards: 70
From: "Extension 1200" <sip:1200@192.168.1.249>;tag=7ytSSBvaBeN5H
To: <sip:1201@192.168.1.39:5062>;tag=25b9a9ba-f249-4e21-a25a-c2ed578c5101
Call-ID: f94d6be3-edfc-122f-ebb0-000c29da7e39
CSeq: 25832274 NOTIFY
Contact: <sip:mod_sofia@192.168.1.249:5060>
User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-5e4a514 2012-03-10 22-56-29 -0500
Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,MESSAGE,UPDATE,INFO,REGISTER,REFER,NOTIFY,PUBLISH,SUBSCRIBE
Supported: timer,precondition,path,replaces
Event: refer;id=1
Allow-Events: talk,hold,presence,dialog,line-seize,call-info,sla,include-session-description,presence.winfo,message-summary,refer
Subscription-State: terminated;reason=noresource
Content-Type: message/sipfrag;version=2.0
Content-Length: 16

SIP/2.0 200 OK

which notifies me, that the REFER was successfull.

The question is: in the NOTIFY, how do I know, for which REFER it is?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T15:07:19+00:00Added an answer on May 31, 2026 at 3:07 pm

    From the same RFC:

    2.4.6 Multiple REFER Requests in a Dialog

    A REFER creates an implicit subscription sharing the dialog
    identifiers in the REFER request. If more than one REFER is issued
    in the same dialog (a second attempt at transferring a call for
    example), the dialog identifiers do not provide enough information to
    associate the resulting NOTIFYs with the proper REFER.

    Thus, for the second and subsequent REFER requests a UA receives in a
    given dialog, it MUST include an id parameter[2] in the Event header
    field of each NOTIFY containing the sequence number (the number from
    the CSeq header field value) of the REFER this NOTIFY is associated
    with. This id parameter MAY be included in NOTIFYs to the first
    REFER a UA receives in a given dialog. A SUBSCRIBE sent to refresh
    or terminate this subscription MUST contain this id parameter.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have following problem where I have to group different transactions into timeslots. Suppose
Suppose I have following string: String asd = this is test ass this is
Suppose I have following code package memoryleak; public class MemoryLeak { public static int
Suppose I have the following CSS rule in my page: body { font-family: Calibri,
Suppose I have the following code: class some_class{}; some_class some_function() { return some_class(); }
Suppose you have the following string: white sand, tall waves, warm sun It's easy
Suppose I have the following declaration: class Over1 { protected: class Under1 { };
Suppose I have the following C code. unsigned int u = 1234; int i
Suppose I have the following two strings containing regular expressions. How do I coalesce
Suppose I have the following directory layout in a Maven project: src/ |-- main

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.