Switchvox - How do Digium phones signal the PBX about call the call recording feature

Digium phones uses SIP message type MESSAGE to signal the PBX about the call recording feature. These SIP messages will use default SIP port configured on your PBX to send messages - Usually 5060 or 5062 with Switchvox and 5060 or any custom port that you configured on with your Asterisk system

Below you will find examples of SIP messages between PBX and the phone

Message from the Phone to the PBX

MESSAGE sip:proxy@Ip.Of.PBX:5062 SIP/2.0
Via: SIP/2.0/UDP Ip.Of.Phone:5060;rport;branch=z9hG4bKPjGSgfNFuqO5A6X06ZElcyjv9q0BUjz5-3
Max-Forwards: 70
From: <sip:Ip.Of.Phone>;tag=lu0fwMsZqagDsmyr3lpnNJEwTqJL-pP6
To: <sip:proxy@Ip.Of.PBX>
Call-ID: ysuEgR9bjgKnTtzIpp4vqhDqIwbar9rr
CSeq: 62597 MESSAGE
Accept: text/plain, application/im-iscomposing+xml
Contact: <sip:Ip.Of.Phone:5060;ob>
User-Agent: Digium D70 1_4_2_0_63880
X-Digium-User-Agent: Digium D70 1_4_2_0_63880
X-Digium-AppServer-ID: guihsr
X-Digium-AppServer-Message-Salt: 596384BC4DB9BBDF
X-Digium-AppServer-MACAddress: 000FD30531C8
X-Digium-AppServer-Session: 1400611880
X-Digium-AppServer-RequestType: HTTPRequest
Content-Type: text/plain
Content-Length:   448

Message from the PBX to Phone about recording being enabled

INFO sip:Phone.Exten@Ip.Of.Phone:5060;ob SIP/2.0
Via: SIP/2.0/UDP Ip.Of.PBX:5060;branch=z9hG4bK3228e850;rport
From: <sip:Called.Num@Ip.Of.PBX>;tag=as7cc651d3
To: "Phone.Exten" <sip:Phone.Exten@Ip.Of.PBX>;tag=aGfuOTN2CMSJqyIuzvus472FKJXJvnKO
Contact: <sip:Called.Num@Ip.Of.PBX:5060>
Call-ID: Ra0PVhpjRA6Yi-LWmY9wnNVYmtQqrxcZ
CSeq: 102 INFO
User-Agent: Asterisk PBX (digium)
Max-Forwards: 70
X-Event-Type: digium.startRecording.success

Message from the PBX to Phone about recording being disabled

INFO sip:Phone.Exten@Ip.Of.Phone:5060;ob SIP/2.0
Via: SIP/2.0/UDP Ip.Of.PBX:5060;branch=z9hG4bK5b4d84f8;rport
From: <sip:Called.Num@Ip.Of.PBX>;tag=as7cc651d3
To: "Phone.Exten" <sip:Phone.Exten@Ip.Of.PBX>;tag=aGfuOTN2CMSJqyIuzvus472FKJXJvnKO
Contact: <sip:Called.Num@Ip.Of.PBX:5060>
Call-ID: Ra0PVhpjRA6Yi-LWmY9wnNVYmtQqrxcZ
CSeq: 103 INFO
User-Agent: Asterisk PBX (digium)
Max-Forwards: 70
X-Event-Type: digium.stopRecording.success

 

Related content