So this will work??

exten => _9XXXXXXX,1,SipAddHeader(P-Asserted-Identity:
sip:${CALLERIDNUM} tel:${CALLERIDNUM})
 


> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Kevin P. Fleming
> Sent: Wednesday, January 18, 2006 9:01 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [Asterisk-Users] SipAddHeader bug?
> 
> Juan J. Sierralta P. wrote:
> 
> > exten => _9XXXXXXX,1,SipAddHeader(P-Asserted-Identity: 
> > <sip:${CALLERIDNUM} exten => 
> > _9XXXXXXX,2,SipAddHeader(P-Asserted-Identity: tel:${CALLERIDNUM}) 
> > exten => _9XXXXXXX,3,Dial(SIP/[EMAIL PROTECTED],,tT)
> > exten => _9XXXXXXX,4,Congestion
> > 
> >     The problems is that Asterisk only add the last (priority 2) 
> > header if I remove the second SipAddHeader the first one appears on 
> > the INVITE. How do I add two or more headers ?
> 
> You cannot add two headers with the same label; just add one 
> header with both values in it.
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
> 
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to