[asterisk-users] CDR Help

Ishfaq Malik ish at pack-net.co.uk
Thu Aug 26 06:58:31 CDT 2010


On Thu, 2010-08-26 at 06:57 -0400, Dan Journo wrote:
> > 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
> 
So one shows as answered and the other doesn't?

-- 
Ishfaq Malik
Software Developer
PackNet Ltd

Office:   0161 660 3062




More information about the asterisk-users mailing list