> 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/${ext...@supplier)

Then, I changed my dialling line from:-

exten => 555,1,Dial(SIP/01615551...@supplier&SIP/01615554...@supplier,60)

to

exten => 
555,1,Dial(LOCAL/01615551...@outgoing_context/n&LOCAL/01615554...@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

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