Hi
The problem that I have, is that with version 11.7 I can’t have the outbound cid. When I call I always have the default number. This are the logs:
[Mar 24 12:56:04] VERBOSE[11832][C-0000001b] pbx.c: – Executing [XXXXXXXXX095@from-internal:3] Set(“SIP/6-00000037”, “MOHCLASS=default”) in new stack
[Mar 24 12:56:04] VERBOSE[11832][C-0000001b] pbx.c: – Executing [XXXXXXXXX095@from-internal:4] ExecIf(“SIP/6-00000037”, “1?Set(TRUNKCIDOVERRIDE=XXXXXXXXX56)”) in new stack
[Mar 24 12:56:04] VERBOSE[11832][C-0000001b] pbx.c: – Executing [XXXXXXXXX095@from-internal:5] Set(“SIP/6-00000037”, “_NODEST=”) in new stack
[Mar 24 12:56:04] VERBOSE[11832][C-0000001b] pbx.c: – Executing [XXXXXXXXX095@from-internal:6] Macro(“SIP/6-00000037”, “record-enable,6,OUT,”) in new stack
[Mar 24 12:56:04] VERBOSE[11832][C-0000001b] pbx.c: – Executing [s@macro-record-enable:1] GotoIf(“SIP/6-00000037”, “1?check”) in new stack
[Mar 24 12:56:04] VERBOSE[11832][C-0000001b] pbx.c: – Goto (macro-record-enable,s,4)
[Mar 24 12:56:04] VERBOSE[11832][C-0000001b] pbx.c: – Executing [s@macro-record-enable:4] ExecIf(“SIP/6-00000037”, “0?MacroExit()”) in new stack
[Mar 24 12:56:04] VERBOSE[11832][C-0000001b] pbx.c: – Executing [s@macro-record-enable:5] GotoIf(“SIP/6-00000037”, “0?Group:OUT”) in new stack
[Mar 24 12:56:04] VERBOSE[11832][C-0000001b] pbx.c: – Goto (macro-record-enable,s,15)
[Mar 24 12:56:04] VERBOSE[11832][C-0000001b] pbx.c: – Executing [s@macro-record-enable:15] GotoIf(“SIP/6-00000037”, “0?IN”) in new stack
[Mar 24 12:56:04] VERBOSE[11832][C-0000001b] pbx.c: – Executing [s@macro-record-enable:16] ExecIf(“SIP/6-00000037”, “1?MacroExit()”) in new stack
[Mar 24 12:56:04] VERBOSE[11832][C-0000001b] pbx.c: – Executing [XXXXXXXXX095@from-internal:7] Macro(“SIP/6-00000037”, “dialout-trunk,2,XXXXXXXXX095,”) in new stack
[Mar 24 12:56:04] VERBOSE[11832][C-0000001b] pbx.c: – Executing [s@macro-dialout-trunk:1] Set(“SIP/6-00000037”, “DIAL_TRUNK=2”) in new stack
[Mar 24 12:56:04] VERBOSE[11832][C-0000001b] pbx.c: – Executing [s@macro-dialout-trunk:2] GosubIf(“SIP/6-00000037”, “0?sub-pincheck,s,1”) in new stack
[Mar 24 12:56:04] VERBOSE[11832][C-0000001b] pbx.c: – Executing [s@macro-dialout-trunk:3] GotoIf(“SIP/6-00000037”, “0?disabletrunk,1”) in new stack
[Mar 24 12:56:04] VERBOSE[11832][C-0000001b] pbx.c: – Executing [s@macro-dialout-trunk:4] Set(“SIP/6-00000037”, “DIAL_NUMBER=XXXXXXXXX095”) in new stack
[Mar 24 12:56:04] VERBOSE[11832][C-0000001b] pbx.c: – Executing [s@macro-dialout-trunk:5] Set(“SIP/6-00000037”, “DIAL_TRUNK_OPTIONS=tr”) in new stack
[Mar 24 12:56:04] VERBOSE[11832][C-0000001b] pbx.c: – Executing [s@macro-dialout-trunk:6] Set(“SIP/6-00000037”, “OUTBOUND_GROUP=OUT_2”) in new stack
[Mar 24 12:56:04] VERBOSE[11832][C-0000001b] pbx.c: – Executing [s@macro-dialout-trunk:7] GotoIf(“SIP/6-00000037”, “0?nomax”) in new stack
[Mar 24 12:56:04] VERBOSE[11832][C-0000001b] pbx.c: – Executing [s@macro-dialout-trunk:8] GotoIf(“SIP/6-00000037”, “0?chanfull”) in new stack
[Mar 24 12:56:04] VERBOSE[11832][C-0000001b] pbx.c: – Executing [s@macro-dialout-trunk:9] GotoIf(“SIP/6-00000037”, “0?skipoutcid”) in new stack
[Mar 24 12:56:04] VERBOSE[11832][C-0000001b] pbx.c: – Executing [s@macro-dialout-trunk:10] Set(“SIP/6-00000037”, “DIAL_TRUNK_OPTIONS=”) in new stack
[Mar 24 12:56:04] VERBOSE[11832][C-0000001b] pbx.c: – Executing [s@macro-dialout-trunk:11] Macro(“SIP/6-00000037”, “outbound-callerid,2”) in new stack
[Mar 24 12:56:04] VERBOSE[11832][C-0000001b] pbx.c: – Executing [s@macro-outbound-callerid:1] ExecIf(“SIP/6-00000037”, “0?Set(CALLERPRES()=)”) in new stack
[Mar 24 12:56:04] VERBOSE[11832][C-0000001b] pbx.c: – Executing [s@macro-outbound-callerid:2] ExecIf(“SIP/6-00000037”, “1?Set(REALCALLERIDNUM=6)”) in new stack
[Mar 24 12:56:04] VERBOSE[11832][C-0000001b] pbx.c: – Executing [s@macro-outbound-callerid:3] GotoIf(“SIP/6-00000037”, “1?normcid”) in new stack
[Mar 24 12:56:04] VERBOSE[11832][C-0000001b] pbx.c: – Goto (macro-outbound-callerid,s,6)
[Mar 24 12:56:04] VERBOSE[11832][C-0000001b] pbx.c: – Executing [s@macro-outbound-callerid:6] Set(“SIP/6-00000037”, “USEROUTCID=XXXXXXXXX56”) in new stack
[Mar 24 12:56:04] VERBOSE[11832][C-0000001b] pbx.c: – Executing [s@macro-outbound-callerid:7] Set(“SIP/6-00000037”, “EMERGENCYCID=”) in new stack
[Mar 24 12:56:04] VERBOSE[11832][C-0000001b] pbx.c: – Executing [s@macro-outbound-callerid:8] Set(“SIP/6-00000037”, “TRUNKOUTCID=”) in new stack
[Mar 24 12:56:04] VERBOSE[11832][C-0000001b] pbx.c: – Executing [s@macro-outbound-callerid:9] GotoIf(“SIP/6-00000037”, “1?trunkcid”) in new stack
[Mar 24 12:56:04] VERBOSE[11832][C-0000001b] pbx.c: – Goto (macro-outbound-callerid,s,12)
[Mar 24 12:56:04] VERBOSE[11832][C-0000001b] pbx.c: – Executing [s@macro-outbound-callerid:12] ExecIf(“SIP/6-00000037”, “0?Set(CALLERID(all)=)”) in new stack
[Mar 24 12:56:04] VERBOSE[11832][C-0000001b] pbx.c: – Executing [s@macro-outbound-callerid:13] ExecIf(“SIP/6-00000037”, “1?Set(CALLERID(all)=XXXXXXXXX56)”) in new stack
[Mar 24 12:56:04] VERBOSE[11832][C-0000001b] pbx.c: – Executing [s@macro-outbound-callerid:14] ExecIf(“SIP/6-00000037”, “1?Set(CALLERID(all)=XXXXXXXXX56)”) in new stack
But when I set sip debug on I see:
From: sip:myusername@sipconnect.sipgate.de;tag=as0796e49b
From: sip:myusername@sipconnect.sipgate.de;tag=as0796e49b
And this must be:
From: XXXXXXXXX56 sip:myusername@sipconnect.sipgate.de;tag=as0796e49b
From: XXXXXXXXX56 sip:myusername@sipconnect.sipgate.de;tag=as0796e49b
Can anyone please help me?