This page contains a simple example to demonstrate the manipulation of the ext=
and phone-context=
tags of the SIP URI for calls to and from Lync clients. The Ribbon SBC 1000/2000 system will send calls to a Lync client with ext and phone-context configured properly, and when received, the Lync client will appropriately set the calling number based on the phone-context value:
We create a call routing table with the following 3 call routing entries in it. Two of the entries point to Transformation tables for calls that originate from SIP and PSTN devices to a Lync client, and the third call routing entry points to a Transformation table for a call that originates from a Lync client to a PSTN device:
Row | Transformation Table | Destination Type | Signaling Group | Media Selection | Media Transcoding | Call Control Profile | Fork |
---|---|---|---|---|---|---|---|
1 | normal | registra | G.711 | Enabled | None | No | |
2 | normal | ISDN | G.711 | Enabled | None | No | |
3 | normal | Lync | G.711 | Enabled | None | No |
Click each Transformation table link above to view its summarized behavior.
Summarized transformation behavior:
Row | Input Field | Match Field/ Field Value | Output Field/ Replaced by Field | Field Value | Match Type |
---|---|---|---|---|---|
1 | Called Address/Number |
| Called Extension |
| Mandatory |
2 | Calling Address/Number |
| Calling Extension |
| Mandatory |
3 | Calling Address/Number |
| Calling Phone Context |
| Mandatory |
Mmessage Flow:
Summarized transformation behavior:
Row | Input Field | Match Field/ Field Value | Output Field/ Replaced by Field | Field Value | Match Type |
---|---|---|---|---|---|
1 | Called Address/Number |
| Calling phone context |
| Optional |
2 | Called Address/Number |
| Calling phone context |
| Optional |
Mmessage Flow:
Summarized transformation behavior:
Row | Input Field | Match Field/ Field Value | Output Field/ Replaced by Field | Field Value | Match Type |
---|---|---|---|---|---|
1 | Called Address/Number |
| Called Extension |
| Mandatory |
2 | Calling phone context |
| Calling Address/Number |
| Optional |
3 | Calling phone context |
| Calling Address/Number |
| Optional |
Mmessage Flow:
Note: SIP message sent by the Ribbon SBC 1000/2000 system should have the From and To headers as follows:
From: 5551234<sip:5551234;ext=1234;phone-context=example.com@192.168.1.10> To: tel:2222<sip:2222;ext=2222;phone-context=example.com@192.168.1.20>