Sunday, January 13, 2008

Re: [asterisk-users] Soundcard necessary on an asterisk server to get output of playback()?? -> Next step

Tzafrir Cohen wrote:

> > The agent picks up the phone but neither the agent nor the caller >
> > here anything.

>So please provide a more complte trace and a the relevant partt of your
>dialplan.
>
Here is the relevant part of the dialplan:

[local]
exten => 98,1,Dial(SIP/sguenther,20,tr)
exten => 98,2,VoiceMail(98|u)
exten => 98,3,hangup
exten => 98,101,VoiceMail(98|b)
exten => 98,102,Hangup

; QUEUES
exten => 6661,1,ANSWER()
exten => 6661,2,Queue(queue1|t)

; AgentLogin
exten => 6662,1,ANSWER()
exten => 6662,2,AGENTCALLBACKLOGIN(||${CALLERID(num)}@local)
exten => 6663,3,HANGUP()


Here is the ouput of "agent show"
intranet*CLI> agent show
666 (ceo) not logged in (musiconhold is 'default')
777 (smguenther) available at '98@local' (musiconhold is
'default')
888 (michaela) not logged in (musiconhold is 'default')
999 (user1) not logged in (musiconhold is 'default')
4 agents configured [1 online , 3 offline]

And here is the output of the cli (debug level 5). user dials 6661, the
number of the queue, the phone of sguenther rings and I pick up the
phone, but you hear nothing on either side.

-- Executing [6661@local:1] Answer("SIP/user1-081dda50", "") in new stack
-- Executing [6661@local:2] Queue("SIP/user1-081dda50", "queue1|t") in
new stack
-- Started music on hold, class 'default', on SIP/user1-081dda50
-- outgoing agentcall, to agent '777', on 'Local/98@local-c3b1,1'
-- Called Agent/777
-- Executing [98@local:1] Dial("Local/98@local-c3b1,2",
"SIP/sguenther|20|tr") in new stack
-- Called sguenther
-- Agent/777 is ringing
-- SIP/sguenther-082093a0 is ringing
-- SIP/sguenther-082093a0 is ringing
-- SIP/sguenther-082093a0 is ringing
-- SIP/sguenther-082093a0 answered Local/98@local-c3b1,2
-- Agent/777 answered SIP/user1-081dda50
-- Stopped music on hold on SIP/user1-081dda50

When user1 calls the number 98 directly, everything is okay, sound on
both sides of the line.

Thanks for your help,

stefan
--

********************************************
in-put GbR - Das Linux-Systemhaus
Stefan-Michael Guenther
Geschaeftsfuehrer
Moltkestrasse 49 D-76133 Karlsruhe
Tel./Fax : +49 (0)721 / 83044 - 98/93
http://www.in-put.de
********************************************
Schulungen Installationen
Beratung Support
Voice-over-IP-Loesungen
********************************************


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

No comments: