Hi,
I would have filed this as a bug but given my performance over the last week I’m holding off and wanted to run it by the forum first.
I have set a CallerID Prepend for parking lot orphans but the caller ID is always reset to the default for caller. I don’t know if there is another config option I need to avoid this behaviour or whether it is an issue.
Here’s an example of an internal caller being orphaned:
[Apr 21 15:53:11] VERBOSE[7861] pbx.c: -- Executing [[email protected]:2] Set("SIP/1102-00000045", "__ALERT_INFO=<Simple-5>") in new stack
[Apr 21 15:53:11] VERBOSE[7861] pbx.c: -- Executing [[email protected]:3] Set("SIP/1102-00000045", "CALLERID(name)=Orphan:Chris-Dect") in new stack
[Apr 21 15:53:11] VERBOSE[7861] pbx.c: -- Executing [[email protected]:4] Playback("SIP/1102-00000045", "pls-wait-connect-call") in new stack
[Apr 21 15:53:11] VERBOSE[7861] file.c: -- <SIP/1102-00000045> Playing 'pls-wait-connect-call.gsm' (language 'en')
[Apr 21 15:53:13] VERBOSE[7861] pbx.c: -- Executing [[email protected]:5] Goto("SIP/1102-00000045", "from-did-direct,1100,1") in new stack
[Apr 21 15:53:13] VERBOSE[7861] pbx.c: -- Goto (from-did-direct,1100,1)
[Apr 21 15:53:13] VERBOSE[7861] pbx.c: -- Executing [[email protected]:1] GotoIf("SIP/1102-00000045", "0?ext-local,1100,1") in new stack
[Apr 21 15:53:13] VERBOSE[7861] pbx.c: -- Executing [[email protected]:2] Macro("SIP/1102-00000045", "user-callerid,") in new stack
[Apr 21 15:53:13] VERBOSE[7861] pbx.c: -- Executing [[email protected]:1] Set("SIP/1102-00000045", "AMPUSER=1102") in new stack
[Apr 21 15:53:13] VERBOSE[7861] pbx.c: -- Executing [[email protected]:2] GotoIf("SIP/1102-00000045", "0?report") in new stack
[Apr 21 15:53:13] VERBOSE[7861] pbx.c: -- Executing [[email protected]:3] ExecIf("SIP/1102-00000045", "0?Set(REALCALLERIDNUM=1102)") in new stack
[Apr 21 15:53:13] VERBOSE[7861] pbx.c: -- Executing [[email protected]:4] Set("SIP/1102-00000045", "AMPUSER=1102") in new stack
[Apr 21 15:53:13] VERBOSE[7861] pbx.c: -- Executing [[email protected]:5] Set("SIP/1102-00000045", "AMPUSERCIDNAME=Chris-Dect") in new stack
[Apr 21 15:53:13] VERBOSE[7861] pbx.c: -- Executing [[email protected]:6] GotoIf("SIP/1102-00000045", "0?report") in new stack
[Apr 21 15:53:13] VERBOSE[7861] pbx.c: -- Executing [[email protected]:7] Set("SIP/1102-00000045", "AMPUSERCID=1102") in new stack
[Apr 21 15:53:13] VERBOSE[7861] pbx.c: -- Executing [[email protected]:8] Set("SIP/1102-00000045", "CALLERID(all)="Chris-Dect" <1102>") in new stack
[Apr 21 15:53:13] VERBOSE[7861] pbx.c: -- Executing [[email protected]:9] ExecIf("SIP/1102-00000045", "0?Set(CHANNEL(language)=)") in new stack
[Apr 21 15:53:13] VERBOSE[7861] pbx.c: -- Executing [[email protected]:10] GotoIf("SIP/1102-00000045", "0?continue") in new stack
[Apr 21 15:53:13] VERBOSE[7861] pbx.c: -- Executing [[email protected]:11] Set("SIP/1102-00000045", "__TTL=63") in new stack
[Apr 21 15:53:13] VERBOSE[7861] pbx.c: -- Executing [[email protected]:12] GotoIf("SIP/1102-00000045", "1?continue") in new stack
[Apr 21 15:53:13] VERBOSE[7861] pbx.c: -- Goto (macro-user-callerid,s,19)
[Apr 21 15:53:13] VERBOSE[7861] pbx.c: -- Executing [[email protected]:19] NoOp("SIP/1102-00000045", "Using CallerID "Chris-Dect" <1102>") in new stack
[Apr 21 15:53:13] VERBOSE[7861] pbx.c: -- Executing [[email protected]:3] GotoIf("SIP/1102-00000045", "1?skipdb") in new stack
[Apr 21 15:53:13] VERBOSE[7861] pbx.c: -- Goto (from-did-direct,1100,5)
You can see that it sets the prepended callerID but then still goes of to the DB to get the callerID… the destination for timed out orphans is another extension.
Should I bug it? (2.8Beta)
Thanks,
Chris