Re: [asterisk-users] Dahdi Answer a Call On ringing State.

2012-09-13 Thread Parveen Lamba
Hi,

I am also facing same issue. Is this resolved? Please reply.

Thanks




--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] CDR Issue

2012-09-04 Thread Parveen Lamba

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 0X 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  | 0XX | 
test  | SIP/test-0024 | DAHDI/3-1  | Dial| 
dahdi/g0/0XX,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   testSIP/test-0024   

3   
1346825485.69   1346825485.69   



ANSWER  2012-09-05 02:11:37 sip/test101 101 


testSIP/test-0024   

3   
1346825485.69   1346825485.69   



CHAN_START  2012-09-05 02:11:37 




s   from-zaptel DAHDI/3-1   

3   
1346825497.71346825485.69   



ANSWER  2012-09-05 02:11:40 sip/testXX  


9717330017  from-zaptel DAHDI/3-1   AppDial 
(Outgoing Line) 3   
1346825497.71346825485.69   



BRIDGE_START2012-09-05 02:11:40 sip/test101 101 

s   macro-std   SIP/test-0024   Dial
dahdi/g0/0XX,20 3   
1346825485.69   1346825485.69   DAHDI/3-1   


BRIDGE_END  2012-09-05 02:12:13 sip/test101 101 

s   macro-std   SIP/test-0024   Dial
dahdi/g0/0XX,20 3   
1346825485.69   1346825485.69   DAHDI/3-1   


HANGUP  2012-09-05 02:12:13 sip/testXX  



macro-std   DAHDI/3-1   AppDial (Outgoing Line) 
3   
1346825497.71346825485.69   


16,SIP/test-0024,
CHAN_END2012-09-05 02:12:13 sip/testXX  



macro-std   DAHDI/3-1   AppDial (Outgoing Line) 
3   
1346825497.71346825485.69   



HANGUP  2012-09-05 02:12:13 sip/test101 101 

9717330017  testSIP/test-0024   

3   
1346825485.69   1346825485.69   


16,SIP/test-0024,ANSWER
CHAN_END2012-09-05 02:12:13 sip/test101 101 

9717330017  testSIP/test-0024   

3   
1346825485.69   1346825485.69   



LINKEDID_END2012-09-05 02:12:13 sip/test101 101 

9717330017  testSIP/test-0024   

3   
1346825485.69   1346825485.69   


























and here is my dial plan:

[test]
exten = _XXX,1,Dial(dahdi/g0/${EXTEN:})

Could anyone please tell me where I am doing mistake.


Any help will be appreciable.


Thanks

Parveen

--
_
--