Hi,

Problem solved sort of. For some reason I cannot get the Zyxel to work with agentcallbackLogin when the codec is alaw, ulaw or g729 and DTMF is rfc2833. I had to change the codec to ulaw and DTMF to inband to get it to work. Which means the voice quality dropped some and I noticed the echo and jitter control did not work as well, but at least now the phones can be used to ack as an agent.

Thanks

Chuck Bunn wrote:

Hi,

Okay we have agents logging in to receive calls from a queue. Agents logging in from a SJPhone (SIP Phone) can dial the login extension and are asked for their 'username followed by #' and then they are asked for their 'password followed by #' and then the system asks them what 'extension they are at followed by #'. This works perfectly. When someone calls in the agents extensions that have logged in ring. When someone using the Zyxel phone (by the way the latest version is a great little phone with great clarity) calls into the agent extension it asks for their extension as before but as soon as the user enters the extension followed by a # the system hangs up on them, go figure???? Here are my files. Oh and logging out of the agent application works fine from SJPhone.

********************
extensions.conf

[general]
#include macros.incl

[incoming-home]
exten => s,1,Goto(extensions-home,100,1)
exten => t,1,Goto(extensions-home,100,1)
exten => i,1,Goto(extensions-home,100,1)

[extensions-home]
include => parkedcalls

;Operator queue, Operator Console, and Receptionist Phone
exten => 100,1,Answer()
exten => 100,2,Queue(extensions-home|trn|||120)

;Office Personnel
exten => _30[0-1],1,Macro(stdexten,${EXTEN},SIP/${EXTEN})
exten => _31[0-4],1,Macro(stdexten,${EXTEN},SIP/${EXTEN})
exten => _399,1,Macro(stdexten,${EXTEN},SIP/${EXTEN})
exten => _40[0-1],1,Macro(stdexten,${EXTEN},SIP/${EXTEN})
exten => _499,1,Macro(stdexten,${EXTEN},SIP/${EXTEN})

;Spa Personnel
exten => _500,1,Macro(stdexten,${EXTEN},SIP/${EXTEN})
exten => _51[0-2],1,Macro(stdexten,${EXTEN},SIP/${EXTEN})
exten => 590,1,Dial(ZAP/3,20)

;Voicemail Main
exten => 800,1,Answer
exten => 800,2,VoicemailMain

;Agent Login
exten => 801,1,AgentCallbackLogin(,,@extensions-home)

;Voice Conferencing
exten => _85X,1,Answer
exten => _85X,2,MeetMe(${EXTEN})

;exten => i,1,Voicemail(s300)
;exten => t,1,Voicemail(s300)

exten => fax,1,Dial(ZAP/4,20)
exten => fax,2,Congestion
exten => fax,102,Congestion

[local]
ignorepat => 9
exten => _9NXXXXXX,1,Dial(${OUTBOUNDTRUNK}/${EXTEN:1})
exten => _9NXXXXXX,2,Congestion(5)
exten => _9NXXXXXX,102,congestion(5)
exten => 911,1,Dial(${OUTBOUNDTRUNK}/911)
exten => 9911,1,Dial(${OUTBOUNDTRUNK}/911
include => extensions-home

[longdistance]
ignorpat => 9
exten => _91NXXNXXXXXX,1,Dial(${OUTBOUNDTRUNK}/${EXTEN:1})
exten => _91NXXNXXXXXX,2,Congestion(5)
exten => _91NXXNXXXXXX,102,congestion(5)
include => local


[globals]
OUTBOUNDTRUNK=Zap/G1

PSTN1=Zap/1
PSTN2=Zap/2

PHONE1=Zap/3
PHONE2=Zap/4

****************
zapata.conf

[trunkgroups]

[channels]
echocancel=yes
echocancelwhenbridged=yes
echotraining=yes
rxgain=14.0
txgain=4.0
usecallerid=yes
hidecallerid=no
callwaiting=no
threewaycalling=no
transfer=no
immediate=no
faxdetect=both

context=incoming-home
signalling=fxs_ks
group=1
channel => 1,2

context=local
signalling=fxo_ks
group=2
channel => 3

context=longdistance
signalling=fxo_ks
group=3
channel => 4

***********************
queues.conf

[general]

;Operator Home
[extensions-home]
music=default
strategy=ringall
maxlen=0
member => Agent/@1

*************************
sip.conf

[general]
context=default
srvlookup=yes

;Zyxel - P2000WV2
[300]
context=longdistance
type=friend
username=300
secret=x
callerid=<300>
nat=no
host=dynamic
mailbox=300
disallow=all
allow=alaw
allow=ulaw
allow=gsm
dtmfmode=rfc2833

;Zyxel - P2000WV2
[301]
context=longdistance
type=friend
username=301
secret=x
callerid=<301>
nat=no
host=dynamic
mailbox=301
disallow=all
allow=alaw
allow=ulaw
allow=gsm
dtmfmode=rfc2833
.
.
.
.
;SJphone
[310]
context=longdistance
type=friend
username=310
secret=x
callerid=<310>
qualify=yes
nat=no
host=dynamic
mailbox=310
disallow=all
allow=alaw
allow=ulaw
allow=gsm
dtmfmode=rfc2833

;SJphone
[311]
context=longdistance
type=friend
username=311
secret=x
callerid=<311>
qualify=yes
nat=no
host=dynamic
mailbox=311
disallow=all
allow=alaw
allow=ulaw
allow=gsm
dtmfmode=rfc2833
...

***********************
agents.conf

[agents]
wrapuptime=0
musiconhold => default
updatecdr=yes

;Operator - Home
group=1
agent => 300,300,name
agent => 301,301,nam2

agent => 310,310,name3
agent => 311,311,name4
...

***********************
Zyxel Phone settings


*PHONE SETTINGS*

------------------------------------------------------------------------
Default Voice Codec Speaking Volume(-14~14) Listening Volume(-14~14) RTP Port Jitter Buffer Small Medium Large Voice Frames per Packet Small Medium Large DTMF Relay DTMF Payload(0~127)

**********************
CLS Output

WHEN IT WORKS
-- Executing AgentCallbackLogin("SIP/499-b495", "||@extensions-home") in new stack
   -- Playing 'agent-user' (language 'en')
   -- Playing 'agent-pass' (language 'en')
   -- Playing 'agent-newlocation' (language 'en')
   -- Playing 'agent-loggedoff' (language 'en')
 == Callback Agent '301' logged out
   -- Playing 'vm-goodbye' (language 'en')
== Spawn extension (longdistance, 801, 1) exited non-zero on 'SIP/499-b495'

WHEN IT DOES NOT
Executing AgentCallbackLogin("SIP/301-06a1", "||@extensions-home") in new stack
   -- Playing 'agent-user' (language 'en')
   -- Hungup 'Zap/1-1'
   -- Playing 'vm-goodbye' (language 'en')

Thanks

_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

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





_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

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

Reply via email to