[asterisk-users] Queue questions - Asterisk 11

Administrator TOOTAI admin at tootai.net
Wed Jul 3 09:10:54 CDT 2013


Le 03/07/2013 15:07, Satish Barot a écrit :
> [...]
> Then you should add Local channel as a queue member and dial your SIP 
> member from Local channel context.  A little hint here. Suppose you 
> have a support queue configured in queues.conf
>
> ;queues.conf
> [support]
> ... ...
> member => Local/1000 at memberconnector,0,John Smith,SIP/1000
> ... ...
> Now In your dialplan add a context for local channel,
> [memberconnector]
> exten => _X.,1,Noop(Connecting to Member at ${EXTEN})
> same => n,Dial(SIP/${EXTEN})
> ;Check the Dialstatus for Member
> same => n,Noop(DIALSTATUS=${DIALSTATUS})

Already tested, I tried again as the option passed to queue was changed 
(n option)

Logs:

     -- Started music on hold, class 'default', on SIP/gw-0000005e
     -- Executing [909 at memberconnector:1] 
Dial("Local/909 at memberconnector-00000002;2", "SIP/s-ntfe_909,60,") in 
new stack
   == Using SIP RTP CoS mark 5
     -- Called SIP/s-ntfe_909
     -- SIP/s-ntfe_909-00000060 is ringing
     -- Local/909 at memberconnector-00000002;1 is ringing
     -- SIP/s-ntfe_909-00000060 is ringing
     -- Stopped music on hold on SIP/gw-0000005e
   == Spawn extension (macro-toQueue, s, 11) exited non-zero on 
'SIP/gw-0000005e' in macro 'toQueue'
   == Spawn extension (incoming-Swiss-itech, 10000, 204) exited non-zero 
on 'SIP/gw-0000005e'
     -- Executing [h at incoming-Swiss-itech:1] NoOp("SIP/gw-0000005e", 
"Call ended with QUEUESTATUS= and DIALSTATUS= and HANGUPCAUSE=0") in new 
stack

 From extension:

[memberconnector]
;
exten => _XXX,1,Dial(SIP/${peerPrefix}${EXTEN},${TIMERINGQUEUE},)
       same => n,NoOp(DIALSTATUS=${DIALSTATUS})

As you can see, all status are empty,

-- 
Daniel



More information about the asterisk-users mailing list