General Information on Interconnecting SIP Providers with ISDN Systems - Gateways

When interconnecting an ISDN System with a SIP Service Provider several aspects of the communication flow need to be considered. During a call different phases of signalling occur and the call has multiple attributes.
The signalling consists of messages that are exchanged between the participants. The attributes are Information Elements in ISDN and Headers in SIP.

ISDN Messages

The main messages in ISDN are:

MessageMandatoryMeaningAttributes
SETUPmandatoryCreate a new CallDestination and Source Address, Audio Channel, Codec, ...
SETUP_ACKNOWLEDGEoptionalCall has been acknowledged, more Digits in Destination missing
PROCEEDINGoptionalAll Information to establish the call has been providedAudio availability, Audio channel
ALERTINGoptionalcall has been delivered, remote end is ringingAudio availability, Audio channel
CONNECTmandatoryremote end picked up, call is establishedConnected Party Address, Audio Channel
CONNECT_ACKNOWLEDGEoptionalConnect has been received
DISCONNECTmandatoryCall has been disconnect by one partyReason
RELEASEmandatoryressources have been released for this callReason
RELEASE_COMPLETEmandatorycall is completely released now, no further message for this call is accepterReason

There are more messages that are mainly used for supplementary services. 

SIP Messages

the main messages in SIP are:

MessageMandatoryMeaningAttributes
REGISTERoptionalregistering IP at a SIP ServerDestination and Source Address, Authentification
INVITEmandatorySession/Call initiationDestination and Source Address, Authentification, SDP with Media information
ACKoptionalMessages was receivedSDP with Media information
180 AlertingoptionalSession is in ProgressSDP with Media information

183 Progress

optionalSession is in ProgressSDP with Media information
200 OKmandatorySession is establishedSDP with Media information
BYEmandatorySession is terminatedReason
4XX / 5XX StatusmandatorySession couldn't be establishedReason
CANCELmandatorySession has been cancelled by initiatorReason

There are more messages that are used for special cases.

beroNet Gateway Mapping of Messages and Attributes

The beroNet Gateway translates between SIP and ISDN Messages and tries to map these in an optimal way. There are a few configuration options that can define the behavior of this mapping. Especially the callprogress table can be used to change the mapping of Progress messages. The causecode table can be used to map certain SIP Error Responses to ISDN disconnect reasons and vice versa. 

The basic mapping looks like:

SIP MessageISDN Messagebehaviour changing settingsmain attribute settings
INVITE

SETUP

-callerid settings, codec settings
180 AlertingALERTINGCallprogress Table SDP
183 ProgressPROCEEDINGCallprogress Table SDP
200 OKCONNECT-
BYEDISCONNECT-
4XX / 5XXDISCONNECTwait_for_cancelcause codes
CANCELDISCONNECT-cause codes


Troubleshooting Tools

The Fulltrace can be used to trouble shoot SIP to ISDN conversions. It contains the files:

  • tcpdump.pcap
  • ISDNdebug-1.pcap - ISDNdebug-8.pcap

These files are wireshark readable and show the real messages that where transmitted over the IP or ISDN Interfaces.



If you need scheduled remote assistance, you can request our on-demand support services: https://www.beronet.com/support