I seem to be having an odd CDR issue.
I have this in my dial plan:
exten => 2042721111,1,Dial(IAX2/vn@techbox/2042721111,,r)
exten => 2042721111,2,Hangup
When a call comes in to 2042721111 and ‘IAX2/vn@techbox/2042721111’ doesn’t answer the call I get the following two CDR records:
204272**** is the incoming callerid.
| calldate | clid | src | dst | dcontext | channel | dstchannel | lastapp | lastdata | duration | billsec | disposition | amaflags | accountcode | uniqueid | userfield |
| 2008-05-21 16:48:18 | "204272****" <204272****> | 204272**** | 2042721111 | provider-incoming | SIP/208.81.0.131-082750a0 | IAX2/techbox-8 | Dial | IAX2/vn@techbox/2042721111||r | 3 | 0 | NO ANSWER | 3 | | 1211406498.903 | |
| 2008-05-21 16:48:18 | 204272**** | 204272**** | s | default | IAX2/techbox-8 | | | | 3 | 0 | NO ANSWER | 3 | | 1211406498.904 | |
Can anyone explain this?
How can I stop the second record from showing up in my CDR?