HI, I have the following problem.I am setting up a PAP2 to forward the number to my mobile when I'm not in office.Everything is working fine,I dial *72 to set up the forward number and *73 to cancel it.It does divert the number,but my problem comes in in the way asterisk inserts the values into the mysql cdr.(i've got the addons package installed). Say for instance extension 101 dials 201(my office number) asterisk will store the values as follows in the cdr..
ENTRY 1 :
CallerId(src) : 101
Destination : 201
ENTRY 2
the call gets diverted)
Callerid(src) : 101
Destination : <my cell number>
I would rather like to save the values as follows(i'm not interested in the id incoming call,i want to see from which line it got diverted)thus....
ENTRY 1
the same)
Callerid : 101
Destination : 201
ENTRY 2 :
CAllerid : 201 (the line from from which it was forwarded)
Destination : <my cell number>
I would really apreciate it if someone could help me with this.I am thinking i should make small changes in the asterisk code where the values are getting inserted into the database maybe,but i'm not sure where..thanks in advance..