Add activatesub and dialandactivate sub.
authorDamien Wedhorn <voip@facts.com.au>
Sun, 15 May 2011 23:17:57 +0000 (23:17 +0000)
committerDamien Wedhorn <voip@facts.com.au>
Sun, 15 May 2011 23:17:57 +0000 (23:17 +0000)
commit969a317d8183903640dabbe3e3ffd9edb24064b7
treed0e9dce4f73a973a87b15ec072401ab06da7a97e
parent475ef22b205a5e228e796e7758149b953e949049
Add activatesub and dialandactivate sub.

When called, activatesub first cleans up the active sub and then
handles the sub passed. dialandactivatesub first sets sub->exten
and then calls activatesub. Revise handle_offhook to utilise the
callid sent to chan_skinny. Some other minor fixes especially around
d->hookstate (which still needs some more work).

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@319024 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_skinny.c