Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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:

...

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. 

...

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:

...

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