Hi All,
I have an asterisk server (Trixbox) connected to another Asterisk server (Standard Asterisk). The problem is that in trixbox I set the CallerID to be a number such as "0755930164" (which is valid in my part of the world). I then make a call to the standard aterisk server using IAX and do a: NoOp(CID: ${CALLERID(all)})
To see what the CallerID of the call is and it comes back with this:
-- Executing [123@group-secure:1] NoOp("IAX2/09502452-144", "CID: "" <09502452>") in new stack
Which is the USERNAME of the call, not the CID.
I’ve looked at the Debug from the asterisk server that the call is being passed to and it looks ok, it has the CALLING NUMBER as 0755930164 which is correct, its just that when I use the ${CALLERID(all)} variable I don’t get that number, I get the Username…?
This looks like it might be because of CALLING PRESNTN being set to “0” , which i’m guessing means that the calling presentation from one side or another is being set to “No, don’t allow”. Is this correct? I can’t find any information on CALLING PRESNTN , if so, how do I allow it over IAX and on what side?
VERSION : 2
CALLED NUMBER : 123
CODEC_PREFS : (gsm)
CALLING NUMBER : 0755930164
CALLING PRESNTN : 0
CALLING TYPEOFN : 0
CALLING TRANSIT : 0
CALLING NAME : Chris
LANGUAGE : en
USERNAME : 09502452
FORMAT : 2
CAPABILITY : 63490
ADSICPE : 2
DATE TIME : 2008-03-12 10:42:34
Thanks.
Chris.