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

asterisk-users at enlai.net asterisk-users at enlai.net
Wed Jun 24 15:40:30 CDT 2009


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




More information about the asterisk-users mailing list