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@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@memberconnector:1]
Dial("Local/909@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@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@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
--
_____________________________________________________________________
-- 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