[asterisk-users] When dialing the number, I need to see it in the Cisco LCD Phone

Danny Nicholas danny at debsinc.com
Tue Nov 29 08:40:12 CST 2011


If you are using a 1.X (1.4, 1.6 or 1.8) version you probably need to either
use saynumber() to playback the number before dialing or use message() to
send an IM to the phone since that architecture "only knows" 9 as the number
you dialed.  I think 10.0 will "refresh" the number when Dial is executed. 

Or this might work for you, but if it does your callee will probably wonder
what is up.

exten =>
_ZXXXXXXXX,1,MixMonitor(${CHANNEL}${EXTEN}${STRFTIME(${EPOCH},,%Y%m%d%H%M%S)
}.wav)
exten => _ZXXXXXXXX,n,Set(CALLERID(num)=${EXTEN})
exten => _ZXXXXXXXX,n,Dial(${PSTNTRUNK}/${EXTEN})
exten => _ZXXXXXXXX,n,Playback(vm-nobodyavail)
exten => _ZXXXXXXXX,n,Hangup()
exten => _ZXXXXXXXX,104,Congestion()
exten => _ZXXXXXXXX,105,Hangup()

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of bilal ghayyad
Sent: Tuesday, November 29, 2011 5:04 AM
To: asterisk-users at lists.digium.com
Subject: [asterisk-users] When dialing the number, I need to see it in the
Cisco LCD Phone

Dear List;

I have internal Menu that I use it when doing outside call (it ask some
questions, and then it ask to dial the number that need to call it), I can
access this menu by dialing 9, but after the Background stay play the wave
file, then whatever I dial (to select) and whatever the number that I dial
it, I do not see it in the LCD of the IP Phone, it stays display on the IP
Phone the 9 number (which is the first dialed number to access the Menu),
how can I display the dialed numbers that I am dialing on the LCD, because I
need to see what I dialed (at least to know I am dialing the right digits
and to know what the number I am calling him now)!!

I am adding below the extensions.conf part that is related to this scenario:


exten => 9,1,Set(AgentCount=1)
exten => 9,2,Background(WhichCustomer)

exten => 1,1,Set(EnteredOption=1)
exten => 1,2,Goto(ExternalOnly,s,1)

exten => 2,1,Set(EnteredOption=2)
exten => 2,2,Set(CALLERID(pres)=allowed) exten =>
2,3,Set(CALLERID(num)=65631040) exten => 2,4,Goto(ExternalOnly,s,1)


exten => i,1,Playback(pbx-invalid)
exten => i,2,Set(AgentCount=$[${AgentCount}+1])
exten => i,3,GotoIf($[${AgentCount} < 3]?ExternalAgent,9,2:4) exten =>
i,4,Playback(vm-goodbye) exten => i,5,Hangup()

exten => t,1,Set(AgentCount=$[${AgentCount}+1])
exten => t,2,GotoIf($[${AgentCount} < 3]?ExternalAgent,9,2:3) exten =>
t,3,Playback(vm-goodbye) exten => t,4,Hangup() ;


[ExternalOnly]


exten => s,1,Set(OutCount=1)
exten => s,2,Background(EnterTheNumber)

exten => i,1,Playback(pbx-invalid)
exten => i,2,Set(OutCount=$[${OutCount}+1])
exten => i,3,GotoIf($[${OutCount} < 3]?ExternalOnly,s,2:4) exten =>
i,4,Playback(vm-goodbye) exten => i,5,Hangup()

exten => t,1,Set(OutCount=$[${OutCount}+1])
exten => t,2,GotoIf($[${OutCount} < 3]?ExternalOnly,s,2:3) exten =>
t,3,Playback(vm-goodbye) exten => t,4,Hangup()



exten =>
_ZXXXXXXXX,1,MixMonitor(${CHANNEL}${EXTEN}${STRFTIME(${EPOCH},,%Y%m%d%H%M%S)
}.wav)
exten => _ZXXXXXXXX,2,Dial(${PSTNTRUNK}/${EXTEN})
exten => _ZXXXXXXXX,3,Playback(vm-nobodyavail)
exten => _ZXXXXXXXX,4,Hangup()
exten => _ZXXXXXXXX,103,Congestion()
exten => _ZXXXXXXXX,104,Hangup()


Any help on how to be able to display at the Cisco IP Phone LCD what I am
dialing during this scenario?

Regards
Bilal

--
_____________________________________________________________________
-- 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




More information about the asterisk-users mailing list