Jeff,
I was able to compile the project and run it.The phone rings and the call is answered. However, no voice file is heard....
See the log below.
****** GC DEMO - BASIC CALL HOLD & RETRIEVE *******
[MISC]: SRL Model Set to SR_STASYNC | SR_POLLMODE
gc_hmp_hold_retrieve_iptB1T1.log successfully opened
[GC_APICALL]: gc_Start(startp = NULL) Success
[MISC]: Call Control Library Status:
GC_ICAPI_LIB - configured
GC_ISDN_LIB - configured
GC_ANAPI_LIB - configured
GC_PDKRT_LIB - configured
GC_SS7_LIB - configured
GC_DM3CC_LIB - configured
GC_IPM_LIB - available
GC_H3R_LIB - available
GC_DIVAISDN_LIB - configured
GC_CUSTOM1_LIB - configured
[MISC]: gc_demo_set_configdata_manualmode called ...
[GC_APICALL]: gc_OpenEx(devicename=:N_iptB1:P_IP, mode=EV_ASYNC) Success
[GC_APICALL]: gc_SetConfigData(board) set to MANUAL_MODIFY_MODE
[MISC]: SIP device being opened
[GC_APICALL]: gc_OpenEx(devicename=:N_iptB1T1:P_SIP:M_ipmB1C1, mode=EV_ASYNC) Success
[MISC]: VOX device being opened
[GC_APICALL]: dx_open(devicename=dxxxB1C1) Success
[MISC]: ********* Received a GC event *********
[EVENT]: GCEV_OPENEX
[STATE]: GCST_NULL is the current GC call state
[MISC]: GCEV_OPENEX received
[MISC]: gc_SetAlarmNotifyAll(linedev=1, ALARM_SOURCE_ID_NETWORK_ID, ALARM_NOTIFY) PASSED
[GC_APICALL]: gc_SetUserInfo(linedev=1) Success - DTMF mode is inband
[STATE]: GCST_NULL is the new GC call state after processing the event
[MISC]: ********* Received a GC event *********
[EVENT]: GCEV_UNBLOCKED
[STATE]: GCST_NULL is the current GC call state
[MISC]: Specifying codecs
[GC_APICALL]: gc_SetUserInfo(linedev=1) Success - DTMF mode is inband
[GC_APICALL]: gc_MakeCall(linedev=1, numberstr=SIP:0526726565@82.166.90.3, mode=EV_ASYNC) Success
[STATE]: GCST_NULL is the new GC call state after processing the event
[MISC]: ********* Received a GC event *********
[EVENT]: GCEV_PROCEEDING
[STATE]: GCST_NULL is the current GC call state
[STATE]: GCST_PROCEEDING is the new GC call state after processing the event
[MISC]: ********* Received a GC event *********
[EVENT]: GCEV_ALERTING
[STATE]: GCST_PROCEEDING is the current GC call state
[STATE]: GCST_ALERTING is the new GC call state after processing the event
[MISC]: ********* Received a GC event *********
[EVENT]: GCEV_CONNECTED
[STATE]: GCST_ALERTING is the current GC call state
[MISC]: gc_DropCall() will be issued in 40-41 seconds
[GC_APICALL]: dx_getxmitslot() Success (ts=4096)
[GC_APICALL]: gc_Listen() Success (ts=4096)
[GC_APICALL]: gc_GetXmitSlot() Success (ts=4098)
[GC_APICALL]: dx_listen() Success (ts=4098)
[GC_APICALL]: Starting Play (playfile=music.pcm)
[STATE]: GCST_CONNECTED is the new GC call state after processing the event
[MISC]: TDX_PLAY ... PLAY # 1 Successful on device dxxxB1C1
[MISC]: Place call on HOLD
[MISC]: set ipcap direction = IP_CAP_DIR_LCLRTPINACTIVE
[MISC]: crn=0x8000001
[GC_APICALL]: gc_ReqModifyCall sucess!!!
[MISC]: ********* Received a GC event *********
[EVENT]: GCEV_MODIFY_CALL_ACK
[STATE]: GCST_CONNECTED is the current GC call state
[MISC]: GCEV_MODIFY_CALL_ACK received ... 200 OK sent by remote endpoint...
[GC_APICALL]: Starting Play (playfile=music.pcm)
[STATE]: GCST_CONNECTED is the new GC call state after processing the event
[MISC]: TDX_PLAY ... PLAY # 2 Successful on device dxxxB1C1
[MISC]: Retrieve Call (from hold)...
[MISC]: set ipcap direction = IP_CAP_DIR_LCLTRANSMIT
[MISC]: set ipcap direction = IP_CAP_DIR_LCLRECEIVE
[MISC]: crn=0x8000001
[GC_APICALL]: gc_ReqModifyCall sucess!!!
[MISC]: ********* Received a GC event *********
[EVENT]: GCEV_MODIFY_CALL_ACK
[STATE]: GCST_CONNECTED is the current GC call state
[MISC]: GCEV_MODIFY_CALL_ACK received ... 200 OK sent by remote endpoint...
[GC_APICALL]: Starting Play (playfile=music.pcm)
[STATE]: GCST_CONNECTED is the new GC call state after processing the event
[MISC]: TDX_PLAY ... PLAY # 3 Successful on device dxxxB1C1
[MISC]: TDX_DIAL ... Dial Successful on device dxxxB1C1
[MISC]: test complete - wait for remote disconnect or hit <ctrl+c> to exit...
[MISC]: ********* Dropping outbound call from drop_outbound_calls_if_required() *********
[GC_APICALL]: gc_DropCall(crn=0x8000001, cause=GC_NORMAL_CLEARING, mode=EV_ASYNC) Success
[MISC]: ********* Received a GC event *********
[EVENT]: GCEV_DROPCALL
[STATE]: GCST_CONNECTED is the current GC call state
[GC_APICALL]: gc_ReleaseCallEx(crn=0x8000001, EV_ASYNC) Success
[STATE]: GCST_IDLE is the new GC call state after processing the event
[MISC]: ********* Received a GC event *********
[EVENT]: GCEV_RELEASECALL
[STATE]: GCST_IDLE is the current GC call state
[MISC]: Specifying codecs
[GC_APICALL]: gc_SetUserInfo(linedev=1) Success - DTMF mode is inband
[GC_APICALL]: gc_MakeCall(linedev=1, numberstr=SIP:0526726565@82.166.90.3, mode=EV_ASYNC) Success
[STATE]: GCST_NULL is the new GC call state after processing the event
[MISC]: ********* Received a GC event *********
[EVENT]: GCEV_PROCEEDING
[STATE]: GCST_NULL is the current GC call state
[STATE]: GCST_PROCEEDING is the new GC call state after processing the event
[MISC]: ********* Received a GC event *********
[EVENT]: GCEV_ALERTING
[STATE]: GCST_PROCEEDING is the current GC call state
[STATE]: GCST_ALERTING is the new GC call state after processing the event
[MISC]: ********* Received a GC event *********
[EVENT]: GCEV_CONNECTED
[STATE]: GCST_ALERTING is the current GC call state
[MISC]: gc_DropCall() will be issued in 40-41 seconds
[GC_APICALL]: dx_getxmitslot() Success (ts=4096)
[GC_APICALL]: gc_Listen() Success (ts=4096)
[GC_APICALL]: gc_GetXmitSlot() Success (ts=4098)
[GC_APICALL]: dx_listen() Success (ts=4098)
[GC_APICALL]: Starting Play (playfile=music.pcm)
[STATE]: GCST_CONNECTED is the new GC call state after processing the event
[MISC]: TDX_PLAY ... PLAY # 1 Successful on device dxxxB1C1
[MISC]: Place call on HOLD
[MISC]: set ipcap direction = IP_CAP_DIR_LCLRTPINACTIVE
[MISC]: crn=0x8000001
[GC_APICALL]: gc_ReqModifyCall sucess!!!
[MISC]: ********* Received a GC event *********
[EVENT]: GCEV_MODIFY_CALL_ACK
[STATE]: GCST_CONNECTED is the current GC call state
[MISC]: GCEV_MODIFY_CALL_ACK received ... 200 OK sent by remote endpoint...
[GC_APICALL]: Starting Play (playfile=music.pcm)
[STATE]: GCST_CONNECTED is the new GC call state after processing the event
[MISC]: TDX_PLAY ... PLAY # 2 Successful on device dxxxB1C1
[MISC]: Retrieve Call (from hold)...
[MISC]: set ipcap direction = IP_CAP_DIR_LCLTRANSMIT
[MISC]: set ipcap direction = IP_CAP_DIR_LCLRECEIVE
[MISC]: crn=0x8000001
[GC_APICALL]: gc_ReqModifyCall sucess!!!
[MISC]: ********* Received a GC event *********
[EVENT]: GCEV_MODIFY_CALL_ACK
[STATE]: GCST_CONNECTED is the current GC call state
[MISC]: GCEV_MODIFY_CALL_ACK received ... 200 OK sent by remote endpoint...
[GC_APICALL]: Starting Play (playfile=music.pcm)
[STATE]: GCST_CONNECTED is the new GC call state after processing the event
[MISC]: TDX_PLAY ... PLAY # 3 Successful on device dxxxB1C1
[MISC]: TDX_DIAL ... Dial Successful on device dxxxB1C1
[MISC]: test complete - wait for remote disconnect or hit <ctrl+c> to exit...
Any idea what is the problem?
Thanks.
Mike