Actually, i do get CDR on the originate, but NOT on the Dial() in the
context provided in the originate.

It looks like this:

[callgw]
exten => _X.,1,Set(CALLERID(num)=1123)
exten => _X.,n,Set(CALLERID(name)="John Travolta")
exten => _X.,n,Set(CDR(userfield)=${SUBSCR})
;Tried with answer to see if that fixed the problem
;exten => _X.,n,Answer
exten => _X.,n,Dial(SIP/195.219.218.153/${EXTEN})


On Sun, Jun 8, 2008 at 12:37 AM, Jan Eirik Sandnes <[EMAIL PROTECTED]>
wrote:

> Hello everyone!
>
> I need some help here, we have a callback service, which we use the
> Originate function to create the two calls between "A" and "B",
>
> at first we call the a leg, with originate, and then, we have a context
> which trig another dial to the B leg,
> the cdr i get is the B leg cdr, not the A leg CDR, but i really need them
> both.
>
> Is there by any chanse a workaround for this? I have read about asterisk
> and originate, and have found out that asterisk do not
> create cdrs for originate.
>
> We are running the latest asterisk(1.4.20), i need to have this fixed by
> monday :-P
>
> --
> Jan Eirik Sandnes




-- 
Jan Eirik Sandnes
_______________________________________________
-- 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