Channel Based Operation

Monitoring Signaling Links

  • From the FreeSWITCH/SMG cli run: "ftdm ss7 show status mtp3 <mtp3 name>"

# ftdm ss7 show status mtp3 mtp3-1

link1|span=1|chan=1|sap=1|state=Aligned|l_blk=N|r_blk=N|l_inhbt=N|r_inhbt=N

link1 => link name

span => TDMV_SPAN value 

chan => physical channel number

sap => ftmod_sangoma_ss7 internal id for this sig link

state => state of link

OUT OF ALIGNMENT => link is not active

CONNECTING => MTP is attempting to align the link

ALIGNED => MTP has aligned the link

l_blk => link is in local processor outage (lpo)

r_blk => link is in remote local processor outage (lpo)

l_inhbt => link is inhibited locally

r_inhbt => link is inhibited remotely

 

  • From the FreeSWITCH/SMG cli run: "ftdm ss7 show status mtp2 <mtp2 name>"

# ftdm ss7 show status mtp2 mtp2-1

mtp2-1|span=1|chan=16|sap=1|state=bnd-enabled|outsFrm=0|drpdFrm=0|lclStatus=N|rmtStatus=N|fsn=78|bsn=81

-

Monitoring Signaling Link Sets

  • From the FreeSWITCH/SMG cli run: "ftdm ss7 show status linkset <linkset name>"

# ftdm ss7 show status linkset LS1

LS1|state=InActive|nmbActLnk=1

state => linkset is either active or inactive

nmbActLnk => number of active links within this linkset

-

Monitoring Voice CICs

  • From the FreeSWITCH/SMG cli: "ftdm ss7 show status span X chan Y"

# ftdm ss7 show status span 1 chan 4

span= 1|chan= 4|cic=   4|sig_status=UP|state=DOWN|l_mn=N|r_mn=N|l_hw=N|r_hw=N|l_mngmt=N|l_ucic=N|flags=0x000000

span => TDMV_SPAN value

chan => physical time slot on the span

cic => the assigned cic value

sig_status => FreeTDM signaling module status; DOWN ( sig stack has flagged this channel as unavailable), UP ( sig stack has flagged channel as available)

state => FreeTDM channel state; DOWN, RINGING, DIALING, PROGRESS, PROGRESS_MEDIA, UP, TERMINATING, HANGUP, HANGUP_COMPLETE, CANCEL, RESTART and SUSPENDED

l_mn => local maintenance block

r_mn => remote maintenance block

l_hw => local hardware block

r_hw => remote hardware block

l_mngmt => local management block

l_ucic => Unequipped CIC message recieved

flags => ftmod_sangoma_ss7 internal flags

 

Blocking/Unblocking Signaling Links

To block/unblock the link:

From the FreeSWITCH/SMG cli: "ftdm ss7 deactivate link <linkname>" or or "ftdm ss7 activate link <linkname>".

# ftdm ss7 deactivate link link3

  name=link3|span=3|chan=16|sap=3|state=Failed|l_blk=N|r_blk=N|l_inhbt=N|r_inhbt=N

 
# ftdm ss7 activate link link3

name=link3|span=3|chan=16|sap=3|state=Connecting|l_blk=N|r_blk=N|l_inhbt=N|r_inhbt=N

 

Blocking/Unblocking Voice CICs

There are 2 types of blocks that user can apply: single circuit block/unblock (blo/ubl) or group block (cgb/cgu)

 

From the FreeSWITCH/SMG cli: "ftdm ss7 blo span X chan y" or "ftdm ss7 ubl span X chan Y"

  • # ftdm ss7 blo span 1 chan 4

span= 1|chan= 4|cic=   4|l_mn=Y|r_mn=N|l_hw=N|r_hw=N|l_mngmt=N|l_ucic=N|

 

  • # ftdm ss7 ubl span 1 chan 4

span= 1|chan= 4|cic=   4|l_mn=N|r_mn=N|l_hw=N|r_hw=N|l_mngmt=N|l_ucic=N|

 

From the FreeSWITCH/SMG cli: "ftdm ss7 cgb span X chan Y range Z" or "ftdm ss7 cgu span X chan Y range Z"

  • # ftdm ss7 cgb span 1 chan 3 range 2

span= 1|chan= 3|cic=   3|l_mn=Y|r_mn=N|l_hw=N|r_hw=N|l_mngmt=N|l_ucic=N|

span= 1|chan= 4|cic=   4|l_mn=Y|r_mn=N|l_hw=N|r_hw=N|l_mngmt=N|l_ucic=N|

 

  • # ftdm ss7 cgu span 1 chan 3 range 2

span= 1|chan= 3|cic=   3|l_mn=N|r_mn=N|l_hw=N|r_hw=N|l_mngmt=N|l_ucic=N|

span= 1|chan= 4|cic=   4|l_mn=N|r_mn=N|l_hw=N|r_hw=N|l_mngmt=N|l_ucic=N|

 

Resetting Voice CICs

There are 2 types of resets that users can apply to CICs: circuit reset (rsc) and circuit group reset (grs)

 

  • From the FreeSWITCH/SMG cli: "ftdm ss7 rsc span X chan Y"

# ftdm ss7 rsc span 1 chan 4"

span= 1|chan= 4|cic=   4|sig_status=UP|state=RESTART|l_mn=N|r_mn=N|l_hw=N|r_hw=N|l_mngmt=N|l_ucic=N|flags=0x000000

 

  • From the FreeSWITCH/SMG cli: "ftdm ss7 grs span X chan Y range Z"

# ftdm ss7 grs span 1 chan 4 range 2"

span= 1|chan= 4|cic=   4|sig_status=UP|state=RESTART|l_mn=N|r_mn=N|l_hw=N|r_hw=N|l_mngmt=N|l_ucic=N|flags=0x000000

span= 1|chan= 5|cic=   5|sig_status=UP|state=RESTART|l_mn=N|r_mn=N|l_hw=N|r_hw=N|l_mngmt=N|l_ucic=N|flags=0x000000

-

Return to Documentation Home I Return to Sangoma Support