[Asterisk-Users] Getting the right DST in CDR

Matthew Boehm mboehm at cytelcom.com
Thu Dec 2 15:39:24 MST 2004


Hey gang,
  I've never really noticed this until now. We have 20 phones here. All with
internal 3XXX extensions. 10 of the phones also have DIDs. The way I have
asterisk setup in extensions.conf is:

[all-incomming]
 exten => 8569967485,1,Goto(internal,3015,1)
 <etc..>

[internal]
 exten => 3015,1,Dial(SIP/3015,20)
 <etc..>

This way all the phones default context is internal.

But when someone outside calls 8569967485, 3015 gets inserted into the CDR.
But 3015 isn't the number they dialed. Is there any way to get the correct
number that the person dialed?

Thanks,
Matthew




More information about the asterisk-users mailing list