07-11-2013 10:55 AM - edited 03-16-2019 06:20 PM
Hello!
Today, i've received strange error, when i try to call from analog phone (fxs) - CME to SCCP phone on CUCM through h.323 trunk.
But when i try to call from SCCP to analog phone (CME) - call was successfully placed. I' dont think, that it's a toll fraud, cause on both end - i've configured IP addresses (this ip address is source addresses of h.323.trunk; e.g on CME i've configured h323 voip bind and h323 voip int)
Here is a CME debug, when i try to place a call form FXS (CCME) to SCCP (CUCM)
*Jul 11 18:24:42.413: Changing to new event: CONNECT
h323chan_chn_connect: connecting to 192.168.0.254:1720
*Jul 11 18:24:42.417: h323chan_gw_conn: Created socket fd=2
*Jul 11 18:24:42.417: h323chan_gw_conn: connect in progress on fd=2h323chan_chn_connect: using fd=2, owner_data(ccb) 0x88B12240
changing from NONE state to CONNECTING state
*Jul 11 18:24:42.417: h323chan_chn_process_read_socket: fd=2 of type CONNECT_PENDING has data
*Jul 11 18:24:42.417: Changing to new event: CONNECTED
changing from CONNECTING state to CONNECTED state
*Jul 11 18:24:42.417: compose_TunnelledSignallingMessage_cisco Tunnelled Content:
IAM,
GCI,fc125ab8e98d11e28b3acecfbc07c98c
....
*Jul 11 18:24:42.421: The length of message content is:[46]
Hex representation of the SETUP TPKT to send.: 080200170504039090A36C058032303032700580313030317E0113052080060008914A00042800B500001240013C05010000FC125AB8E98D11E28B3ACECFBC07C98C00CD1D82000700AC101F01B7F01100FC125AB8E98D11E28B3CCECFBC07C98C3402130000000D4001800B05000100AC101F014605801E400000060401004D4001801215000100AC101F01460400AC101F014605800100010001800180010010A80180530140B50000124CE0011200011C3B1C399E0100036774640000002E49414D2C0D0A4743492C66633132356162386539386431316532386233616365636662633037633938630D0A0D0A18800006000400000003350204677464012E
49414D2C0D0A4743492C66633132356162386539386431316532386233616365636662633037633938630D0A0D0A
h225SetupRequest: Q.931 SETUP sent from fd=2
*Jul 11 18:24:42.421: h323chan_chn_process_read_socket: fd=2 of type CONNECTED has data
*Jul 11 18:24:42.421: h323chan_recvdata: No Data on fd=2
PROCESS_READ: FAILED/NOT COMPLETE,rc 10, fd=2
*Jul 11 18:24:42.429: h323chan_chn_process_read_socket: fd=2 of type CONNECTED has data
Hex representation of the SETUP TPKT received: 08028017027E0051052180060008914A000522C0B50000120F436973636F43616C6C4D616E6167657200310110C01100FC125AB8E98D11E28B3CCECFBC07C98C0100010010A00100100140B500001209820400000400010300
h225ParseData: Q.931 CALL PROCEEDING received on fd=2
*Jul 11 18:24:42.429: h323chan_chn_process_read_socket: fd=2 of type CONNECTED has data
Hex representation of the SETUP TPKT received: 0802801703080280811E0281887E00520528003940060008914A000522C0B50000120F436973636F43616C6C4D616E61676572003100C0A800FEC84800FC125AB8E98D11E28B3CCECFBC07C98C10A00100100140B500001209820400000400010300
h225ParseData: Q.931 PROGRESS received on fd=2
*Jul 11 18:24:42.433: Changing to new event: CONNECT
h323chan_chn_connect: connecting to 192.168.0.254:51272
*Jul 11 18:24:42.433: h323chan_gw_conn: Created socket fd=3
*Jul 11 18:24:42.433: h323chan_gw_conn: connect in progress on fd=3h323chan_chn_connect: using fd=3, owner_data(ccb) 0x88B12240
changing from NONE state to CONNECTING state
*Jul 11 18:24:42.437: h323chan_chn_process_read_socket: fd=3 of type CONNECT_PENDING has data
*Jul 11 18:24:42.437: Changing to new event: CONNECTED
changing from CONNECTING state to CONNECTED state
*Jul 11 18:24:42.437: h323chan_chn_process_read_socket: fd=3 of type CONNECTED has data
*Jul 11 18:24:42.437: h323chan_recvdata: No Data on fd=3
PROCESS_READ: FAILED/NOT COMPLETE,rc 10, fd=3
*Jul 11 18:24:42.441: h323chan_chn_process_read_socket: fd=3 of type CONNECTED has data
*Jul 11 18:24:42.445: h323chan_chn_process_read_socket: fd=3 of type CONNECTED has data
UC520_HOME-ROUTER#
*Jul 11 18:24:42.445: h323chan_chn_process_read_socket: fd=3 of type CONNECTED has data
*Jul 11 18:24:42.449: h323chan_chn_process_read_socket: fd=3 of type CONNECTED has data
*Jul 11 18:24:42.453: h323chan_chn_process_read_socket: fd=3 of type CONNECTED has data
UC520_HOME-ROUTER#
*Jul 11 18:24:51.753: h323chan_chn_process_read_socket: fd=3 of type CONNECTED has data
*Jul 11 18:24:51.757: h323chan_chn_process_read_socket: fd=3 of type CONNECTED has data
*Jul 11 18:24:51.757: h323chan_chn_process_read_socket: fd=3 of type CONNECTED has data
*Jul 11 18:24:51.761: h323chan_chn_process_read_socket: fd=2 of type CONNECTED has data
Hex representation of the SETUP TPKT received: 080280175A080280817E0022052580060008914A000511001100FC125AB8E98D11E28B3CCECFBC07C98C10800100
h225ParseData: Q.931 RELEASE COMPLETE received on fd=2
*Jul 11 18:24:51.761: h323chan_chn_process_read_socket: fd=3 of type CONNECTED has data
UC520_HOME-ROUTER#
*Jul 11 18:24:51.765: h323chan_chn_process_read_socket: fd=3 of type CONNECTED has data
*Jul 11 18:24:51.765: h323chan_recvdata: Connection lost fd=3
*Jul 11 18:24:51.765: h323chan_close: TCP connection from fd=3 closed
*Jul 11 18:24:51.769: compose_TunnelledSignallingMessage_ciscoNo tunnelled content.
Hex representation of the RELEASE COMPLETE TPKT to send.: 080200175A080280817E0022052580060008914A000411001100FC125AB8E98D11E28B3CCECFBC07C98C10800100
h225TerminateRequest: Q.931 RELEASE COMPLETE sent from fd=2. Call state changed to [Null].
*Jul 11 18:24:51.773: h323chan_close: TCP connection from fd=2 closed
UC520_HOME-ROUTER#
*Jul 11 18:26:03.365: Changing to new event: CONNECT
h323chan_chn_connect: connecting to 192.168.0.254:1720
*Jul 11 18:26:03.365: h323chan_gw_conn: Created socket fd=2
*Jul 11 18:26:03.365: h323chan_gw_conn: connect in progress on fd=2h323chan_chn_connect: using fd=2, owner_data(ccb) 0x88B12240
changing from NONE state to CONNECTING state
*Jul 11 18:26:03.369: h323chan_chn_process_read_socket: fd=2 of type CONNECT_PENDING has data
*Jul 11 18:26:03.369: Changing to new event: CONNECTED
changing from CONNECTING state to CONNECTED state
*Jul 11 18:26:03.369: compose_TunnelledSignallingMessage_cisco Tunnelled Content:
IAM,
GCI,2c520a00e98e11e28b3fcecfbc07c98c
....
*Jul 11 18:26:03.369: The length of message content is:[46]
Hex representation of the SETUP TPKT to send.: 080200180504039090A36C058032303032700580313030317E0113052080060008914A00042800B500001240013C050100002C520A00E98E11E28B3FCECFBC07C98C00CD1D82000700AC101F01A54411002C52A628E98E11E28B41CECFBC07C98C3402130000000D4001800B05000100AC101F01474D801E400000060401004D4001801215000100AC101F01474C00AC101F01474D800100010001800180010010A80180530140B50000124CE0011200011C3B1C399E0100036774640000002E49414D2C0D0A4743492C32633532306130306539386531316532386233666365636662633037633938630D0A0D0A18800006000400000003350204677464012E
49414D2C0D0A4743492C32633532306130306539386531316532386233666365636662633037633938630D0A0D0A
h225SetupRequest: Q.931 SETUP sent from fd=2
*Jul 11 18:26:03.369: h323chan_chn_process_read_socket: fd=2 of type CONNECTED has data
*Jul 11 18:26:03.373: h323chan_recvdata: No Data on fd=2
PROCESS_READ: FAILED/NOT COMPLETE,rc 10, fd=2
*Jul 11 18:26:03.377: h323chan_chn_process_read_socket: fd=2 of type CONNECTED has data
Hex representation of the SETUP TPKT received: 08028018027E0051052180060008914A000522C0B50000120F436973636F43616C6C4D616E6167657200310110C011002C52A628E98E11E28B41CECFBC07C98C0100010010A00100100140B500001209820400000400010300
h225ParseData: Q.931 CALL PROCEEDING received on fd=2
*Jul 11 18:26:03.377: h323chan_chn_process_read_socket: fd=2 of type CONNECTED has data
Hex representation of the SETUP TPKT received: 0802801803080280811E0281887E00520528003940060008914A000522C0B50000120F436973636F43616C6C4D616E61676572003100C0A800FEC88A002C52A628E98E11E28B41CECFBC07C98C10A00100100140B500001209820400000400010300
h225ParseData: Q.931 PROGRESS received on fd=2
*Jul 11 18:26:03.381: Changing to new event: CONNECT
h323chan_chn_connect: connecting to 192.168.0.254:51338
*Jul 11 18:26:03.381: h323chan_gw_conn: Created socket fd=3
*Jul 11 18:26:03.381: h323chan_gw_conn: connect in progress on fd=3h323chan_chn_connect: using fd=3, owner_data(ccb) 0x88B12240
changing from NONE state to CONNECTING state
*Jul 11 18:26:03.385: h323chan_chn_process_read_socket: fd=3 of type CONNECT_PENDING has data
*Jul 11 18:26:03.385: Changing to new event: CONNECTED
changing from CONNECTING state to CONNECTED state
*Jul 11 18:26:03.389: h323chan_chn_process_read_socket: fd=3 of type CONNECTED has data
*Jul 11 18:26:03.389: h323chan_recvdata: No Data on fd=3
PROCESS_READ: FAILED/NOT COMPLETE,rc 10, fd=3
*Jul 11 18:26:03.393: h323chan_chn_process_read_socket: fd=3 of type CONNECTED has data
*Jul 11 18:26:03.393: h323chan_chn_process_read_socket: fd=3 of type CONNECTED has data
UC520_HOME-ROUTER#
*Jul 11 18:26:03.397: h323chan_chn_process_read_socket: fd=3 of type CONNECTED has data
*Jul 11 18:26:03.401: h323chan_chn_process_read_socket: fd=3 of type CONNECTED has data
*Jul 11 18:26:03.401: h323chan_chn_process_read_socket: fd=3 of type CONNECTED has data
UC520_HOME-ROUTER#
*Jul 11 18:26:12.717: h323chan_chn_process_read_socket: fd=3 of type CONNECTED has data
*Jul 11 18:26:12.717: h323chan_chn_process_read_socket: fd=3 of type CONNECTED has data
*Jul 11 18:26:12.721: h323chan_chn_process_read_socket: fd=2 of type CONNECTED has data
Hex representation of the SETUP TPKT received: 080280185A080280817E0022052580060008914A0005110011002C52A628E98E11E28B41CECFBC07C98C10800100
h225ParseData: Q.931 RELEASE COMPLETE received on fd=2
*Jul 11 18:26:12.721: h323chan_chn_process_read_socket: fd=3 of type CONNECTED has data
*Jul 11 18:26:12.721: h323chan_chn_process_read_socket: fd=3 of type CONNECTED has data
UC520_HOME-ROUTER#
*Jul 11 18:26:12.725: h323chan_chn_process_read_socket: fd=3 of type CONNECTED has data
*Jul 11 18:26:12.725: h323chan_recvdata: Connection lost fd=3
*Jul 11 18:26:12.725: h323chan_close: TCP connection from fd=3 closed
*Jul 11 18:26:12.741: compose_TunnelledSignallingMessage_ciscoNo tunnelled content.
Hex representation of the RELEASE COMPLETE TPKT to send.: 080200185A080280817E0022052580060008914A0004110011002C52A628E98E11E28B41CECFBC07C98C10800100
h225TerminateRequest: Q.931 RELEASE COMPLETE sent from fd=2. Call state changed to [Null].
*Jul 11 18:26:12.741: h323chan_close: TCP connection from fd=2 closed
Can you please help me? Where is a problem?
Thanks...
07-12-2013 06:37 AM
Still have this problem?
Can anyone give me an advice?
Thanks...
08-07-2013 01:17 PM
Hi dimitry,
Have you found a solution for this problem?
Calls from FXS to ip phones (CUCM) doesn't work
Thank you
08-09-2013 04:43 AM
Hi there,
The h323 commands were missing. It's working now
h323-gateway voip interface
h323-gateway voip bind srcaddr X.X.X.X
Best regards
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide