[Asterisk-Users] SIP_HEADER help
Tomáš Komárek
tomas.komarek at col.cz
Thu Aug 11 08:24:45 MST 2005
Hello,
I have a problem with the SIP_HEADER function. Can anybody help me with
the usage?
I need to dial an extension with the number that is in the To field
instead of the one, that in THE INVITE field.
I'm trying something like
exten => 246.,1,DIAL(SIP/${SIP_HEADER(To)},30,t)
but it does not work. I get the result
-- Executing Dial("SIP/195.122.207.106-f4103dc8", SIP/|30|t") in new stack
which is wrong..
Thanks for the advices.
Tomas
More information about the asterisk-users
mailing list