[asterisk-users] CDR Help

Dan Journo dan at keshercommunications.com
Thu Aug 26 05:57:36 CDT 2010


> I had a similar problem and as far as I know, the asterisk server doesn't know which of those numbers has answered your call.
> If anyone knows any different, I'd like to know as well!

Got it!

I created a context that contained this:-

[outgoing_context]
exten => _X.,1,Dial(SIP/${EXTEN}@supplier)

Then, I changed my dialling line from:-

exten => 555,1,Dial(SIP/01615551234 at supplier&SIP/01615554321 at supplier,60)

to

exten => 555,1,Dial(LOCAL/01615551234 at outgoing_context/n&LOCAL/01615554321 at outgoing_context/n,60)

In this example.. 01615551234 and 01615554321 are the two numbers I am dialling.

It loops the call "out" of asterisk, and then back "in".
Asterisk therefore thinks it's a new call coming in, and therefore creates two new cdr entries.... one for each outgoing call.

Sorry if I didn't describe what ACTUALLY happens properly, but it works.

Hope that helps.
Dan



More information about the asterisk-users mailing list