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
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to