There was a patch for chan_sip a while back that broke out what context a call rang into based on the distinctive ring information that was sent by the peer. This is what I use to distinguish different dialed numbers from them.
On 11/21/05, Mark Hulber <[EMAIL PROTECTED]> wrote: > I have a single Broadvoice account with more than one number. I am > trying to distinguish between the numbers on an inbound call. I have > already tried using different incoming extensions that match each number > but it always defaults to the primary. Someone earlier mentioned > SIPGetHeader as a possible solution but I'm not sure how that would > work. The only field that might possibly contain the distinctive number > that I can tell is "list_route" but I have never used SIPGetHeader and > don't know if it even makes sense in this case. > > Does anyone have a solution for this? I also tried DNID with no luck. > > MARK. > _______________________________________________ > --Bandwidth and Colocation sponsored by Easynews.com -- > > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > -- Bird's The Word Technologies, Inc. http://www.btwtech.com/ _______________________________________________ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users