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

Reply via email to