Re: [asterisk-users] Caching CALLERID(dnid)

2011-01-28 Thread Olivier
2011/1/26 Arjan Kroon | Mobillion arjan.kr...@mobillion.nl


 Now we see that the CALLERID(dnid) is still '655871460'

 How do you exactly see that CALLERID(dnid) is still '655871460' ?
Are you reading it from the called party side or from from the calling
party side ?
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] Caching CALLERID(dnid)

2011-01-26 Thread Arjan Kroon | Mobillion
Hi,

We encounter a problem with the variable CALLERID(dnid)

We use E1 lines where we can make an inbound call or an outbound call on the 
same channel (not at the same time)

If the CALLERID(dnid) is not used, than the CALLERID(dnid) will be the 
CALLERID(dnid) of the previous call

For example:
- First we get a inbound call on channel DAHDI/11-1 with CALLERID(dnid) = 
'655871460'  
We read the variable CALLERID(dnid) with AMI.
This call will be ended.
- Then we make an outbound call on the same channel.
The CALLERID(dnid) is not set, during this outbound call.
If this outbound call is picked up, we will read the CALLERID(dnid) with AMI.

Now we see that the CALLERID(dnid) is still '655871460'  


Is there a way to reset the CALLERID(dnid) on one channel or automatically 
reset the complete cache on one channel if this channel is ended?

Regards,

Ami command: 
action: GetVar 
actionid: 129675971_656137# 
variable: CALLERID(dnid) 
channel: DAHDI/11-1

Arjan Kroon
Mobillion BV

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users