[asterisk-dev] Question/Suggestion for chan_sip

Steve Davies davies147 at gmail.com
Wed May 12 05:21:46 CDT 2010


Just thought I would check whether it made any sense before submitting
it as a patch.

In do_magic_pickup() in chan_sip.c, we try to grab a call from
extension at context, usually using "subscribecontext " from sip.conf as
the context.

This got me thinking - Should do_magic_pickup() look for a "hint"
extension in the specified @context, and try to pick up a call by
device-list using PickupChan. This will give a more accurately
directed pickup list, particularly as pickup by extension number may
well pick up a call that was sent to a completely different,
unmonitored device.

Regards,
Steve



More information about the asterisk-dev mailing list