Hey everyone. I just redid our asterisk box with a fresh install of Debian Etch and the latest version of asterisk (1.4.10.1) I downlaoded RC1 here, and everything seems to be working properly.
I found, however, that i am not able to do transfers via the ## method. I test this by placing a call between two phones internally, then attempting to do a transfer. I get the “Transfer” prompt, enter the extension, the phone hangs up like it should, but unfortunately, so does the other phone!
I looked through the logs here, and i can’t see much that might be causing it, so i’m going to post the offending portion. I’m not sure that it’s supposed to be jumping out of the dial macro, it just dumps the call and you’re left with a disconnected call on the other end. using the transfer button on the phone appears to work fine, however.
The following is the result of Ext. 300 calling Ext. 1002, who then attempts to transfer the call to Ext. 1004:
[quote][Aug 14 14:40:06] VERBOSE[4991] logger.c: – Executing [s@macro-dial:10] Dial(“SIP/300-0822b890”, “SIP/1002|12|tr”) in new stack
[Aug 14 14:40:06] VERBOSE[4991] logger.c: – Called 1002
[Aug 14 14:40:06] VERBOSE[4991] logger.c: – SIP/1002-082613d0 is ringing
[Aug 14 14:40:07] VERBOSE[2252] logger.c: RTCP SR transmission error, rtcp halted
[Aug 14 14:40:07] VERBOSE[4991] logger.c: – SIP/1002-082613d0 answered SIP/300-0822b890
[Aug 14 14:40:07] VERBOSE[4991] logger.c: – fixed jitterbuffer created on channel SIP/1002-082613d0
[Aug 14 14:40:07] VERBOSE[4991] logger.c: – fixed jitterbuffer created on channel SIP/300-0822b890
[Aug 14 14:40:12] VERBOSE[4991] logger.c: – Started music on hold, class ‘default’, on SIP/300-0822b890
[Aug 14 14:40:12] VERBOSE[4991] logger.c: – <SIP/1002-082613d0> Playing ‘pbx-transfer’ (language ‘en’)
[Aug 14 14:40:12] VERBOSE[2252] logger.c: RTCP SR transmission error, rtcp halted
[Aug 14 14:40:16] VERBOSE[4991] logger.c: – Stopped music on hold on SIP/300-0822b890
[Aug 14 14:40:16] VERBOSE[4991] logger.c: – Transferring SIP/300-0822b890 to ‘1004’ (context from-internal-xfer) priority 1
[Aug 14 14:40:16] VERBOSE[4991] logger.c: – fixed jitterbuffer destroyed on channel SIP/1002-082613d0
[Aug 14 14:40:16] DEBUG[4991] app_macro.c: Executed application: Dial
[Aug 14 14:40:16] VERBOSE[4991] logger.c: == Channel ‘SIP/300-0822b890’ jumping out of macro ‘dial’
[Aug 14 14:40:16] DEBUG[4991] app_macro.c: Executed application: Macro
[Aug 14 14:40:16] VERBOSE[4991] logger.c: == Channel ‘SIP/300-0822b890’ jumping out of macro ‘exten-vm’
[Aug 14 14:40:16] VERBOSE[4991] logger.c: – Executing [h@from-internal-xfer:1] Macro(“SIP/300-0822b890”, “hangupcall”) in new stack
[Aug 14 14:40:16] VERBOSE[4991] logger.c: – Executing [s@macro-hangupcall:1] ResetCDR(“SIP/300-0822b890”, “w”) in new stack
[Aug 14 14:40:16] DEBUG[4991] cdr_addon_mysql.c: cdr_mysql: inserting a CDR record.
[Aug 14 14:40:16] DEBUG[4991] 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) VALUES (‘2007-08-14 14:40:06’,’“test” <300>’,‘300’,‘1002’,‘from-internal’, ‘SIP/300-0822b890’,‘SIP/1002-082613d0’,‘Dial’,‘SIP/1002|12|tr’,10,9,‘ANSWERED’,3,’’)
[Aug 14 14:40:16] DEBUG[4991] app_macro.c: Executed application: ResetCDR
[Aug 14 14:40:16] VERBOSE[4991] logger.c: – Executing [s@macro-hangupcall:2] NoCDR(“SIP/300-0822b890”, “”) in new stack
[Aug 14 14:40:16] DEBUG[4991] app_macro.c: Executed application: NoCDR
[Aug 14 14:40:16] VERBOSE[4991] logger.c: – Executing [s@macro-hangupcall:3] GotoIf(“SIP/300-0822b890”, “1?skiprg”) in new stack
[Aug 14 14:40:16] VERBOSE[4991] logger.c: – Goto (macro-hangupcall,s,6)
[Aug 14 14:40:16] DEBUG[4991] app_macro.c: Executed application: GotoIf
[Aug 14 14:40:16] VERBOSE[4991] logger.c: – Executing [s@macro-hangupcall:6] GotoIf(“SIP/300-0822b890”, “1?skipblkvm”) in new stack
[Aug 14 14:40:16] VERBOSE[4991] logger.c: – Goto (macro-hangupcall,s,9)
[Aug 14 14:40:16] DEBUG[4991] app_macro.c: Executed application: GotoIf
[Aug 14 14:40:16] VERBOSE[4991] logger.c: – Executing [s@macro-hangupcall:9] GotoIf(“SIP/300-0822b890”, “1?theend”) in new stack
[Aug 14 14:40:16] VERBOSE[4991] logger.c: – Goto (macro-hangupcall,s,11)
[Aug 14 14:40:16] DEBUG[4991] app_macro.c: Executed application: GotoIf
[Aug 14 14:40:16] VERBOSE[4991] logger.c: – Executing [s@macro-hangupcall:11] Hangup(“SIP/300-0822b890”, “”) in new stack
[Aug 14 14:40:16] VERBOSE[4991] logger.c: == Spawn extension (macro-hangupcall, s, 11) exited non-zero on ‘SIP/300-0822b890’ in macro ‘hangupcall’
[Aug 14 14:40:16] VERBOSE[4991] logger.c: == Spawn extension (macro-hangupcall, s, 11) exited non-zero on ‘SIP/300-0822b890’
[Aug 14 14:40:16] VERBOSE[4991] logger.c: – fixed jitterbuffer destroyed on channel SIP/300-0822b890[/quote]
As i said… i’m really not too sure what’s going on here, i checked the logs from doing a phone button transfer and it seems to go into the macros just fine, so i’m stumped. Any insight?