I had this similar problem I have an extension (Sipura 1001) ext 2000
I call the phone, and i have an AGI lookup the incoming CID in a database, and reset the CIDname to be that from the database However, In my Mysql table i had callerid 2000 as the value. so.. if it was my cell calling it would be Ben Cell 2000 on the caller id. I removed the Callerid value of 2000 from the mysql table, and now it passes in the callerid number from the incoming call. I dont use the callerid field in the system any more because of this. If i am dialing out, i just set the callerid number to that of the calling extension... I dont dial my internal extensions that often, but it works. So.. I would Remove the callerid line from the configs, and test. > On Saturday 21 January 2006 20:30, Conrad Beckert wrote: >> Could anyone please help me with that: >> >> I have an analog telephone connected to Asterisk using a Sipura 2002 >> ATA. >> When calling the extension, the caller ID presented is always the number >> of >> that extension rather than the number of the calling one. >> >> While I learned that this is the new standard behaviour (?) of Asterisk, >> I >> want to show the original caller ID. >> >> I tried the options o and f in the dial command - e.g. > Don't know about "f" but "o" is "Operator extension, used for operator > exit by > pressing zero in voicemail " >> exten => 1002,4,dial(sip/2999,20,o) >> >> no avail. The phone rings and shows 2999 instead of the calling party! >> >> The SIPURA seems to be ok: when I connect to Sipgate/Nikotel etc. >> directly, >> everything is ok >> >> What's wrong? My Asterisk Version is 1.2.1 > sip.conf > [2999] > type=friend > secret=xxxxx > callerid=Analog Phone <1002> > regexten=1002 > etc... > > exten => 1002,1,Dial(sip/2999,20) > exten => 1002,2,Hangup > > Does this give you a clue? > benchev > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
