[asterisk-users] Determining picked up line from multiple line ring

Danny Nicholas danny at debsinc.com
Wed Jun 24 15:51:18 CDT 2009


${CHANNEL} or ${DNID} should do the trick.

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of
asterisk-users at enlai.net
Sent: Wednesday, June 24, 2009 3:41 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] Determining picked up line from multiple line ring

Hi all,

I've looked at the various variables but can't seem to find a way to
determine which line was picked up in a multi-line ring.

For example, in this excerpt from my asterisk logging:

 -- Executing [5558280000 at inbound:52] Dial("SIP/proxy3-05ac9180",
 "SIP/15551111111 at proxy1&SIP/15552222222 at proxy1|18|r") in new stack
    -- Called 15551111111 at proxy1
    -- Called 15552222222 at proxy1
    -- SIP/proxy1-05af5ca0 is making progress passing it to
    SIP/proxy3-05ac9180
    -- SIP/proxy1-05acaae0 is making progress passing it to
    SIP/proxy3-05ac9180
    -- SIP/proxy1-05acaae0 answered SIP/proxy3-05ac9180
    -- Packet2Packet bridging SIP/proxy3-05ac9180 and
    SIP/proxy1-05acaae0

When someone dials in to 5558280000, I call two phone numbers,
15551111111 and 15552222222 simultaneously.

The logging shows when one of those numbers is picked up, but I don't
know which one. I'd like to be able to determine which phone number was
picked up. How do I do that? Is there a variable somewhere I can tap in
real time? The CDRs don't show which number was picked up either.

Thanks!

Enlai


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




More information about the asterisk-users mailing list