User`s manual
MediaPack
SIP User's Manual 232 Document #: LTRT-65408
8.8 Mapping PSTN Release Cause to SIP Response
The MediaPack FXO gateway is used to interoperate between the SIP network and the
PSTN/PBX. This interoperability includes the mapping of PSTN/PBX Call Progress Tones
to SIP 4xx or 5xx responses for IPÆTel calls. The converse is also true: For TelÆIP calls,
the SIP 4xx or 5xx responses are mapped to tones played to the PSTN/PBX.
When establishing an IPÆTel call the following rules are applied:
If the remote party (PSTN/PBX) is busy and the FXO gateway detects a Busy tone, it
sends 486 busy to IP. If it detects a Reorder tone, it sends 404 not found (no route to
destination) to IP. In both cases the call is released. Note that if ‘DisconnectOnBusyTone =
0’ the FXO gateway ignores the detection of Busy/Reorder tones and doesn’t release the
call.
For all other MediaPack FXS/FXO release types (caused when there are no free channels
in the specific hunt group, or when an appropriate rule for routing the call to a hunt group
doesn’t exist, or if the phone number isn’t found), the MediaPack sends SIP response (to
IP) according to the parameter ‘DefaultReleaseCause’. This parameter defines Q.931
release causes. Its default value is ‘3’, which is mapped to SIP 404 response. By changing
its value to ‘34’ SIP 503 response is sent. Other causes can be used as well.
8.9 Call Detail Record
The Call Detail Record (CDR) contains vital statistic information on calls made by the
gateway. CDRs are generated at the end and (optionally) at the beginning of each call
(determined by the parameter ‘CDRReportLevel’) and sent to a Syslog server. The
destination IP address for CDR logs is determined by the parameter ‘CDRSyslogServerIP’.
The table below lists the CDR fields that are supported.
Table 8-1: Supported CDR Fields (continues on pages 232 to 233)
Field Name Description
Cid
Port Number
CallId H.323/SIP Call Identifier
Trunk N/A
BChan N/A
ConId H.323/SIP Conference ID
TG Trunk Group Number
EPTyp Endpoint Type
Orig Call Originator (IP, Tel)
SourceIp Source IP Address
DestIp Destination IP Address
TON Source Phone Number Type
NPI Source Phone Number Plan
SrcPhoneNum Source Phone Number
SrcNumBeforeMap Source Number Before Manipulation
TON Destination Phone Number Type
NPI Destination Phone Number Plan
DstPhoneNum Destination Phone Number
DstNumBeforeMap Destination Number Before Manipulation
Durat Call Duration
Coder Selected Coder
Intrv Packet Interval
RtpIp RTP IP Address