[Asterisk-Users] Re: Re: Call parking from legacy PBX over PRI??

Andrew Kohlsmith akohlsmith-asterisk at benshaw.com
Tue May 16 06:49:01 MST 2006


On Tuesday 16 May 2006 08:53, Steven wrote:
> Perfect would be that is a call is parked by a SIP or IAX extension, it
> would return there, but if parked by a ZAP Trunk (legacy PBX), it would
> return to ZAP/g2/5100.

exten => 700,1,Set(RTN=${CUT(CHANNEL,-,1)})
exten => 700,n,ParkAndAnnounce(PARKED|90|Local/foo at doparking)
exten => 700,n,if(${CHANNEL(channeltype)}=Zap?zap)
exten => 700,n,Dial(${RTN},,t)
exten => 700,n,Macro(they-didnt-or-couldnt-answer,${RTN})
exten => 700,n(zap),Dial(Zap/g2/5100,,t)
exten => 700,n,Macro(they-didnt-or-couldnt-answer,Zap/g2/5100)

[doparking]
exten => foo,1,NoOp(they'll be parked at ${PARKEDAT})
exten => foo,n,DeadAGI(do-something-with-this-info.agi)

??

> Asterisk couldn't access the parking system on the Legacy PBX because the
> feature codes will not work from PRI Trunk, nor DISA, so I needed to have
> the Legacy users use asterisk's parking.

Yep, I'm in the same boat.  :-)  Norstar MICS here.

-A.



More information about the asterisk-users mailing list