[Asterisk-Users] ParkAndAnnounce - No Disconnect

Kris Edwards krisedwards at gmail.com
Sun Aug 14 13:44:24 MST 2005


David Phelan wrote:

>Quick and dirty way would be to then dump you into DISA and then retrieve
>the call from the parking lot....
>
>Just a thought....
>
>Dave
> 
>
>-----Original Message-----
>From: asterisk-users-bounces at lists.digium.com
>[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Kris Edwards
>Sent: Sunday, 14 August 2005 10:37 PM
>To: Asterisk Users Mailing List - Non-Commercial Discussion
>Subject: [Asterisk-Users] ParkAndAnnounce - No Disconnect
>
>Regarding my earlier email (for some reason, I don't get my own emails from
>the list), I looked at the code and although I'm no programmer, I see that
>this is meant to hangup after the announcement.  If I comment that line out,
>the call remains on the line, but I'm in limbo.  I tried to add a
>chan->priority = 101 in place of the hangup and get this on the
>cli:
>
>= Spawn extension (locator, s, 101) exited non-zero on
>'Parked/SIP/3105989483-f5f1<ZOMBIE>'
>
>So I'm not sure what happened there, but neither the parked caller or myself
>are affected.  I'll look around at other code and see if I can figure out
>how to transfer the called party (me) into a context that can "Press 1 to
>accept the call" or some such thing.  Maybe I'll even figure out how to pull
>the  caller out of the parking lot and send them to voicemail if I choose to
>"Reject the Call" (instead of them having to wait for the timeout)
>
>Kris
>_______________________________________________
>Asterisk-Users mailing list
>Asterisk-Users at lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-users
>To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>--
>No virus found in this incoming message.
>Checked by AVG Anti-Virus.
>Version: 7.0.338 / Virus Database: 267.10.8/71 - Release Date: 12/08/2005
> 
>
>  
>
Would this require a code hack on parkandannounce?  I can't seem to get
it to go to any priority.. It just disconnects.  When I did what I
mentioned above (removing the ast_hangup from the code), the call
remains active... I can't get rid of it with a soft hangup, but had to
completely kill *, so I've gone back to the original code/ problem.  If
you know how I can make P&A jump to a different priority or context
after the announcement, please let me know :D

Thanks

Kris



More information about the asterisk-users mailing list