Hi, I'm using videocalling on asterisk 1.4.10. When I setup the videocall with exten = n,1,h324m_gw(s at video2webanswer), I loose the variable DNID (${CALLERID(dnid)}) Before the videocall is set up, this variable is filled and after this videocall this variable is empty. Also all local variables are empty. If al look at the A-number (${CALLERID(num)} this variable is not empty after the videocall is set up. Does anybody know how to 'remember' the variable ${CALLERID(dnid)} ? A global variable is not an option. Kind Regards. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080204/904ed6b8/attachment.htm -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 22900 bytes Desc: image001.gif Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20080204/904ed6b8/attachment.gif
Mojo with Horan & Company, LLC
2008-Feb-05 00:13 UTC
[asterisk-users] Losing CALLERID{dnid}
what about astdb? is that too much of a global variable? moj Arjan Kroon | Mobillion wrote:> > Hi, > > I?m using videocalling on asterisk 1.4.10. > > When I setup the videocall with exten = > n,1,h324m_gw(s at video2webanswer), I loose the variable DNID > (${CALLERID(dnid)}) > > Before the videocall is set up, this variable is filled and after this > videocall this variable is empty. > > Also all local variables are empty. > > If al look at the A-number (${CALLERID(num)} this variable is not > empty after the videocall is set up. > > Does anybody know how to ?remember? the variable ${CALLERID(dnid)} ? > > A global variable is not an option. > > Kind Regards. > > ------------------------------------------------------------------------ > > _______________________________________________ > -- 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
On Mon, 2008-02-04 at 10:08 +0100, Arjan Kroon | Mobillion wrote:> When I setup the videocall with exten > n,1,h324m_gw(s at video2webanswer), I loose the variable DNID > (${CALLERID(dnid)})Hmmmn... I'm not familiar with the h324m_gw application. Is that some third-party add-on to Asterisk? Have you tried doing something like: exten => blah,1,Set(__MY_DNID=${CALLERID(dnid)}) exten => blah,n,h324m_gw(s at video2webanswer) and see if that MY_DNID channel variable is still set after the call? (The underscores on the beginning of the variable tell Asterisk that any child channels should inherit the channel variable from this channel.) -- Jared Smith Community Relations Manager Digium, Inc.