Call hold Flowchart
call hold signaling:
1) User 1000 sends Re-invite message to IPBX, need to keep the call between 1000 and 1002. The Re-invite message carries the c=in IP4 0.0.0.0in the SDP, stating that the re-invite message is a call hold message.
INVITE Sip:[email protected]:5060sip/2.0
Via:sip/2.0/udp192.168.50.20:9588;branch=z9hg4bk-d8754z-da66ec3fc2251561-1---D8754z-;rport
Max-forwards:70
Contact:<sip:[email protected]:9588>
To: <sip:[email protected]>;tag=54267485a
From: "<sip:[email" protected]>;tag=8c7df95e
Call-id:zjbim2mxndq3zwnlm2jhyjawyweyngjlmwe4njzjymq.
Cseq:3 INVITE
Allow:invite, ACK, CANCEL, Options,bye, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
Content-type:application/sdp
Supported:replaces
User-agent:bria Professional release2.4 Stamp 49381
content-length:238
V=0
O=hua 9 3 in IP4 192.168.50.20
S=counterpath Bria Professional
C=in IP4 0.0.0.0
T=0 0
M=audio 7624 RTP/AVP 0 101
A=fmtp:101 0-15
A=rtpmap:101 telephone-event/8000
A=sendonly
A=x-rtp-session-id:84405823042846cfa4f793eb20feb7e6
2) Ipbx received Re-invite request a response to keep the user + and the 1002 between the calls, and to the user 1002 Play background music to the user + Reply Confirmation Message OK.
sip/2.0 OK
Via:sip/2.0/udp192.168.50.20:9588;branch=z9hg4bk-d8754z-da66ec3fc2251561-1---D8754z-;rport
From: "<sip:[email" protected]>;tag=8c7df95e
To:<sip:[email protected]>;tag=54267485a
Call-id:zjbim2mxndq3zwnlm2jhyjawyweyngjlmwe4njzjymq.
Cseq:3 INVITE
User-agent:freeswitch
Contact:<sip:[email protected]:5060>
Content-type:application/sdp
content-length:201
V=0
O=session 1639146064 1639146065 in IP4192.168.50.22
S=play
C=in IP4 192.168.50.22
T=0 0
M=audio 10476 RTP/AVP 0 101
a=rtpmap:0 pcmu/8000
A=rtpmap:101 telephone-event/8000
A=fmtp:101 0-16
3) User + received Ipbx Send acknowledgement Request message OK , send ACK Message to Ipbx
ACK Sip:[email protected]:5060 sip/2.0
Via:sip/2.0/udp192.168.50.20:9588;branch=z9hg4bk-d8754z-ef0e4b7cfe6a7548-1---D8754z-;rport
Max-forwards:70
Contact:<sip:[email protected]:9588>
To:<sip:[email protected]>;tag=54267485a
From: "<sip:[email" protected]>;tag=8c7df95e
Call-id:zjbim2mxndq3zwnlm2jhyjawyweyngjlmwe4njzjymq.
Cseq:3 ACK
User-agent:bria Professional release2.4 Stamp 49381
content-length:0
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Call hold Process