Dear all,

as you know, we can use Originate Command to auto-dial a out-bound
call to a extention or app since 1.6.2.

but when i Originate a call, and hangup. the cdr of this call has no
CDR(clid) and CDR(src).

Could you tell me how to set the Callerid to cdr from an Originate
call? I use Originate directly in the dialplan

not AMI, so i can't set the callerid property like AMI use OriginateAction.

my dialplan is :

[test]
exten => 123,1,NoCDR()
exten => 123,n(me),MeetMe(123,AMX,123)
exten => 0,1,Read(DEST,dial,,i)
exten => 0,n,ResetCDR()
exten => 0,n,Originate(SIP/${DEST},exten,test,s,1)
exten => 0,n,Goto(123,me)

exten => s,1,MeetMe(123,M,123)

-- 
Thanks & Regards
Sucan

-- 
_____________________________________________________________________
-- 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

Reply via email to