星期四, 十月 19, 2006

永远不要放弃你所爱的人!

在日本发生了一件千真万确的事:有人为了装修家里,拆开了墙;日式住宅的墙壁通常是中间架了木板后,两边批上泥土,其实里面是空的。他拆墙壁的时候,发现一只壁虎被困在那里一根从外面钉进来口钉子钉住了那只壁虎的尾巴。那人见状,既觉可怜又感好奇,他仔细看看那根钉子,天啊!那根钉子是十年前盖那房子的时候钉的。到底怎么回事?那只壁虎竟然困在墙壁里活了整整十年!黑暗中的墙壁里的十年,真不简单。不对呀?他继而寻思,尾巴被钉住了,一个步子也跨出的这只壁虎,到底靠什么撑过了这十年?他于是暂时停止了装修工程它到底吃什么?他要一探究竟。过了不久,不知从哪里又钻出来一只壁虎,嘴里含着食物...啊!他一时愣住了,这是什么样的情啊?为了被钉住尾巴而不能走动的壁虎,另一只壁虎竟然在十年的岁月里一直不停地衔取食物喂它。我听了以后,很感动,真的也不去想它们之间的关系:亲子,朋友,异性,手足....在人类的社会中随着计算机的普及,人与人获取相关的信息更快速,但是人与人之间的距离是否也越来越接近呢?...-永远不要放弃你所爱的人!

我想应该是母亲。 - feng 10/19/06, 5:45pm

如果是母亲,就没有可以大惊小怪的了,母爱自古就这样无私伟大。若是爱人,就显得难能可贵了,一生能遇此伴侣,更有何求。(母爱是单向的,而爱情是双向的)。 -Smiledfox 10/19/06, 5:45pm


星期二, 十月 17, 2006

Some decription of MindSpeed M825xx

1, CSM_ENCAPS protocal :

The CSM_ENCAPS protocol is used to provide a Reliable Data Transfer Mode over the Ethernet, while keeping the protocol as simple as possible.

MindSpeed provide a sample to indicate how to use it. -Smiledfox 10/17/06, 11:10pm

2, Message Transfer Mechanism:

The API uses a common message format with a specific message transfer mechanism for the PCI/uP and Ethernet control interfaces.

3, Message Operation:

4, Boot Loading:

5, Supervisor:

The Supervisor main function is to create and destroy channels based on commands from the Host. The Supervisor monitors the status of system resources and decides whether to accept or decline a request to create a channel based on the availability of resource requirements for the channel type requested.

6, SPI Bus Feature:

The Mindspeed Comcerto Device IP PBX demo design uses the SPI bus to control the SLIC/SLAC devices.

7, TDM Bus Management Feature:

The Mindspeed Comcerto Device provides four TDM buses that can be configured for a total of 512 timeslots.

A bus that is clocked at 8.192Mhz has 128 physical timeslots from 0-127.

1). TDM_SELECT_BUS_MODE: This command allows the Host to select 1-bus, 2-bus or 4-bus mode of operation.
2). TDM_ENABLE_BUS: it is used to enable one or more TDM buses on the Mindspeed Comcerto Device.
3). SUPVSR_ SET_PCM_LAW: it allows the Host to specify which PCM law (i.e. A-Law or mu-Law) will be used when transmitting (8-bit) PCM samples over a TDM time slot.
4). SUPVSR_SET_TS_MODE:
5). SUPVSR_SETUP_TDM_PARAMS:

8, TDM-to-TDM (TDM Hairpin Loopback) Feature:

9, POS/Utopia Interface:

10, AAL5 Device Level Message Descriptions:

The Mindspeed Comcerto Device handles Voice-stream transport over ATM
networks (VoATM).

11, Ethernet Interface:

12, Mangement Data Input/Output:

13, Dynamic DMAC Configurtaion:

14, Speical Packet handing:

Special Packet Handling is used by the Host to support Network protocols that are not
supported by the Mindspeed Comcerto Device. When the Mindspeed Comcerto
Device receives packets it cannot handle (i.e. unknown protocol from Layer 2 or
Layer 3), some packets (based on specific requirements) will be sent to the Host for
processing.
Special Packet Handling also allows the Host to send packets on the Mindspeed
Comcerto Device Ethernet interface. This requires the Host processor to process the
“special” packets. The Host processor can send packets via a customer supplied
Ethernet interface, or the Host can send the packets through the Mindspeed Comcerto
Device Ethernet interface, using the Special Packet Handling feature.

15, IP Device and Channel Level Message Descriptions:

16, Multiple Source IP Adress Feature:

Comcerto devices support two modes of Source IP Address usage: Single IP Source
Address Mode or Multiple IP Source Address Mode.

Multiple IP Source Address Mode uses one of up to 10 IP Addresses as the Source IP
Address for packets generated by channels on the same device, and each channel can
use any of the 10 possible IP Addresses.

17, VoIP Device and Channel Level Setup:

Function Code 0x0013: SPU_FEATURES_CONTROL 6
Function Code 0x8000: VoIP_VOPENA: Start/Stop VoP Channel Proce 7
Function Code 0x8001: VoIP_VCEOPT: Voice Options 16
Function Code 0x8002: VoIP_DTMFOPT: DTMF Options 22
Function Code 0x8005: VoIP_DGAIN: Digital Gain 26
Function Code 0x8006: VoIP_ECHOCAN: Echo Canceller 28
Function Code 0x8008: VoIP_ECGAIN: Echo Canceller Digital Gain 32
Function Code 0x8009: VoIP_TONEGEN: Tone Generation 34
Function Code 0x800A: VoIP_SSRCFILT: SSRC Filter 42
Function Code 0x800B: VoIP_RTPSUPP: Supported RTP Payload Types 43
Function Code 0x800C: VoIP_RTCPSTAT: RTCP Statistics 44
Function Code 0x800D: VoIP_TONEDET: Tone Detection 50
Function Code 0x800E: VoIP_SSRCCHG: SSRC Change 62
Function Code 0x800F: VoIP_PTCHNG: Payload Type Change 63
Function Code 0x8010: VoIP_TCMPLT: Tone Generation Complete 64
Function Code 0x8012: VoIP_LOOPBACK: Loopback Control 65
Function Code 0x8014: VoIP_TONEOFF: Tone Termination 67
Function Code 0x8017: VoIP_EVENTDET: Event Detection Indication 68
Function Code0x8018: VoIP_PTMNG: Payload Type Manager 71
Function Code 0x8019: VoIP_SEQREST: Sequence Number Restart 74
Function Code 0x801A: VoIP_VINFOTMR: Voice Info Timer 74
Function Code 0x801C: VoIP_VINFOIND: Voice Info Indication 75
Function Code 0x801E: VoIP_SENDNTE: Generate NTE Message 76
Function Code 0x801F: VoIP_NTECMPLT: NTE Transmission Complete 79
Function Code 0x8020: VoIP_NTERCVD: NTE Message Received 79
Function Code 0x8021: VoIP_DTMFDPAR: DTMF Detector Parameters 80
Function Code 0x8027: VoIP_SSRCVIOL: SSRC Violation 82
Function Code 0x8029: VoIP_SS7COT: SS7/COT Signaling support 83
Function Code 0x802B: VoIP_PTSET: Set Payload Type 83
Function Code 0x802C: VoIP_PTMNGRXOVR: Receive Override Payload Type Man-ager 86
Function Code 0x802D: VoIP_PTSETRXOVR: Set Receive Override Payload Type 87

Function Code 0x8034: VoIP_DTMFTUNE: DTMF Detector Tuning
Function Code 0x805B: VoIP_TONECTRL: Tone Indication Control 88
Function Code 0x805C: VoIP_REMDET 91
Function Code 0x8084: VOIP_INDCTRL 92
Function Code 0x8091: EC_CONTROL 93
Function Code 0x8092: VOIP_TONES_RELAY_OPTION: Tones Relay Option 95
Function Code 0x80AF: VOCODER_STATUS 96
Function Code 0x80B0: VoIP_CDMA_MODES CDMA Codec Modes 97

VoIP_VOPENA: Start/Stop VoP Channel Processing (Function Code 0x8000)

The VoIP_VOPENA function code is used to start or stop VoP channel processing in
the Mindspeed Comcerto Device. VoP channel processing is disabled by default.
When channel processing is enabled, the stream of packets from the host will be
decoded into PCM signals on the line, and PCM signals from the line will be encoded
into a stream of packets. The command also activates the DTMF and tone detectors,
so the host may start to receive autonomously generated indication messages after this
command is issued. The encapsulation method used is indicated by a value passed in
the FIFO and the values are described in the following sections.

18, Miscellaneous Device Level Message Descriptions:

19, Packet and Port Redirection Server Feature:

20, RTP Control Protocol(RTCP) Feature:

21, FAX over IP:

22, Announcement Server Feature:

The Announcement Server is a feature which provides speech record and playback
capabilities.

23, Flow Control Feature:

24, Alternate Ethernet header Feature:

25, Conferencing Feature:

The Mindspeed Comcerto Device supports conference participants on the TDM side
(POTS phones) or on the packet side (IP phones or POTS phones connected to a
remote gateway), and participants can dynamically join or leave a conference.

26, Encryption Feature:

27, In-band Tone Signaling Feature(DTMF,SIT,SS7/COT,MF R1/R2):

28, Quad Tone Generation:

29, Complex Tone and Cadence Generation:

30, Call Progress Tone Detection Feature:

31, Caller ID Detection Feature:

32, Caller ID Generation Feature:

33, DTMF-Based Caller ID Generation:

34, Forward Error Correction For Packet Loss Concealment:

35, Unified Diagnostics:

36, Superceded Codes:

星期五, 十月 13, 2006

pSOS Real Time Kernel

1: pSOS Real Time Kernel

2: Task State Transitions

Ready --------------------> Excute

Excute -------------------> Ready

Excute --------------------> Blooked

q_receive / q_vreceive

ev_receive

sm_p

rn_setseg

tw_wkafter

Blooked --------------------> Ready

q_vsent / q_vsent / q_urgent / q_vurgent / q_broadcast / q_vbroadcast

ev_sent

sm_v

rn_retseg

B has been waiting with a timeout option ,and timeout interval expires!

wakeup

3: Region 0

Region 0 ("RN#0")

START ---------------------------------

pSOS Configuration Table

---------------------------------

pSOS Data Strutures

---------------------------------

pSOS System (Interrupts) Stack

---------------------------------

TCBs(Task Control Blooks),

QCBs(Queue Control Blooks),

SCBs(Semaphore Control Blooks),

MGBs(Message Buffers),

TMCBs(Timer Control Blooks)

---------------------------------

Object Tables

---------------------------------

Task 'AAAA' Stack

---------------------------------

Task 'BBBB' Stack

---------------------------------

Task 'CCCC' Stack

---------------------------------

.............

4: pSOS+ Configuration

49集团104DSS数位扩充台安装说明

我手上的资料显示49集团NIPX1000S的Slot5,Slot6,Slot7槽位是空闲的,可以将KLC卡插入.
104DSS数位扩充台系统 包含有 104DSS设备一台, KEY-PHONE数字话机一部. 需要配合使用.


第一步 插入KLC卡片,修改配置


将KLC卡片插入槽位 (49集团推荐插入slot7槽位) ,

打开NIPX1000控制台, 分机->号码管理->连续位置连续号码
分机起始位置KLC卡片的第0位的port号,(你可以用鼠标点一下KLC的第0位获得,应该是112)
分机结束位置KLC卡片的第15位的port号,(你可以用鼠标点一下KLC的第0位获得,应该是127)
分机起始号码 填一个用不到的号码段(16个) ,建议填350, 然后点确定
这样的话,KLC的号码被分配为350,351,352,353.....365


分机->分机功能复制->依位置复制
来源分机号码 填 任意一个你配号的分机号码,建议填300
分机起始位置KLC卡片的第0位的port号,(你可以用鼠标点一下KLC的第0位获得,应该是112)
分机结束位置KLC卡片的第15位的port号,(你可以用鼠标点一下KLC的第0位获得,应该是127)
点确定
这样,分机的配置就被复制到KLC的各个port上.


第二步 插上104DSS设备


KLC卡片Port0 接 KEY-PHONE(数字电话机) , Port1 接104DSS数位扩充台.(推荐)

打开NIPX1000控制台, 分机->号码管理->号码编辑
将 KLC卡片Port0位置的号码修改为总机的号码,如650

同时你会看到Port1位置的号码为空,那是正常的.
如果看到104DSS上的灯全部灭掉,则表明DSS运作正常.



第三步 配置104DSS设备


打开NIPX1000控制台, 总机台->DSS连接设定
你会看到slot7***, 将其对应的FristKEY-PHONE的号码,如650

总机台->DSS键设定,
中继台号码 填KEY-PHONE的号码,如650
然后看到104个框框,分别对应104DSS上的104个键.

下面的步骤最好参考文档總機數位直撥擴充台(104DSS)安裝操作手冊.doc 来做

点击104个框框中的一个,选择显示内线状态,分机号码需要监视的内线号码(例如612), 选择不响铃,确定.
这样,只要在104DSS上按这个键,就能呼叫到那个内线号码(例如612), ; 如果外线来电接听后,只要先在KEY-PHONE上按"转闪", 然后在104DSS 那个键, 然后 挂机,这通电话就转移到内线号码(例如612)了.

依次类推,配置完所有的的号码. 并用黑色笔在104DSS的每个键上面写明 分机拥有者 的姓名.

系统功能还有很多, 其他功能可以参考操作手册来学习.