Returning Calls from a queue - wrong CID

Hi, I have a strange problem with my Asterisknow setup and am not sure if its a simple config fix or some wrong coding.

Scenario:
I have an incoming DID set which routes to queue 201.
Queue 201 rings extension 100.

On my SIP Phone, the display shows 2 numbers:

My Phone Number and below it
The Callers Number

This is quite strange as when i then try to return the call, the “Missed Call” number is MY NUMBER and not the callers number.

I’ve logged into the Asterisk box and gone into the CLI to watch what happens and i’m guessing the following information will help someone figure this out.

-- Executing [100@from-internal:1] ExecIf("Local/100@from-queue-3170;2", "0?Set(__RINGTIMER=0)") in new stack -- Executing [100@from-internal:2] Macro("Local/100@from-queue-3170;2", "exten-vm,100,100,0,0,0") in new stack -- Executing [s@macro-exten-vm:1] Macro("Local/100@from-queue-3170;2", "user-callerid,") in new stack -- Executing [s@macro-user-callerid:1] Set("Local/100@from-queue-3170;2", "AMPUSER=02030957740") in new stack -- Executing [s@macro-user-callerid:2] GotoIf("Local/100@from-queue-3170;2", "1?report") in new stack -- Goto (macro-user-callerid,s,11) -- Executing [s@macro-user-callerid:11] GotoIf("Local/100@from-queue-3170;2", "0?continue") in new stack -- Executing [s@macro-user-callerid:12] Set("Local/100@from-queue-3170;2", "__TTL=63") in new stack -- Executing [s@macro-user-callerid:13] GotoIf("Local/100@from-queue-3170;2", "1?continue") in new stack -- Goto (macro-user-callerid,s,24) -- Executing [s@macro-user-callerid:24] Set("Local/100@from-queue-3170;2", "CALLERID(number)=02030999999") in new stack -- Executing [s@macro-user-callerid:25] Set("Local/100@from-queue-3170;2", "CALLERID(name)=07808 111222") in new stack

callerid(number) is the number they dialled to enter the incoming route, which passed the call to queue 201.
callerid(name) is the number of the mobile that called in to the route.

Why are there 2 caller ID’s set?
Why is one caller id set asa name and not a number?

This is driving me crazy!

So on my SIP handset, If I miss the call and click Missed Calls or return call,
It dials my Own Number!!! and not the number listed above in CALLERID(name)

This isn’t the AsteriskNow forum!

At the moment, it sounds like you have fromuser set in sip.conf. That’s normally only needed for “trunks”.

All settings are configured from within the freepbx interface, i’ve not manually edited any files.
I’ve just done a search and no files contain the fromuser setting.

You need to be here: viewforum.php?f=14