[asterisk-users] CDR Issue
Parveen Lamba
plamba at tekege.com
Tue Sep 4 03:54:54 CDT 2012
Hi,
I have configured asterisk with Sangoma analog card. Outbound and
Inbound calls are working fine. I have issue with CDR for outbound call.
When I call to 0XXXXXXXXX number using sip/test, CDR is created between
sip and dahdi channel.
Here is CDR and CEL :-
+---------------------+--------------------+-----+-------------+-------------+---------------------+------------+---------+-------------------------+----------+---------+-------------+----------+-------------+---------------+-----------+
| calldate | clid | src | dst |
dcontext | channel | dstchannel | lastapp |
lastdata | duration | billsec | disposition | amaflags |
accountcode | uniqueid | userfield |
+---------------------+--------------------+-----+-------------+-------------+---------------------+------------+---------+-------------------------+----------+---------+-------------+----------+-------------+---------------+-----------+
| 2012-09-05 02:11:25 | "sip/test" <101> | 101 | 0XXXXXXXXXX |
test | SIP/test-00000024 | DAHDI/3-1 | Dial |
dahdi/g0/0XXXXXXXXXX,20 | 48 | 33 | ANSWERED |
3 | | 1346825485.69 | |
+---------------------+--------------------+-----+-------------+-------------+---------------------+------------+---------+-------------------------+----------+---------+-------------+----------+-------------+---------------+-----------+
Here disposition is always answered whether I attend or reject the call.
eventtype eventtime CALLERID(name) CALLERID(num) CALLERID(ANI)
CALLERID(RDNIS) CALLERID(DNID) CHANNEL(exten) CHANNEL(context)
CHANNEL(channame) CHANNEL(appname) CHANNEL(appdata)
CHANNEL(amaflags) CHANNEL(accountcode) CHANNEL(uniqueid)
CHANNEL(linkedid) BRIDGEPEER CHANNEL(userfield) userdeftype eventextra
CHAN_START 2012-09-05 02:11:25
101
s test SIP/test-00000024
3
1346825485.69 1346825485.69
ANSWER 2012-09-05 02:11:37 sip/test 101 101
test SIP/test-00000024
3
1346825485.69 1346825485.69
CHAN_START 2012-09-05 02:11:37
s from-zaptel DAHDI/3-1
3
1346825497.7 1346825485.69
ANSWER 2012-09-05 02:11:40 sip/test XXXXXXXXXX
9717330017 from-zaptel DAHDI/3-1 AppDial (Outgoing Line) 3
1346825497.7 1346825485.69
BRIDGE_START 2012-09-05 02:11:40 sip/test 101 101
s macro-std SIP/test-00000024 Dial dahdi/g0/0XXXXXXXXXX,20 3
1346825485.69 1346825485.69 DAHDI/3-1
BRIDGE_END 2012-09-05 02:12:13 sip/test 101 101
s macro-std SIP/test-00000024 Dial dahdi/g0/0XXXXXXXXXX,20 3
1346825485.69 1346825485.69 DAHDI/3-1
HANGUP 2012-09-05 02:12:13 sip/test XXXXXXXXXX
macro-std DAHDI/3-1 AppDial (Outgoing Line) 3
1346825497.7 1346825485.69
16,SIP/test-00000024,
CHAN_END 2012-09-05 02:12:13 sip/test XXXXXXXXXX
macro-std DAHDI/3-1 AppDial (Outgoing Line) 3
1346825497.7 1346825485.69
HANGUP 2012-09-05 02:12:13 sip/test 101 101
9717330017 test SIP/test-00000024
3
1346825485.69 1346825485.69
16,SIP/test-00000024,ANSWER
CHAN_END 2012-09-05 02:12:13 sip/test 101 101
9717330017 test SIP/test-00000024
3
1346825485.69 1346825485.69
LINKEDID_END 2012-09-05 02:12:13 sip/test 101 101
9717330017 test SIP/test-00000024
3
1346825485.69 1346825485.69
and here is my dial plan:
[test]
exten => _XXXXXXXXXXX,1,Dial(dahdi/g0/${EXTEN:})
Could anyone please tell me where I am doing mistake.
Any help will be appreciable.
Thanks
Parveen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120904/50ff1425/attachment.htm>
More information about the asterisk-users
mailing list