В случае MGCP, для исходящих звонков трансляции Calling number мы можем производить несколькими путями:
- Phone (External Phone Number Mask)
- Route pattern (Calling Party Transform Mask)
- Route List (Calling Party Transform Mask)
- Gateway (trasform pattern)
В этом случае исходящий звонок будет выглядеть:
009308: Feb 1 08:30:10.621 MSK: ISDN Se0/1/0:15 Q931: TX -> DISCONNECT pd = 8 callref = 0x0001 Cause i = 0x8090 - Normal call clearing 009309: Feb 1 08:30:10.629 MSK: ISDN Se0/1/0:15 Q931: RX RELEASE_COMP pd = 8 callref = 0x0001 009311: Feb 1 09:05:49.839 MSK: ISDN Se0/1/0:15 Q931: TX -> SETUP pd = 8 callref = 0x0002 Sending Complete Bearer Capability i = 0x8090A3 Standard = CCITT Transfer Capability = Speech Transfer Mode = Circuit Transfer Rate = 64 kbit/s Channel ID i = 0xA9839F Exclusive, Channel 31 Display i = '77357 Vladimir Sam' Calling Party Number i = 0x0081, '84959098681' Plan:Unknown, Type:Unknown Called Party Number i = 0x80, '89109126072' Plan:Unknown, Type:Unknown 009312: Feb 1 09:05:49.875 MSK: ISDN Se0/1/0:15 Q931: RX
Интересно, что Calling Party Transform Mask не всегда влияет на трансляцию в случае перенаправления звонка или Redirect (Forward).
Это зависит от настройки параметра Gateway > Calling Party Selection следующим образом:
1) Calling Party Selection = Originator
In this case calling party number for redirect will be of the originator of the call, and this number is falls into transformation on Route list level Calling Party Transform Mask
2) Calling Party Selection = Last redirect number (external)
In this case Route list level Calling Party Transform Mask means nothing, and External Phone Number Mask of the Redirector phone is inserted.
Добавить комментарий