torbjorn.abrahamsson a... Guest
|
Posted: Thu Feb 20, 2014 4:45 am Post subject: [asterisk-users] Dynamically setting from domain when callin |
|
|
Quote: | Quote: | Thank you very much. I will try this! It seems to be what I'm looking for.
I'm in most cases working with 1.2 asterisks, so I'm not up to date on newer features.
My current project however needed a newer version. I tried some googleing, but I did not find these variables.
|
Glad to help! Wow.. 1.2 ! Most are using 1.8 or 11 these days, so it is good to be aware of that when seeking
help and Googeling. The 1.8 branch is the oldest supported version at the moment.
https://wiki.asterisk.org/wiki/display/AST/Asterisk+Versions
|
Yes, I know, way behind. We are trying to make the time needed to move on to 11 or 12, but it is quite time consuming. Although we're not alone, at least Steve Edwards uses 1.2.. :)
I tested SIPFROMDOMAIN, and it worked. Important thing to note is that I needed to have at least one underscore at the beginning of the variable, as your example did, it needs to be inherited at least one level. I don't really see way this should be needed, shouldn't Dial be able see it in the channel that executes the application? Maybe this should be noted on the wiki as well, to avoid this kind of confusion?
Thanks for the help!
BR,
Torbjörn Abrahamsson
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|