[asterisk-users] Two Leg CDR

Michelle Dupuis support at ocg.ca
Thu Feb 7 08:07:05 CST 2008


Just something I noticed:  your third line from extensions.conf begins with
"s", while the other two begin with "_X". 
 
Michelle Dupuis
Technical Support Specialist

Generation Software - Linux and Asterisk solutions and support.  Visit us at
www.generationd.com <http://www.generationd.com/> 
 


  _____  

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Abdul
Sent: Thursday, February 07, 2008 8:52 AM
To: Abdul; Asterisk Users List
Subject: Re: [asterisk-users] Two Leg CDR


Hi,

I tired to use the following configuration but still in cdr table i can see
only one record.

sip.conf

[444]
type=friend
username=444
secret=444
host=dynamic
nat=yes
context=vpstoteles
disallow=all
allow=all

Extentions.conf
[vpstoteles]
exten => _X.,1,Set(CALLERID(accountcode)=212.XXX.XXX.240)
exten => _X.,n,Dial(SIP/${EXTEN}@212.XXX.XXX.240)
exten => s,2,Hangup

In CDR table accountcode for this call is empty and also we can see only one
record. 

Plase advice us how i can get two record in CDR table one for Registrar
(444) and second for carrier (212.XXX.XXX.240)?

Thank You




  _____  

Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try
<http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8
HDtDypao8Wcj9tAcJ> it now.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080207/ae48fed1/attachment.htm 


More information about the asterisk-users mailing list