Pika E1 card problem

i have installed an Pika E1 card on my new Trixbox
but after installation i couldn’t make any calls from it and report me that the call field.
about the incoming calls i recieved it but when i answered the calls i hear an unrecognized voice like machine working.
and this is the log for the outgoing call

Apr 6 16:31:58 NOTICE[4276] chan_sip.c: Registration from ‘“Noha Elnaggar”’ failed for ‘196.2.194.248’ - ACL error (permit/deny)
Apr 6 16:31:59 DEBUG[4361] manager.c: Manager received command ‘Command’
Apr 6 16:31:59 DEBUG[4361] manager.c: Manager received command ‘Command’
Apr 6 16:31:59 NOTICE[4276] chan_sip.c: Registration from ‘“wafaa”’ failed for ‘196.2.194.248’ - ACL error (permit/deny)
Apr 6 16:31:59 DEBUG[4361] manager.c: Manager received command ‘Command’
Apr 6 16:31:59 DEBUG[4361] manager.c: Manager received command ‘Command’
Apr 6 16:31:59 DEBUG[4361] manager.c: Manager received command ‘Command’
Apr 6 16:32:00 DEBUG[4276] chan_sip.c: Setting NAT on RTP to 524288
Apr 6 16:32:00 DEBUG[4276] chan_sip.c: Stopping retransmission on ‘5375a90de9251977NjcxNjhkYTI1YWY3M2ZkZDEwOGQ5MTZiYjg0YTdkZmQ.’ of Response 1: Match Found
Apr 6 16:32:00 DEBUG[4276] chan_sip.c: Setting NAT on RTP to 524288
Apr 6 16:32:00 DEBUG[4276] chan_sip.c: Checking SIP call limits for device 1601
Apr 6 16:32:00 DEBUG[4276] chan_sip.c: build_route: Contact hop:
Apr 6 16:32:00 DEBUG[4270] channel.c: Avoiding initial deadlock for ‘SIP/1601-09b720b8’
Apr 6 16:32:00 DEBUG[4371] pbx.c: Function result is ‘device’
Apr 6 16:32:00 DEBUG[4371] pbx.c: Function result is ‘1601’
Apr 6 16:32:00 DEBUG[4371] app_macro.c: Executed application: Noop
Apr 6 16:32:00 DEBUG[4371] pbx.c: Expression result is ‘1’
Apr 6 16:32:00 DEBUG[4371] pbx.c: Function result is ‘1601’
Apr 6 16:32:00 DEBUG[4371] pbx.c: Function result is ‘1601’
Apr 6 16:32:00 DEBUG[4371] app_macro.c: Executed application: Set
Apr 6 16:32:00 DEBUG[4371] pbx.c: Expression result is ‘0’
Apr 6 16:32:00 DEBUG[4371] pbx.c: Not taking any branch
Apr 6 16:32:00 DEBUG[4371] app_macro.c: Executed application: GotoIf
Apr 6 16:32:00 DEBUG[4371] pbx.c: Expression result is ‘1’
Apr 6 16:32:00 DEBUG[4371] pbx.c: Function result is ‘1601’
Apr 6 16:32:00 DEBUG[4371] app_macro.c: Executed application: ExecIf
Apr 6 16:32:00 DEBUG[4371] pbx.c: Expression result is ‘0’
Apr 6 16:32:00 DEBUG[4371] pbx.c: Function result is ‘1601’
Apr 6 16:32:00 DEBUG[4371] app_macro.c: Executed application: Noop
Apr 6 16:32:00 DEBUG[4371] pbx.c: Function result is ‘1601’
Apr 6 16:32:00 DEBUG[4371] app_macro.c: Executed application: Set
Apr 6 16:32:00 DEBUG[4371] pbx.c: Function result is ‘Network(Hamed Adel)’
Apr 6 16:32:00 DEBUG[4371] app_macro.c: Executed application: Set
Apr 6 16:32:00 DEBUG[4371] pbx.c: Expression result is ‘0’
Apr 6 16:32:00 DEBUG[4371] pbx.c: Not taking any branch
Apr 6 16:32:00 DEBUG[4371] app_macro.c: Executed application: GotoIf
Apr 6 16:32:00 DEBUG[4371] pbx.c: Function result is ‘1’
Apr 6 16:32:00 DEBUG[4371] pbx.c: Expression result is ‘1’
Apr 6 16:32:00 DEBUG[4371] pbx.c: Function result is ‘1601’
Apr 6 16:32:00 DEBUG[4371] app_macro.c: Executed application: Set
Apr 6 16:32:00 DEBUG[4371] app_macro.c: Executed application: Set
Apr 6 16:32:00 DEBUG[4371] pbx.c: Function result is ‘1601’
Apr 6 16:32:00 DEBUG[4371] app_macro.c: Executed application: Set
Apr 6 16:32:00 DEBUG[4371] pbx.c: Function result is ‘’
Apr 6 16:32:00 DEBUG[4371] pbx.c: Expression result is ‘0’
Apr 6 16:32:00 DEBUG[4371] pbx.c: Function result is ‘’
Apr 6 16:32:00 DEBUG[4371] app_macro.c: Executed application: ExecIf
Apr 6 16:32:00 DEBUG[4371] pbx.c: Function result is ‘’
Apr 6 16:32:00 DEBUG[4371] pbx.c: Expression result is ‘0’
Apr 6 16:32:00 DEBUG[4371] pbx.c: Function result is ‘’
Apr 6 16:32:00 DEBUG[4371] app_macro.c: Executed application: Noop
Apr 6 16:32:00 DEBUG[4371] pbx.c: Expression result is ‘1’
Apr 6 16:32:00 DEBUG[4371] app_macro.c: Executed application: GotoIf
Apr 6 16:32:00 DEBUG[4371] pbx.c: Function result is ‘“Network(Hamed Adel)” <1601>’
Apr 6 16:32:00 DEBUG[4371] app_macro.c: Executed application: Noop
Apr 6 16:32:00 DEBUG[4371] pbx.c: Function result is ‘0’
Apr 6 16:32:00 DEBUG[4371] pbx.c: Expression result is ‘0’
Apr 6 16:32:00 DEBUG[4371] app_macro.c: Executed application: GotoIf
Apr 6 16:32:00 DEBUG[4371] pbx.c: Function result is ‘20080406-163200’
Apr 6 16:32:00 VERBOSE[4371] logger.c: recordingcheck|20080406-163200|1207492320.9: Outbound recording not enabled
Apr 6 16:32:00 DEBUG[4371] app_macro.c: Executed application: AGI
Apr 6 16:32:00 DEBUG[4371] app_macro.c: Executed application: Noop
Apr 6 16:32:00 DEBUG[4371] app_macro.c: Executed application: Set
Apr 6 16:32:00 DEBUG[4371] pbx.c: Expression result is ‘0’
Apr 6 16:32:00 DEBUG[4371] db.c: Unable to find key ‘1601/pinless’ in family ‘AMPUSER’
Apr 6 16:32:00 DEBUG[4371] func_db.c: DB: AMPUSER/1601/pinless not found in database.
Apr 6 16:32:00 DEBUG[4371] pbx.c: Function result is ‘’
Apr 6 16:32:00 DEBUG[4371] pbx.c: Expression result is ‘1’
Apr 6 16:32:00 DEBUG[4371] pbx.c: Expression result is ‘0’
Apr 6 16:32:00 DEBUG[4371] app_macro.c: Executed application: ExecIf
Apr 6 16:32:00 DEBUG[4371] pbx.c: Expression result is ‘0’
Apr 6 16:32:00 DEBUG[4371] db.c: Unable to find key ‘1601/pinless’ in family ‘AMPUSER’
Apr 6 16:32:00 DEBUG[4371] func_db.c: DB: AMPUSER/1601/pinless not found in database.
Apr 6 16:32:00 DEBUG[4371] pbx.c: Function result is ‘’
Apr 6 16:32:00 DEBUG[4371] pbx.c: Expression result is ‘1’
Apr 6 16:32:00 DEBUG[4371] pbx.c: Expression result is ‘0’
Apr 6 16:32:00 DEBUG[4371] pbx.c: Expression result is ‘0’
Apr 6 16:32:00 DEBUG[4371] pbx.c: Not taking any branch
Apr 6 16:32:00 DEBUG[4371] app_macro.c: Executed application: GotoIf
Apr 6 16:32:00 DEBUG[4371] app_macro.c: Executed application: Set
Apr 6 16:32:00 DEBUG[4371] app_macro.c: Executed application: Set
Apr 6 16:32:00 DEBUG[4371] app_macro.c: Executed application: Set
Apr 6 16:32:00 DEBUG[4371] pbx.c: Expression result is ‘0’
Apr 6 16:32:00 DEBUG[4371] pbx.c: Not taking any branch
Apr 6 16:32:00 DEBUG[4371] app_macro.c: Executed application: GotoIf
Apr 6 16:32:00 DEBUG[4371] pbx.c: Function result is ‘1’
Apr 6 16:32:00 DEBUG[4371] pbx.c: Expression result is ‘0’
Apr 6 16:32:00 DEBUG[4371] pbx.c: Not taking any branch
Apr 6 16:32:00 DEBUG[4371] app_macro.c: Executed application: GotoIf
Apr 6 16:32:00 DEBUG[4371] pbx.c: Expression result is ‘0’
Apr 6 16:32:00 DEBUG[4371] pbx.c: Not taking any branch
Apr 6 16:32:00 DEBUG[4371] app_macro.c: Executed application: GotoIf
Apr 6 16:32:00 DEBUG[4371] app_macro.c: Executed application: Set
Apr 6 16:32:00 DEBUG[4371] pbx.c: Expression result is ‘1’
Apr 6 16:32:00 DEBUG[4371] app_macro.c: Executed application: GotoIf
Apr 6 16:32:00 DEBUG[4371] app_macro.c: Executed application: Noop
Apr 6 16:32:00 DEBUG[4371] pbx.c: Expression result is ‘1’
Apr 6 16:32:00 DEBUG[4371] app_macro.c: Executed application: GotoIf
Apr 6 16:32:00 DEBUG[4371] pbx.c: Function result is ‘Hamed Adel <1601>’
Apr 6 16:32:00 DEBUG[4371] app_macro.c: Executed application: Set
Apr 6 16:32:00 DEBUG[4371] db.c: Unable to find key ‘1601/emergency_cid’ in family ‘DEVICE’
Apr 6 16:32:00 DEBUG[4371] func_db.c: DB: DEVICE/1601/emergency_cid not found in database.
Apr 6 16:32:00 DEBUG[4371] pbx.c: Function result is ‘’
Apr 6 16:32:00 DEBUG[4371] app_macro.c: Executed application: Set
Apr 6 16:32:00 DEBUG[4371] app_macro.c: Executed application: Set
Apr 6 16:32:00 DEBUG[4371] pbx.c: Expression result is ‘1’
Apr 6 16:32:00 DEBUG[4371] app_macro.c: Executed application: GotoIf
Apr 6 16:32:00 DEBUG[4371] pbx.c: Expression result is ‘0’
Apr 6 16:32:00 DEBUG[4371] pbx.c: Not taking any branch
Apr 6 16:32:00 DEBUG[4371] app_macro.c: Executed application: GotoIf
Apr 6 16:32:00 DEBUG[4371] app_macro.c: Executed application: Set
Apr 6 16:32:00 DEBUG[4371] pbx.c: Expression result is ‘0’
Apr 6 16:32:00 DEBUG[4371] pbx.c: Not taking any branch
Apr 6 16:32:00 DEBUG[4371] app_macro.c: Executed application: GotoIf
Apr 6 16:32:00 DEBUG[4371] app_macro.c: Executed application: Set
Apr 6 16:32:00 DEBUG[4371] pbx.c: Function result is ‘Hamed Adel’
Apr 6 16:32:00 DEBUG[4371] pbx.c: Expression result is ‘1’
Apr 6 16:32:00 DEBUG[4371] app_macro.c: Executed application: GotoIf
Apr 6 16:32:00 DEBUG[4371] pbx.c: Function result is ‘“Hamed Adel” <1601>’
Apr 6 16:32:00 DEBUG[4371] app_macro.c: Executed application: Noop
Apr 6 16:32:00 DEBUG[4371] app_macro.c: Executed application: Macro
Apr 6 16:32:00 DEBUG[4371] app_macro.c: Executed application: AGI
Apr 6 16:32:00 DEBUG[4371] app_macro.c: Executed application: Set
Apr 6 16:32:00 DEBUG[4371] pbx.c: Function result is ‘AMP’
Apr 6 16:32:00 DEBUG[4371] app_macro.c: Executed application: Set
Apr 6 16:32:00 DEBUG[4371] pbx.c: Expression result is ‘0’
Apr 6 16:32:00 DEBUG[4371] pbx.c: Expression result is ‘1’
Apr 6 16:32:00 DEBUG[4371] pbx.c: Expression result is ‘1’
Apr 6 16:32:00 DEBUG[4371] app_macro.c: Executed application: GotoIf
Apr 6 16:32:00 WARNING[4371] app_macro.c: Context ‘macro-dialout-trunk-predial-hook’ for macro ‘dialout-trunk-predial-hook’ lacks ‘s’ extension, priority 1
Apr 6 16:32:00 DEBUG[4371] app_macro.c: Executed application: Macro
Apr 6 16:32:00 DEBUG[4371] pbx.c: Expression result is ‘0’
Apr 6 16:32:00 DEBUG[4371] pbx.c: Not taking any branch
Apr 6 16:32:00 DEBUG[4371] app_macro.c: Executed application: GotoIf
Apr 6 16:32:00 DEBUG[4371] pbx.c: Expression result is ‘1’
Apr 6 16:32:00 DEBUG[4371] app_macro.c: Executed application: GotoIf
Apr 6 16:32:00 DEBUG[4371] pbx.c: Function result is ‘AMP:PIKA/digital/g0/’
Apr 6 16:32:00 DEBUG[4371] app_macro.c: Executed application: Set
Apr 6 16:32:00 DEBUG[4371] pbx.c: Function result is ‘OUTNUM’
Apr 6 16:32:00 DEBUG[4371] app_macro.c: Executed application: Set
Apr 6 16:32:00 DEBUG[4371] pbx.c: Function result is ‘’
Apr 6 16:32:00 DEBUG[4371] app_macro.c: Executed application: Set
Apr 6 16:32:00 DEBUG[4371] pbx.c: Expression result is ‘1’
Apr 6 16:32:00 DEBUG[4371] app_macro.c: Executed application: GotoIf
Apr 6 16:32:00 DEBUG[4371] app_macro.c: Executed application: Set
Apr 6 16:32:00 VERBOSE[4371] logger.c: – group 0/0 channel 0/0 type=2
Apr 6 16:32:00 DEBUG[4371] app_dial.c: Exiting with DIALSTATUS=CHANUNAVAIL.
Apr 6 16:32:00 DEBUG[4371] app_macro.c: Executed application: Dial
Apr 6 16:32:00 DEBUG[4371] app_macro.c: Executed application: Goto
Apr 6 16:32:00 DEBUG[4371] pbx.c: Expression result is ‘1’
Apr 6 16:32:00 DEBUG[4371] app_macro.c: Executed application: GotoIf
Apr 6 16:32:00 DEBUG[4371] app_macro.c: Executed application: Noop
Apr 6 16:32:00 DEBUG[4371] channel.c: Scheduling timer at 160 sample intervals
Apr 6 16:32:01 NOTICE[4276] chan_sip.c: Registration from ‘“wafaa”’ failed for ‘196.2.194.248’ - ACL error (permit/deny)
Apr 6 16:32:02 DEBUG[4371] channel.c: Scheduling timer at 0 sample intervals
Apr 6 16:32:02 DEBUG[4371] channel.c: Scheduling timer at 0 sample intervals
Apr 6 16:32:02 DEBUG[4371] app_macro.c: Executed application: Playback
Apr 6 16:32:02 DEBUG[4371] channel.c: Scheduling timer at 160 sample intervals
Apr 6 16:32:02 NOTICE[4276] chan_sip.c: Registration from ‘“Noha Elnaggar”’ failed for ‘196.2.194.248’ - ACL error (permit/deny)
Apr 6 16:32:04 DEBUG[4371] channel.c: Scheduling timer at 0 sample intervals
Apr 6 16:32:04 DEBUG[4371] channel.c: Scheduling timer at 0 sample intervals
Apr 6 16:32:04 DEBUG[4371] app_macro.c: Executed application: Playback
Apr 6 16:32:04 DEBUG[4371] cdr_addon_mysql.c: cdr_mysql: inserting a CDR record.
Apr 6 16:32:04 DEBUG[4371] cdr_addon_mysql.c: cdr_mysql: SQL command as follows: INSERT INTO cdr (calldate,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode,uniqueid) VALUES (‘2008-04-06 16:32:00’,‘"Hamed Adel" <1601>’,‘1601’,‘0502536618’,‘from-internal’, ‘SIP/1601-09b720b8’,‘PIKA/digital/1’,‘ResetCDR’,‘w’,4,0,‘NO ANSWER’,3,‘’,‘1207492320.9’)
Apr 6 16:32:04 DEBUG[4371] app_macro.c: Executed application: ResetCDR
Apr 6 16:32:04 NOTICE[4371] cdr.c: CDR on channel ‘SIP/1601-09b720b8’ not posted
Apr 6 16:32:04 NOTICE[4371] cdr.c: CDR on channel ‘SIP/1601-09b720b8’ lacks end
Apr 6 16:32:04 DEBUG[4371] app_macro.c: Executed application: NoCDR
Apr 6 16:32:04 DEBUG[4371] pbx.c: Expression result is ‘1’
Apr 6 16:32:04 DEBUG[4371] app_macro.c: Executed application: GotoIf
Apr 6 16:32:04 DEBUG[4371] pbx.c: Expression result is ‘1’
Apr 6 16:32:04 DEBUG[4371] app_macro.c: Executed application: GotoIf
Apr 6 16:32:04 DEBUG[4371] pbx.c: Expression result is ‘1’
Apr 6 16:32:04 DEBUG[4371] app_macro.c: Executed application: GotoIf
Apr 6 16:32:04 DEBUG[4371] chan_sip.c: update_call_counter(1601) - decrement call limit counter

and this is for the incoming

Apr 6 16:32:57 NOTICE[4292] chan_pika.c: GP group/channel 0/0: ← PKX_EVENT_GROUP_INCOMING_CALL
Apr 6 16:32:57 DEBUG[4443] db.c: Unable to find key ‘502528897’ in family ‘blacklist’
Apr 6 16:32:57 DEBUG[4443] db.c: Unable to find key ‘’ in family ‘blacklist’
Apr 6 16:32:57 DEBUG[4443] pbx.c: Expression result is ‘0’
Apr 6 16:32:57 DEBUG[4443] pbx.c: Not taking any branch
Apr 6 16:32:57 DEBUG[4443] pbx.c: Function result is ‘’
Apr 6 16:32:57 DEBUG[4443] pbx.c: Expression result is ‘0’
Apr 6 16:32:57 DEBUG[4443] pbx.c: Not taking any branch
Apr 6 16:32:57 DEBUG[4443] pbx.c: Function result is ‘502528897’
Apr 6 16:32:57 DEBUG[4443] pbx.c: Function result is ‘“502528897” <502528897>’
Apr 6 16:32:57 DEBUG[4443] pbx.c: Function result is ‘502528897’
Apr 6 16:32:57 DEBUG[4443] pbx.c: Function result is ‘502528897’
Apr 6 16:32:57 DEBUG[4443] app_macro.c: Executed application: Noop
Apr 6 16:32:57 DEBUG[4443] pbx.c: Expression result is ‘1’
Apr 6 16:32:57 DEBUG[4443] pbx.c: Function result is ‘502528897’
Apr 6 16:32:57 DEBUG[4443] pbx.c: Function result is ‘502528897’
Apr 6 16:32:57 DEBUG[4443] app_macro.c: Executed application: Set
Apr 6 16:32:57 DEBUG[4443] pbx.c: Expression result is ‘0’
Apr 6 16:32:57 DEBUG[4443] pbx.c: Not taking any branch
Apr 6 16:32:57 DEBUG[4443] app_macro.c: Executed application: GotoIf
Apr 6 16:32:57 DEBUG[4443] pbx.c: Expression result is ‘1’
Apr 6 16:32:57 DEBUG[4443] pbx.c: Function result is ‘502528897’
Apr 6 16:32:57 DEBUG[4443] app_macro.c: Executed application: ExecIf
Apr 6 16:32:57 DEBUG[4443] pbx.c: Expression result is ‘0’
Apr 6 16:32:57 DEBUG[4443] pbx.c: Function result is ‘502528897’
Apr 6 16:32:57 DEBUG[4443] app_macro.c: Executed application: Noop
Apr 6 16:32:57 DEBUG[4443] db.c: Unable to find key ‘502528897/user’ in family ‘DEVICE’
Apr 6 16:32:57 DEBUG[4443] func_db.c: DB: DEVICE/502528897/user not found in database.
Apr 6 16:32:57 DEBUG[4443] pbx.c: Function result is ‘’
Apr 6 16:32:57 DEBUG[4443] app_macro.c: Executed application: Set
Apr 6 16:32:57 DEBUG[4443] db.c: Unable to find key ‘/cidname’ in family ‘AMPUSER’
Apr 6 16:32:57 DEBUG[4443] func_db.c: DB: AMPUSER//cidname not found in database.
Apr 6 16:32:57 DEBUG[4443] pbx.c: Function result is ‘’
Apr 6 16:32:57 DEBUG[4443] app_macro.c: Executed application: Set
Apr 6 16:32:57 DEBUG[4443] pbx.c: Expression result is ‘1’
Apr 6 16:32:57 DEBUG[4443] app_macro.c: Executed application: GotoIf
Apr 6 16:32:57 DEBUG[4443] app_macro.c: Executed application: Noop
Apr 6 16:32:57 DEBUG[4443] pbx.c: Expression result is ‘0’
Apr 6 16:32:57 DEBUG[4443] pbx.c: Not taking any branch
Apr 6 16:32:57 DEBUG[4443] app_macro.c: Executed application: GotoIf
Apr 6 16:32:57 DEBUG[4443] pbx.c: Expression result is ‘1’
Apr 6 16:32:57 DEBUG[4443] pbx.c: Expression result is ‘-1’
Apr 6 16:32:57 DEBUG[4443] pbx.c: Function result is ‘64’
Apr 6 16:32:57 DEBUG[4443] app_macro.c: Executed application: Set
Apr 6 16:32:57 DEBUG[4443] pbx.c: Expression result is ‘1’
Apr 6 16:32:57 DEBUG[4443] app_macro.c: Executed application: GotoIf
Apr 6 16:32:57 DEBUG[4443] pbx.c: Function result is ‘“502528897” <502528897>’
Apr 6 16:32:57 DEBUG[4443] app_macro.c: Executed application: Noop
Apr 6 16:32:57 DEBUG[4443] app_macro.c: Executed application: Macro
Apr 6 16:32:57 DEBUG[4443] app_macro.c: Executed application: Set
Apr 6 16:32:57 DEBUG[4443] app_macro.c: Executed application: Set
Apr 6 16:32:57 DEBUG[4443] app_macro.c: Executed application: Set
Apr 6 16:32:57 DEBUG[4443] db.c: Unable to find key ‘1601’ in family ‘CFU’
Apr 6 16:32:57 DEBUG[4443] func_db.c: DB: CFU/1601 not found in database.
Apr 6 16:32:57 DEBUG[4443] pbx.c: Function result is ‘’
Apr 6 16:32:57 DEBUG[4443] app_macro.c: Executed application: Set
Apr 6 16:32:57 DEBUG[4443] db.c: Unable to find key ‘1601’ in family ‘CFB’
Apr 6 16:32:57 DEBUG[4443] func_db.c: DB: CFB/1601 not found in database.
Apr 6 16:32:57 DEBUG[4443] pbx.c: Function result is ‘’
Apr 6 16:32:57 DEBUG[4443] app_macro.c: Executed application: Set
Apr 6 16:32:57 DEBUG[4443] pbx.c: Expression result is ‘0’
Apr 6 16:32:57 DEBUG[4443] pbx.c: Expression result is ‘0’
Apr 6 16:32:57 DEBUG[4443] pbx.c: Expression result is ‘0’
Apr 6 16:32:57 DEBUG[4443] pbx.c: Function result is ‘’
Apr 6 16:32:57 DEBUG[4443] app_macro.c: Executed application: Set
Apr 6 16:32:57 DEBUG[4443] pbx.c: Function result is ‘0’
Apr 6 16:32:57 DEBUG[4443] pbx.c: Expression result is ‘0’
Apr 6 16:32:57 DEBUG[4443] app_macro.c: Executed application: GotoIf
Apr 6 16:32:57 DEBUG[4443] pbx.c: Function result is ‘20080406-163257’
Apr 6 16:32:57 VERBOSE[4443] logger.c: recordingcheck|20080406-163257|1207492377.11: Inbound recording enabled.
Apr 6 16:32:57 VERBOSE[4443] logger.c: recordingcheck|20080406-163257|1207492377.11: CALLFILENAME=20080406-163257-1207492377.11
Apr 6 16:32:57 DEBUG[4443] app_macro.c: Executed application: AGI
Apr 6 16:32:57 DEBUG[4443] channel.c: Spy MixMonitor added to channel PIKA/digital/1
Apr 6 16:32:57 DEBUG[4443] app_macro.c: Executed application: MixMonitor
Apr 6 16:32:57 DEBUG[4443] app_macro.c: Executed application: Macro
Apr 6 16:32:57 DEBUG[4443] pbx.c: Expression result is ‘1’
Apr 6 16:32:57 DEBUG[4443] app_macro.c: Executed application: GotoIf
Apr 6 16:32:57 VERBOSE[4443] logger.c: dialparties.agi: Starting New Dialparties.agi
Apr 6 16:32:57 DEBUG[4447] manager.c: Manager received command ‘login’
Apr 6 16:32:57 DEBUG[4447] acl.c: 0.0.0.0/0.0.0.0/0.0.0.0 appended to acl for peer
Apr 6 16:32:57 DEBUG[4447] acl.c: 127.0.0.1/255.255.255.0/255.255.255.0 appended to acl for peer
Apr 6 16:32:57 DEBUG[4447] acl.c: ##### Testing 127.0.0.1 with 0.0.0.0
Apr 6 16:32:57 DEBUG[4447] acl.c: ##### Testing 127.0.0.1 with 127.0.0.0
Apr 6 16:32:57 VERBOSE[4443] logger.c: dialparties.agi: Caller ID name is ‘502528897’ number is ‘502528897’
Apr 6 16:32:57 VERBOSE[4443] logger.c: dialparties.agi: Methodology of ring is ‘none’
Apr 6 16:32:57 DEBUG[4443] db.c: Unable to find key ‘1601’ in family ‘CF’
Apr 6 16:32:57 DEBUG[4443] db.c: Unable to find key ‘1601’ in family ‘DND’
Apr 6 16:32:57 DEBUG[4443] db.c: Unable to find key ‘1601’ in family ‘CFB’
Apr 6 16:32:57 DEBUG[4443] db.c: Unable to find key ‘1601’ in family ‘CFU’
Apr 6 16:32:57 DEBUG[4447] manager.c: Manager received command ‘ExtensionState’
Apr 6 16:32:57 DEBUG[4447] manager.c: Manager received command ‘Logoff’
Apr 6 16:32:57 DEBUG[4443] app_macro.c: Executed application: AGI
Apr 6 16:32:57 DEBUG[4443] chan_sip.c: Setting NAT on RTP to 524288
Apr 6 16:32:57 DEBUG[4443] chan_sip.c: Outgoing Call for 1601
Apr 6 16:32:57 DEBUG[4443] channel.c: Driver for channel ‘PIKA/digital/1’ does not support indication 3, emulating it
Apr 6 16:32:57 DEBUG[4443] channel.c: Prodding channel ‘PIKA/digital/1’
Apr 6 16:32:57 DEBUG[4443] channel.c: Building translator from ulaw to SLINEAR for spies on channel PIKA/digital/1
Apr 6 16:32:57 DEBUG[4443] channel.c: Scheduling timer at 160 sample intervals
Apr 6 16:32:58 DEBUG[4276] chan_sip.c: (Provisional) Stopping retransmission (but retaining packet) on ‘[email protected]’ Request 102: Found
Apr 6 16:32:58 DEBUG[4276] chan_sip.c: (Provisional) Stopping retransmission (but retaining packet) on ‘[email protected]’ Request 102: Found
Apr 6 16:32:58 NOTICE[4276] chan_sip.c: Registration from ‘“Noha Elnaggar”’ failed for ‘196.2.194.248’ - ACL error (permit/deny)
Apr 6 16:33:00 DEBUG[4276] chan_sip.c: Acked pending invite 102
Apr 6 16:33:00 DEBUG[4276] chan_sip.c: Stopping retransmission on ‘[email protected]’ of Request 102: Match Found
Apr 6 16:33:00 DEBUG[4276] chan_sip.c: build_route: Contact hop:
Apr 6 16:33:00 DEBUG[4443] channel.c: Scheduling timer at 0 sample intervals
Apr 6 16:33:00 DEBUG[4443] channel.c: Building translator from ulaw to SLINEAR for spies on channel PIKA/digital/1
Apr 6 16:33:02 NOTICE[4276] chan_sip.c: Registration from ‘“wafaa”’ failed for ‘196.2.194.248’ - ACL error (permit/deny)
Apr 6 16:33:02 NOTICE[4276] chan_sip.c: Registration from ‘“Noha Elnaggar”’ failed for ‘196.2.194.248’ - ACL error (permit/deny)
Apr 6 16:33:02 NOTICE[4276] chan_sip.c: Registration from ‘“wafaa”’ failed for ‘196.2.194.248’ - ACL error (permit/deny)
Apr 6 16:33:03 NOTICE[4276] chan_sip.c: Registration from ‘“wafaa”’ failed for ‘196.2.194.248’ - ACL error (permit/deny)
Apr 6 16:33:05 NOTICE[4276] chan_sip.c: Registration from ‘“wafaa”’ failed for ‘196.2.194.248’ - ACL error (permit/deny)
Apr 6 16:33:06 NOTICE[4276] chan_sip.c: Registration from ‘“Noha Elnaggar”’ failed for ‘196.2.194.248’ - ACL error (permit/deny)
Apr 6 16:33:08 DEBUG[4443] channel.c: Didn’t get a frame from channel: SIP/1601-09f41a58
Apr 6 16:33:08 DEBUG[4443] channel.c: Bridge stops bridging channels PIKA/digital/1 and SIP/1601-09f41a58
Apr 6 16:33:08 DEBUG[4443] chan_sip.c: update_call_counter(1601) - decrement call limit counter
Apr 6 16:33:08 DEBUG[4443] app_dial.c: Exiting with DIALSTATUS=ANSWER.
Apr 6 16:33:08 DEBUG[4443] cdr_addon_mysql.c: cdr_mysql: inserting a CDR record.
Apr 6 16:33:08 DEBUG[4443] cdr_addon_mysql.c: cdr_mysql: SQL command as follows: INSERT INTO cdr (calldate,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode,uniqueid) VALUES (‘2008-04-06 16:32:57’,‘"502528897" <502528897>’,‘502528897’,‘1601’,‘from-did-direct’, ‘PIKA/digital/1’,‘SIP/1601-09f41a58’,‘ResetCDR’,‘w’,11,8,‘ANSWERED’,3,‘digital_grp’,‘1207492377.11’)

you should post a CLI output with verbosity set to 5 or higher, not the log output. There is more clear info in the CLI to what is happening. And if you have not set a CID on the trunk, make sure you set one.

that is the result for the incoming calls
– Executing Set(“PIKA/digital/3”, “__FROM_DID=s”) in new stack
– Executing Gosub(“PIKA/digital/3”, “app-blacklist-check|s|1”) in new stack
– Executing LookupBlacklist(“PIKA/digital/3”, “”) in new stack
– Executing GotoIf(“PIKA/digital/3”, “0?blacklisted”) in new stack
– Executing Return(“PIKA/digital/3”, “”) in new stack
– Executing GotoIf(“PIKA/digital/3”, “0 ?cidok”) in new stack
– Executing Set(“PIKA/digital/3”, “CALLERID(name)=502538991”) in new stack
– Executing NoOp(“PIKA/digital/3”, “CallerID is “502538991” <502538991>”) in new stack
– Executing Goto(“PIKA/digital/3”, “from-did-direct|1601|1”) in new stack
– Goto (from-did-direct,1601,1)
– Executing Macro(“PIKA/digital/3”, “exten-vm|novm|1601”) in new stack
– Executing Macro(“PIKA/digital/3”, “user-callerid”) in new stack
– Executing NoOp(“PIKA/digital/3”, “user-callerid: 502538991 502538991”) in new stack
– Executing Set(“PIKA/digital/3”, “AMPUSER=502538991”) in new stack
– Executing GotoIf(“PIKA/digital/3”, “0?report”) in new stack
– Executing ExecIf(“PIKA/digital/3”, “1|Set|REALCALLERIDNUM=502538991”) in new stack
– Executing NoOp(“PIKA/digital/3”, “REALCALLERIDNUM is 502538991”) in new stack
– Executing Set(“PIKA/digital/3”, “AMPUSER=”) in new stack
– Executing Set(“PIKA/digital/3”, “AMPUSERCIDNAME=”) in new stack
– Executing GotoIf(“PIKA/digital/3”, “1?report”) in new stack
– Goto (macro-user-callerid,s,13)
– Executing NoOp(“PIKA/digital/3”, “TTL: ARG1: novm”) in new stack
– Executing GotoIf(“PIKA/digital/3”, “0?continue”) in new stack
– Executing Set(“PIKA/digital/3”, “__TTL=64”) in new stack
– Executing GotoIf(“PIKA/digital/3”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,23)
– Executing NoOp(“PIKA/digital/3”, “Using CallerID “502538991” <502538991>”) in new stack
– Executing Set(“PIKA/digital/3”, “FROMCONTEXT=exten-vm”) in new stack
– Executing Set(“PIKA/digital/3”, “VMBOX=novm”) in new stack
– Executing Set(“PIKA/digital/3”, “EXTTOCALL=1601”) in new stack
– Executing Set(“PIKA/digital/3”, “CFUEXT=”) in new stack
– Executing Set(“PIKA/digital/3”, “CFBEXT=”) in new stack
– Executing Set(“PIKA/digital/3”, “RT=”) in new stack
– Executing Macro(“PIKA/digital/3”, “record-enable|1601|IN”) in new stack
– Executing GotoIf(“PIKA/digital/3”, “0?2:4”) in new stack
– Goto (macro-record-enable,s,4)
– Executing AGI(“PIKA/digital/3”, “recordingcheck|20080409-134347|1207741427.53”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20080409-134347|1207741427.53: Inbound recording enabled.
recordingcheck|20080409-134347|1207741427.53: CALLFILENAME=20080409-134347-1207741427.53
– AGI Script recordingcheck completed, returning 0
– Executing MixMonitor(“PIKA/digital/3”, “20080409-134347-1207741427.53.wav”) in new stack
– Executing Macro(“PIKA/digital/3”, “dial||tr|1601”) in new stack
– Executing GotoIf(“PIKA/digital/3”, “1?dial”) in new stack
– Goto (macro-dial,s,3)
– Executing AGI(“PIKA/digital/3”, “dialparties.agi”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
== Begin MixMonitor Recording PIKA/digital/3
dialparties.agi: Starting New Dialparties.agi
== Parsing ‘/etc/asterisk/manager.conf’: Found
== Parsing ‘/etc/asterisk/manager_additional.conf’: Found
== Parsing ‘/etc/asterisk/manager_custom.conf’: Found
== Manager ‘admin’ logged on from 127.0.0.1
dialparties.agi: Caller ID name is ‘502538991’ number is '502538991’
dialparties.agi: USE_CONFIRMATION: 'FALSE’
dialparties.agi: RINGGROUP_INDEX: ''
dialparties.agi: Methodology of ring is ‘none’
– dialparties.agi: Added extension 1601 to extension map
– dialparties.agi: Extension 1601 cf is disabled
– dialparties.agi: Extension 1601 do not disturb is disabled
> dialparties.agi: extnum 1601 has: cw: 1; hascfb: 0 [] hascfu: 0 []
> dialparties.agi: ExtensionState: 0
– dialparties.agi: dbset CALLTRACE/1601 to 502538991
– dialparties.agi: Filtered ARG3: 1601
== Manager ‘admin’ logged off from 127.0.0.1
– AGI Script dialparties.agi completed, returning 0
– Executing Dial(“PIKA/digital/3”, “SIP/1601||tr”) in new stack
– Called 1601
– SIP/1601-09814410 is ringing
– SIP/1601-09814410 answered PIKA/digital/3
== Parsing ‘/etc/asterisk/manager.conf’: Found
== Parsing ‘/etc/asterisk/manager_additional.conf’: Found
== Parsing ‘/etc/asterisk/manager_custom.conf’: Found
== Manager ‘admin’ logged on from 127.0.0.1
== Manager ‘admin’ logged off from 127.0.0.1
== Parsing ‘/etc/asterisk/manager.conf’: Found
== Parsing ‘/etc/asterisk/manager_additional.conf’: Found
== Parsing ‘/etc/asterisk/manager_custom.conf’: Found
== Manager ‘admin’ logged on from 127.0.0.1
== Manager ‘admin’ logged off from 127.0.0.1
== Parsing ‘/etc/asterisk/manager.conf’: Found
== Parsing ‘/etc/asterisk/manager_additional.conf’: Found
== Parsing ‘/etc/asterisk/manager_custom.conf’: Found
== Manager ‘admin’ logged on from 127.0.0.1
== Parsing ‘/etc/asterisk/manager.conf’: Found
== Parsing ‘/etc/asterisk/manager_additional.conf’: Found
== Parsing ‘/etc/asterisk/manager_custom.conf’: Found
== Manager ‘admin’ logged on from 127.0.0.1
== Manager ‘admin’ logged off from 127.0.0.1
== Manager ‘admin’ logged off from 127.0.0.1
== Parsing ‘/etc/asterisk/manager.conf’: Found
== Parsing ‘/etc/asterisk/manager_additional.conf’: Found
== Parsing ‘/etc/asterisk/manager_custom.conf’: Found
== Manager ‘admin’ logged on from 127.0.0.1
== Manager ‘admin’ logged off from 127.0.0.1
== Parsing ‘/etc/asterisk/manager.conf’: Found
== Parsing ‘/etc/asterisk/manager_additional.conf’: Found
== Parsing ‘/etc/asterisk/manager_custom.conf’: Found
== Manager ‘admin’ logged on from 127.0.0.1
== Spawn extension (macro-dial, s, 7) exited non-zero on ‘PIKA/digital/3’ in macro ‘dial’
== Spawn extension (macro-dial, s, 7) exited non-zero on ‘PIKA/digital/3’ in macro ‘exten-vm’
== Spawn extension (macro-dial, s, 7) exited non-zero on ‘PIKA/digital/3’
– Executing Macro(“PIKA/digital/3”, “hangupcall”) in new stack
– Executing ResetCDR(“PIKA/digital/3”, “w”) in new stack
– Executing NoCDR(“PIKA/digital/3”, “”) in new stack
– Executing GotoIf(“PIKA/digital/3”, “1?skiprg”) in new stack
– Goto (macro-hangupcall,s,6)
– Executing GotoIf(“PIKA/digital/3”, “1?skipblkvm”) in new stack
– Goto (macro-hangupcall,s,9)
– Executing GotoIf(“PIKA/digital/3”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,11)
– Executing Hangup(“PIKA/digital/3”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on ‘PIKA/digital/3’ in macro ‘hangupcall’
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on ‘PIKA/digital/3’

and that is for the outgoing

== Manager ‘admin’ logged off from 127.0.0.1
– Executing Macro(“SIP/1601-b7c11a98”, “user-callerid|SKIPTTL|”) in new stack
– Executing NoOp(“SIP/1601-b7c11a98”, “user-callerid: device 1601”) in new stack
– Executing Set(“SIP/1601-b7c11a98”, “AMPUSER=1601”) in new stack
– Executing GotoIf(“SIP/1601-b7c11a98”, “0?report”) in new stack
– Executing ExecIf(“SIP/1601-b7c11a98”, “1|Set|REALCALLERIDNUM=1601”) in new stack
– Executing NoOp(“SIP/1601-b7c11a98”, “REALCALLERIDNUM is 1601”) in new stack
– Executing Set(“SIP/1601-b7c11a98”, “AMPUSER=1601”) in new stack
– Executing Set(“SIP/1601-b7c11a98”, “AMPUSERCIDNAME=Network(Hamed Adel)”) in new stack
– Executing GotoIf(“SIP/1601-b7c11a98”, “0?report”) in new stack
– Executing Set(“SIP/1601-b7c11a98”, “AMPUSERCID=1601”) in new stack
– Executing Set(“SIP/1601-b7c11a98”, “CALLERID(all)=“Network(Hamed Adel)” <1601>”) in new stack
– Executing Set(“SIP/1601-b7c11a98”, “REALCALLERIDNUM=1601”) in new stack
– Executing ExecIf(“SIP/1601-b7c11a98”, “0|Set|LANGUAGE()=”) in new stack
– Executing NoOp(“SIP/1601-b7c11a98”, “TTL: ARG1: SKIPTTL”) in new stack
– Executing GotoIf(“SIP/1601-b7c11a98”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,23)
– Executing NoOp(“SIP/1601-b7c11a98”, “Using CallerID “Network(Hamed Adel)” <1601>”) in new stack
– Executing Set(“SIP/1601-b7c11a98”, “_NODEST=”) in new stack
– Executing Macro(“SIP/1601-b7c11a98”, “record-enable|1601|OUT|”) in new stack
– Executing GotoIf(“SIP/1601-b7c11a98”, “0?2:4”) in new stack
– Goto (macro-record-enable,s,4)
– Executing AGI(“SIP/1601-b7c11a98”, “recordingcheck|20080409-134635|1207741595.59”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20080409-134635|1207741595.59: Outbound recording not enabled
– AGI Script recordingcheck completed, returning 0
– Executing NoOp(“SIP/1601-b7c11a98”, “No recording needed”) in new stack
– Executing Macro(“SIP/1601-b7c11a98”, “dialout-trunk|2|0502536618||”) in new stack
– Executing Set(“SIP/1601-b7c11a98”, “DIAL_TRUNK=2”) in new stack
– Executing ExecIf(“SIP/1601-b7c11a98”, “0|Authenticate|”) in new stack
– Executing GotoIf(“SIP/1601-b7c11a98”, “0?disabletrunk|1”) in new stack
– Executing Set(“SIP/1601-b7c11a98”, “DIAL_NUMBER=0502536618”) in new stack
– Executing Set(“SIP/1601-b7c11a98”, “DIAL_TRUNK_OPTIONS=tr”) in new stack
– Executing Set(“SIP/1601-b7c11a98”, “GROUP()=OUT_2”) in new stack
– Executing GotoIf(“SIP/1601-b7c11a98”, “0?nomax”) in new stack
– Executing GotoIf(“SIP/1601-b7c11a98”, “0?chanfull”) in new stack
– Executing GotoIf(“SIP/1601-b7c11a98”, “0?skipoutcid”) in new stack
– Executing Set(“SIP/1601-b7c11a98”, “DIAL_TRUNK_OPTIONS=”) in new stack
– Executing Macro(“SIP/1601-b7c11a98”, “outbound-callerid|2”) in new stack
– Executing GotoIf(“SIP/1601-b7c11a98”, “1?start”) in new stack
– Goto (macro-outbound-callerid,s,3)
– Executing NoOp(“SIP/1601-b7c11a98”, “REALCALLERIDNUM is 1601”) in new stack
– Executing GotoIf(“SIP/1601-b7c11a98”, “1?normcid”) in new stack
– Goto (macro-outbound-callerid,s,9)
– Executing Set(“SIP/1601-b7c11a98”, “USEROUTCID=Hamed Adel <1601>”) in new stack
– Executing Set(“SIP/1601-b7c11a98”, “EMERGENCYCID=”) in new stack
– Executing Set(“SIP/1601-b7c11a98”, “TRUNKOUTCID=hidden”) in new stack
– Executing GotoIf(“SIP/1601-b7c11a98”, “1?trunkcid”) in new stack
– Goto (macro-outbound-callerid,s,16)
– Executing GotoIf(“SIP/1601-b7c11a98”, “0?usercid”) in new stack
– Executing Set(“SIP/1601-b7c11a98”, “CALLERID(all)=hidden”) in new stack
– Executing GotoIf(“SIP/1601-b7c11a98”, “0?report”) in new stack
– Executing Set(“SIP/1601-b7c11a98”, “CALLERID(all)=Hamed Adel <1601>”) in new stack
– Executing GotoIf(“SIP/1601-b7c11a98”, “1?report:hidecid”) in new stack
– Goto (macro-outbound-callerid,s,22)
– Executing NoOp(“SIP/1601-b7c11a98”, “CallerID set to “Hamed Adel” <1601>”) in new stack
– Executing AGI(“SIP/1601-b7c11a98”, “fixlocalprefix”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
> fixlocalprefix: Using pattern 050|XXXXXXX
== fixlocalprefix: Dialpattern 050|XXXXXXX matched. 0502536618 -> 2536618
– AGI Script fixlocalprefix completed, returning 0
– Executing Set(“SIP/1601-b7c11a98”, “OUTNUM=2536618”) in new stack
– Executing Set(“SIP/1601-b7c11a98”, “custom=AMP”) in new stack
– Executing GotoIf(“SIP/1601-b7c11a98”, “1?gocall”) in new stack
– Goto (macro-dialout-trunk,s,17)
– Executing Macro(“SIP/1601-b7c11a98”, “dialout-trunk-predial-hook|”) in new stack
– Executing GotoIf(“SIP/1601-b7c11a98”, “0?bypass|1”) in new stack
– Executing GotoIf(“SIP/1601-b7c11a98”, “1?customtrunk”) in new stack
– Goto (macro-dialout-trunk,s,22)
– Executing Set(“SIP/1601-b7c11a98”, “pre_num=AMP:PIKA/digital/g0/”) in new stack
– Executing Set(“SIP/1601-b7c11a98”, “the_num=OUTNUM”) in new stack
– Executing Set(“SIP/1601-b7c11a98”, “post_num=”) in new stack
– Executing GotoIf(“SIP/1601-b7c11a98”, “1?outnum:skipoutnum”) in new stack
– Goto (macro-dialout-trunk,s,26)
– Executing Set(“SIP/1601-b7c11a98”, “the_num=2536618”) in new stack
– Executing Dial(“SIP/1601-b7c11a98”, “PIKA/digital/g0/2536618|300|”) in new stack
– group 0/0 channel 0/0 type=2
– Called digital/g0/2536618
== Everyone is busy/congested at this time (1:0/0/1)
– Executing Goto(“SIP/1601-b7c11a98”, “s-CHANUNAVAIL|1”) in new stack
– Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
– Executing GotoIf(“SIP/1601-b7c11a98”, “1?noreport”) in new stack
– Goto (macro-dialout-trunk,s-CHANUNAVAIL,3)
– Executing NoOp(“SIP/1601-b7c11a98”, “TRUNK Dial failed due to CHANUNAVAIL - failing through to other trunks”) in new stack
– Executing Macro(“SIP/1601-b7c11a98”, “outisbusy|”) in new stack
– Executing Playback(“SIP/1601-b7c11a98”, “all-circuits-busy-now|noanswer”) in new stack
– Playing ‘all-circuits-busy-now’ (language ‘en’)
– Executing Playback(“SIP/1601-b7c11a98”, “pls-try-call-later|noanswer”) in new stack
– Playing ‘pls-try-call-later’ (language ‘en’)
== Parsing ‘/etc/asterisk/manager.conf’: Found
== Parsing ‘/etc/asterisk/manager_additional.conf’: Found
== Parsing ‘/etc/asterisk/manager_custom.conf’: Found
== Manager ‘admin’ logged on from 127.0.0.1
– Executing Macro(“SIP/1601-b7c11a98”, “hangupcall”) in new stack
– Executing ResetCDR(“SIP/1601-b7c11a98”, “w”) in new stack
– Executing NoCDR(“SIP/1601-b7c11a98”, “”) in new stack
– Executing GotoIf(“SIP/1601-b7c11a98”, “1?skiprg”) in new stack
– Goto (macro-hangupcall,s,6)
– Executing GotoIf(“SIP/1601-b7c11a98”, “1?skipblkvm”) in new stack
– Goto (macro-hangupcall,s,9)
– Executing GotoIf(“SIP/1601-b7c11a98”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,11)
– Executing Hangup(“SIP/1601-b7c11a98”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on ‘SIP/1601-b7c11a98’ in macro ‘hangupcall’
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on ‘SIP/1601-b7c11a98’ in macro ‘outisbusy’
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on ‘SIP/1601-b7c11a98’
== Manager ‘admin’ logged off from 127.0.0.1
== Parsing ‘/etc/asterisk/manager.conf’: Found
== Parsing ‘/etc/asterisk/manager_additional.conf’: Found
== Parsing ‘/etc/asterisk/manager_custom.conf’: Found
== Manager ‘admin’ logged on from 127.0.0.1
== Manager ‘admin’ logged off from 127.0.0.1
== Spawn extension (macro-dialout-trunk, s, 20) exited non-zero on ‘SIP/6002-b7c1cb90’ in macro ‘dialout-trunk’
== Spawn extension (macro-dialout-trunk, s, 20) exited non-zero on ‘SIP/6002-b7c1cb90’
– Executing Macro(“SIP/6002-b7c1cb90”, “hangupcall|”) in new stack
– Executing ResetCDR(“SIP/6002-b7c1cb90”, “w”) in new stack
– Executing NoCDR(“SIP/6002-b7c1cb90”, “”) in new stack
– Executing GotoIf(“SIP/6002-b7c1cb90”, “1?skiprg”) in new stack
– Goto (macro-hangupcall,s,6)
– Executing GotoIf(“SIP/6002-b7c1cb90”, “1?skipblkvm”) in new stack
– Goto (macro-hangupcall,s,9)
– Executing GotoIf(“SIP/6002-b7c1cb90”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,11)
– Executing Hangup(“SIP/6002-b7c1cb90”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on ‘SIP/6002-b7c1cb90’ in macro ‘hangupcall’
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on ‘SIP/6002-b7c1cb90’
– SIP/Mobiles-0987dc80 answered SIP/5060-b3a0b098
– Attempting native bridge of SIP/5060-b3a0b098 and SIP/Mobiles-0987dc80
== Parsing ‘/etc/asterisk/manager.conf’: Found
== Parsing ‘/etc/asterisk/manager_additional.conf’: Found
== Parsing ‘/etc/asterisk/manager_custom.conf’: Found
== Manager ‘admin’ logged on from 127.0.0.1

and what you mean by CID