View previous topic :: View next topic |
Author |
Message |
pdhales at optusnet.co... Guest
|
Posted: Thu Jan 31, 2008 11:55 pm Post subject: [asterisk-users] h priority problem |
|
|
I need to carry a variable over into the 'h' priority - so I can go back
and clean up DB entries in a mysql database (time of call and so on)
I tried using UNIQUEID but it seems that 'h' generates a new one.
Anyone have any ideas? What can I use to carry a variable over into
'h'??
later,
PaulH |
|
Back to top |
|
|
support at drdos.info Guest
|
Posted: Fri Feb 01, 2008 5:31 am Post subject: [asterisk-users] h priority problem |
|
|
Paul Hales wrote:
Quote: |
Anyone have any ideas? What can I use to carry a variable over into
'h'??
|
Lets see what you have so far.
Doug
--
Ben Franklin quote:
"Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety." |
|
Back to top |
|
|
rizwanhasham at gmail.com Guest
|
Posted: Fri Feb 01, 2008 5:51 am Post subject: [asterisk-users] h priority problem |
|
|
You can use account code and userfield. You can set userfield to anything
you want in the dialplan.
On Feb 1, 2008 3:31 PM, Doug Lytle <support at drdos.info> wrote:
Quote: | Paul Hales wrote:
Quote: |
Anyone have any ideas? What can I use to carry a variable over into
'h'??
|
Lets see what you have so far.
Doug
--
Ben Franklin quote:
"Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety."
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
|
--
Best Regards
Rizwan Hisham
Software Engineer
Axvoice Inc.
www.axvoice.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080201/fe72f684/attachment.htm |
|
Back to top |
|
|
atis at iq-labs.net Guest
|
Posted: Fri Feb 01, 2008 7:00 am Post subject: [asterisk-users] h priority problem |
|
|
On 2/1/08, Paul Hales <pdhales at optusnet.com.au> wrote:
Quote: |
I need to carry a variable over into the 'h' priority - so I can go back
and clean up DB entries in a mysql database (time of call and so on)
I tried using UNIQUEID but it seems that 'h' generates a new one.
Anyone have any ideas? What can I use to carry a variable over into
'h'??
|
You have to understand that there's several channels for one call.
Variables are only inherited from parent channel to child, if you make
them inheritable by prepending underscore or two underscores. For
example - if you want to have one common unique identifier for call -
do this at beginning of each channel:
if ("${call_id}"="") {
Set(__call_id=${UNIQUEID});
}
Then you can use this to store something shared in asterisk internal DB()
Regards,
Atis
--
Atis Lezdins
VoIP Developer,
IQ Labs Inc.
atis at iq-labs.net
Skype: atis.lezdins
Cell Phone: +371 28806004
Work phone: +1 800 7502835 |
|
Back to top |
|
|
|