Hi,
I'm using a OriginateAction to make a call using Asterisk Java. All works
fine but I see there is no way to set the Sip Header.
There is a way to do this without the need to create a locale channel?
Thanks very much
--
Daniele Renda
--
What do you mean exactly with set sip header ?
i.A. P. Katzmann
Senior Software Engineer
EDAG Engineering GmbH
Steinauer Straße 20
36100 Petersberg
Tel.: +49 - (0)661 / 6000 - 9444
Fax: +49 - (0)661 / 6000 - 1116208
E-Mail: [email protected]
-Ursprüngliche Nachricht-
Von: Dan
I have to add P-Asserted-Identity to sip header:
exten =>_X,n,SipAddHeader(P-Asserted-Identity: )
Unfortunately this line should be added _before_ the DIAL action.
Thanks
2016-05-17 13:36 GMT+02:00 Peter Katzmann :
> What do you mean exactly with set sip header ?
>
>
>
> i.A. P. Katzmann
> Se
originateAction.setVariable("SIPADDHEADER", "P-Asserted-Identity:
");
Should do it.
i.A. P. Katzmann
Senior Software Engineer
EDAG Engineering GmbH
Steinauer Straße 20
36100 Petersberg
Tel.: +49 - (0)661 / 6000 - 9444
Fax: +49 - (0)661 / 6000 - 1116208
E-Mail: [email protected]
Yeah,
you're right.
I replaced ${CALLERID(NUM)} with the value of the called id but your
suggestion works well!
Thanks very much!
2016-05-17 14:19 GMT+02:00 Peter Katzmann :
> originateAction.setVariable("SIPADDHEADER", "P-Asserted-Identity:
> ");
>
>
> Should do it.
>
>
>
> i.A. P. Katzm