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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 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/[EMAIL PROTECTED])
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.

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

Reply via email to