<div dir="ltr"><div class="gmail_extra"><div>On 14 November 2013 16:35, Jonas Kellens <span dir="ltr"><<a href="mailto:jonas.kellens@telenet.be" target="_blank">jonas.kellens@telenet.be</a>></span> wrote:<br></div><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<font face="Helvetica, Arial, sans-serif">Hello,<br>
<br>
when calling a group of SIP peers like this :<br>
<br>
Dial( "SIP/inno0&SIP/inno4&SIP/inno6,30")<br>
<br>
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
??<br>
<br>
<br>
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.<br>
<br>
<br>
So when calling a group of SIP peers, how can I add an extra SIP
header for just one of the SIP peers ?<br>
<br></font></div></blockquote><div><br></div><div style>Hi </div><div style><br></div><div style>You should be able to do this by using a Local channel for the peer you want to add the header to:</div><div style><br>
</div><div style>exten => _XXXX,1,Dial(Local/inno0&SIP/inno4&SIP/inno6,30)</div><div style><br></div><div style>exten => inno0,1,SipAddHeader("X-YourHeader")</div><div style>exten => inno0,2,Dial(SIP/inno0)<br>
</div><div style><br></div><div style><br></div><div style>Hope this helps.</div><div style><br></div><div style>-Barry Flanagan</div><div style><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><font face="Helvetica, Arial, sans-serif">
<br>
<br>
Kind regards,<br>
Jonas.<br>
<br>
<br>
</font>
</div>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br></div></div>