[Asterisk-Users] # Transfer Context
Robert Jackson
RobertJ at promedicalinc.com
Tue Sep 28 10:12:33 MST 2004
I hate responding to my own post, but after I posted I looked
into the code behind the #transfers and it appears there is
already something there for this purpose. I believe tha the
channel variable TRANSFER_CONTEXT will set the context to use
exactly how I wanted. Here is the text from the changelog:
2004-07-23 22:29 anthm
* res/res_features.c (1.2): added support to be able to set the
channel var TRANSFER_CONTEXT so when a #transfer is executed it
uses ${TRANSFER_CONTEXT} from transferree else from transferer
else
it acts as always -anthm
I just wanted to get this out on the list in case anyone else
was interested in a solution.
Robert Jackson
> -----Original Message-----
> From: Robert Jackson
> Sent: Tuesday, September 28, 2004 12:36 PM
> To: asterisk-users at lists.digium.com
> Subject: [Asterisk-Users] # Transfer Context
>
>
> I need to be able to specify the transfer context from the
> dialplan. The reason for this is that I am sharing a single
> receptionist between multiple companies and I need to run a
> Specific script depending onwhere each call is transferred
> to. I originally set her up in her own context via sip.conf,
> but then calls that originate from her also get logged.
>
> I thought that there was a variable I could set, but I can't
> seem to find it.
>
> Thanks for your help,
>
> Robert Jackson
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/as> terisk-users
> To
> UNSUBSCRIBE or update options visit:
>
http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list