[asterisk-users] Two Leg CDR

Abdul abdul_zu at yahoo.com
Thu Feb 7 09:11:46 CST 2008


 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
       
---------------------------------
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080207/eebeb6b3/attachment.htm 


More information about the asterisk-users mailing list