Displaying 1 result from an estimated 1 matches for "safersipdi".
Did you mean:
safersipdial
2011 Feb 04
1
SoftHangup on asterisk 1.8.2.3
...an, but it's either not
working or I'm not using it correctly.
when i'm on the console, i see:
pbx1*CLI> core show channels
Channel Location State Application(Data)
SIP/vgw1-000000a2 2156181505 at inbound:1 Up AppDial((Outgoing Line))
SIP/143-0000009f s at macro-SaferSIPDial Up Dial(SIP/99302156181505 at vgw1,,
2 active channels
1 active call
194 calls processed
pbx1*CLI>
in my dialplan, i have:
exten => s,1,Set(CHAN=${SHELL(asterisk -rx "core show channels" | awk
'/^SIP\/vgw1-/ { print $1 }' | head -1)})
exten => s,n,SoftHangup(${CHAN}...