Use a LOCAL Channel and redirect that one peer through some dialplan Something like this:
Dial(LOCAL/inno0@addheader&SIP/inno4&SIP/inno6,30) [addheader] exten => inno0,1,SipAddHeader(foo) exten => inno0,n,Dial(SIP/inno0) exten => inno0,n,Hangup On Thu, Nov 14, 2013 at 9:35 AM, Jonas Kellens <[email protected]>wrote: > Hello, > > when calling a group of SIP peers like this : > > Dial( "SIP/inno0&SIP/inno4&SIP/inno6,30") > > is it possible to have a SIP header added for just 1 of these SIP peers, > like only for SIP/inno0 but not for SIP/inno4 and SIP/inno6 ?? > > > I know the function SipAddHeader(), but when I use this in the dialplan > before the Dial()-command, then the header is added for all the SIP peers > that are being called. > > > So when calling a group of SIP peers, how can I add an extra SIP header > for just one of the SIP peers ? > > > > Kind regards, > Jonas. > > > > -- > _____________________________________________________________________ > -- 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 > -- A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects. ---Heinlein
-- _____________________________________________________________________ -- 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
