Outgoing number shortened

Hello

I am a new happy user of FreePBX. And proud of it :slight_smile:
I used to have a working 3CX PBX but for commercial reasons I had to switch to a free PBX

After many hours of testing and tweaking I managed to get incoming calls to work and internal functions to operate

The only problem I have at the moment are outgoing calls

I am trying to dial 0755.123.123
My match pattern is set to XXXXXXXXXX

In logs I see that the number Asterisk is trying to dial is only 123123, instead of 0755.123.123 resulting in error 603 from our VoIP provider

Executing [s@macro-dialout-trunk:12] GosubIf(“SIP/20-00000013”, “1?sub-flp-1,s,1()”) in new stack
[2013-01-20 05:21:54] VERBOSE[2226] pbx.c: – Executing [s@sub-flp-1:1] ExecIf(“SIP/20-00000013”, “1?Set(TARGET_FLP_1=123123)”) in new stack
[2013-01-20 05:21:54] VERBOSE[2226] pbx.c: – Executing [s@sub-flp-1:2] GotoIf(“SIP/20-00000013”, “1?match”) in new stack
[2013-01-20 05:21:54] VERBOSE[2226] pbx.c: – Goto (sub-flp-1,s,4)
[2013-01-20 05:21:54] VERBOSE[2226] pbx.c: – Executing [s@sub-flp-1:4] Set(“SIP/20-00000013”, “DIAL_NUMBER=123123”) in new stack
[2013-01-20 05:21:54] VERBOSE[2226] pbx.c: – Executing [s@sub-flp-1:5] Return(“SIP/20-00000013”, “”) in new stack
[2013-01-20 05:21:54] VERBOSE[2226] pbx.c: – Executing [s@macro-dialout-trunk:13] Set(“SIP/20-00000013”, “OUTNUM=123123”) in new stack
[2013-01-20 05:21:54] VERBOSE[2226] pbx.c: – Executing [s@macro-dialout-trunk:14] Set(“SIP/20-00000013”, “custom=SIP/Provider”) in new stack
[2013-01-20 05:21:54] VERBOSE[2226] pbx.c: – Executing [s@macro-dialout-trunk:15] ExecIf(“SIP/20-00000013”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))”) in new stack
[2013-01-20 05:21:54] VERBOSE[2226] pbx.c: – Executing [s@macro-dialout-trunk:16] ExecIf(“SIP/20-00000013”, “0?Set(DIAL_TRUNK_OPTIONS=M(confirm))”) in new stack
[2013-01-20 05:21:54] VERBOSE[2226] pbx.c: – Executing [s@macro-dialout-trunk:17] Macro(“SIP/20-00000013”, “dialout-trunk-predial-hook,”) in new stack
[2013-01-20 05:21:54] VERBOSE[2226] pbx.c: – Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(“SIP/20-00000013”, “”) in new stack
[2013-01-20 05:21:54] VERBOSE[2226] pbx.c: – Executing [s@macro-dialout-trunk:18] GotoIf(“SIP/20-00000013”, “0?bypass,1”) in new stack
[2013-01-20 05:21:54] VERBOSE[2226] pbx.c: – Executing [s@macro-dialout-trunk:19] ExecIf(“SIP/20-00000013”, “1?Set(CONNECTEDLINE(num,i)=123123)”) in new stack
[2013-01-20 05:21:54] VERBOSE[2226] pbx.c: – Executing [s@macro-dialout-trunk:20] ExecIf(“SIP/20-00000013”, “1?Set(CONNECTEDLINE(name,i)=CID:XXXXXXXX)”) in new stack
[2013-01-20 05:21:54] VERBOSE[2226] pbx.c: – Executing [s@macro-dialout-trunk:21] GotoIf(“SIP/20-00000013”, “0?customtrunk”) in new stack
[2013-01-20 05:21:54] VERBOSE[2226] pbx.c: – Executing [s@macro-dialout-trunk:22] Dial(“SIP/20-00000013”, “SIP/Provider/123123,300,”) in new stack
[2013-01-20 05:21:54] VERBOSE[2226] netsock2.c: == Using SIP RTP TOS bits 184
[2013-01-20 05:21:54] VERBOSE[2226] netsock2.c: == Using SIP RTP CoS mark 5
[2013-01-20 05:21:54] VERBOSE[2226] app_dial.c: – Called SIP/Provider/123123
[2013-01-20 05:21:54] VERBOSE[1673] chan_sip.c: – Got SIP response 603 “Declined” back from XX.XXX.XX.XXX:5060
[2013-01-20 05:21:54] VERBOSE[2226] app_dial.c: – SIP/Provider-00000014 is busy
[2013-01-20 05:21:54] VERBOSE[2226] app_dial.c: == Everyone is busy/congested at this time (1:1/0/0)
[2013-01-20 05:21:54] VERBOSE[2226] pbx.c: – Executing [s@macro-dialout-trunk:23] NoOp(“SIP/20-00000013”, “Dial failed for some reason with DIALSTATUS = BUSY and HANGUPCAUSE = 21”) in new stack

I am out of ideas. Please help me out.
What can cause my number to be shortened?

Thank you

My bad
I had setup in SIP Trunk a prefix 0XXX by mistake
Deleted that and now my number is not shortened anymore.