Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] h priority problem


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
pdhales at optusnet.co...
Guest





PostPosted: Thu Jan 31, 2008 11:55 pm    Post subject: [asterisk-users] h priority problem Reply with 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'??

later,

PaulH
Back to top
support at drdos.info
Guest





PostPosted: Fri Feb 01, 2008 5:31 am    Post subject: [asterisk-users] h priority problem Reply with 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."
Back to top
rizwanhasham at gmail.com
Guest





PostPosted: Fri Feb 01, 2008 5:51 am    Post subject: [asterisk-users] h priority problem Reply with quote

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





PostPosted: Fri Feb 01, 2008 7:00 am    Post subject: [asterisk-users] h priority problem Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services