[asterisk-users] Dynamically setting from domain when calling friends

Torbjörn Abrahamsson torbjorn.abrahamsson at gmail.com
Thu Feb 20 03:45:11 CST 2014

> > 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!

Torbjörn Abrahamsson


More information about the asterisk-users mailing list