I have a 2821 router with CCME 4.0.2 that is connected to PSTN network via VIC2-4FXO.
I have a problem with call establishment because:
- when there is a call from PSTN network to IPphone, the associated FXO port rings but IP phones with the same phone number doesn't ring
- when there is a call from IP phone to PSTN network, the FXO port is correctly selected but the calls are not established
I have issued the command debug vpm all and then I tried a simulated call with the command "csim start <dialstring>" that failed.
These are the logs, anyone can help me?
Jun 23 09:54:14: htsp_timer_stop3 htsp_setup_req
Jun 23 09:54:14: htsp_process_event: [0/3/2, FXOGS_ONHOOK, E_HTSP_SETUP_REQ]fxog
Jun 23 09:54:14: [0/3/2] set signal state = 0x0 timestamp = 0
Jun 23 09:54:14: dsp_set_sig_state: [0/3/2] packet_len=12 channel_id=130 packet_
id=39 state=0x0 timestamp=0x0
Jun 23 09:54:14: TGRM: reg_invoke_tgrm_call_update(0, 3, 2, 65535, 1, TGRM_CALL_
BUSY, TGRM_CALL_VOICE, TGRM_DIRECTION_OUT)
Jun 23 09:54:14: htsp_timer - 10000 msec
Jun 23 09:54:24: htsp_process_event: [0/3/2, FXOGS_WAIT_TIP_GROUND, E_HTSP_EVENT
Jun 23 09:54:24: htsp_timer_stop
Jun 23 09:54:24: [0/3/2] set signal state = 0x4 timestamp = 0
Jun 23 09:54:24: dsp_set_sig_state: [0/3/2] packet_len=12 channel_id=130 packet_
id=39 state=0x4 timestamp=0x0
Jun 23 09:54:24: htsp_timer - 2000 msechtsp_release_req: cause 16, no_onhook 0
Jun 23 09:54:24: htsp_process_event: [0/3/2, FXOGS_ONHOOK, E_HTSP_RELEASE_REQ]fxogs_onhook_release
Jun 23 09:54:24: htsp_timer_stop2
Jun 23 09:54:24: htsp_timer_stop3
Jun 23 09:54:24: TGRM: reg_invoke_tgrm_call_update(0, 3, 2, 65535, 1, TGRM_CALL_
IDLE, TGRM_CALL_VOICE, TGRM_DIRECTION_OUT)
Jun 23 09:54:24: flex_dsprm_close_cleanup
Jun 23 09:54:25: htsp_process_event: [0/3/2, FXOGS_ONHOOK, E_DSP_SIG_0110]
Jun 23 09:54:25: fxogs_line_reversal_clid_wait. On_hook line reversal detected possibily due to crossed cable
Jun 23 09:54:26: htsp_process_event: [0/3/2, FXOGS_ONHOOK, E_HTSP_EVENT_TIMER]
Jun 23 09:54:26: [0/3/2, FXOGS_ONHOOK, E_HTSP_EVENT_TIMER] -> ERROR: INVALID INPUT
Where are you located? The port is configured for ground start, but usually ground start is not available outside north america.
How did you "associate" the phone to FXO port ? "connections plar opx", or ?
I am located in Italy. Actually I have configured the FXO port for ground start and the phone number associated with the FXO port is configured directly on the IP phone.
These are the some configuration's details:
- voice port
incoming alerting ring-only
- Two outbound dial peer associated with the voice port 0/3/2
dial-peer voice 7 pots
dial-peer voice 8 pots
1st, the port must be loop start. There is no ground start support in Italy.
2nd: with fxo ports, you never know what number has been called, it is not sent in signaling.
So you need "connection plar opx
If you want to be able to direct calls depending on the number called, etc, get ISDN BRi with DID. ("selezione passante" or "multinumero"). Also with ISDN BRI you will have a lot of more features and stability.
Hope this helps, please rate post if it doees!
Now it's ok.
I have configured the voice port in loop start with the command "connection plar opx" and I have deleted the command "caller-id enable ".
Glad to know it works. If you have more ports, remember you can put the as "trunk group" and configure a single dial-peer. Plus for your convenience, below a dial-peer set for the italian mobile operators, that will allow only the numbers that are valid according to the prefix. The other advantage is that you can count calls made to each operator with "show dial-peer voice",
Grazie per il rating e buona fortuna!
dial-peer voice 39 pots
dial-peer voice 33 pots
dial-peer voice 360 pots
description TIM E-TACS
dial-peer voice 32 pots
dial-peer voice 38 pots
dial-peer voice 36 pots
dial-peer voice 34 pots