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

Steven asterisk at tescogroup.com
Tue May 16 05:53:09 MST 2006


After trying multiple times to change the code for res_features.c to read in a variable for the park timeout destination, I gave up 
and hardcoded it into the source.

I attached my patch if anyone needs to do a similar thing.

I am not sure why I had to edit it twice, I would think that the area labeled "/* Remember what had been dialed, so that if the 
parking expires, we try to come back to the same place */" would be used later down the file, but it appears to only be stored and 
not used.

This fixes my problem, but is not perfect.

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.
I am sure that I could figure this out with a little time and testing, but it is just a timing issue.
Now I am one step closer to starting my migration from the Legacy PBX, and when it is done, I will use the original res_features.c 
anyway.

I am trying to make all of the features between the two systems identical, so that I can migrate without loosing functionality or 
confusing the users.
Once I train people the new parking system, I can swap out their physical phone at any time.

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.

My next and last issue is paging.  We currently page over the Legacy PBX phones for the office zone and horns for the shop zone.
Again, I can not do it from asterisk, because the Legacy PBX feature codes will not work from a PRI trunk.

I have to either wire the office with speakers, or use some FXO ports to be analog phones on the legacy PBX, or find out if the 
phones I am going to roll out support paging.


-- 
-- 
Steven

http://www.glimasoutheast.org



"Steven" <asterisk at tescogroup.com> wrote in message news:e49t36$b35$1 at sea.gmane.org...
> Great,
>
> What is the trick to call it announce the Park position during the transfer instead of a call back??
>
> -- 
> -- 
> Steven
>
> http://www.glimasoutheast.org
>
>
>
> "Andrew Kohlsmith" <akohlsmith-asterisk at benshaw.com> wrote in message news:200605140820.34215.akohlsmith-asterisk at benshaw.com...
>> On Friday 12 May 2006 17:38, Steven wrote:
>>> Does anyone have a version that talks back during the transfer like Park()
>>> does?
>>
>> ParkAndAnnounce can do this, can you not specify the correct channel?
>>
>> Also, I added a feature to ParkAndAnnounce which is now part of trunk which
>> gives the variable ${PARKEDAT} to the announced channel.
>>
>> -A.
>> _______________________________________________
>> --Bandwidth and Colocation provided by Easynews.com --
>>
>> Asterisk-Users mailing list
>> To UNSUBSCRIBE or update options visit:
>>   http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>
>
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
> 


begin 666 res_features.c-patch.txt
M+2TM(')E<U]F96%T=7)E<RUO<FEG+F,)36]N($%P<B Q," Q-#HR.3HU,2 R
M,# V#0HK*RL@<F5S7V9E871U<F5S+F,)36]N($UA>2 Q-2 Q-SHS-CHR," R
M,# V#0I 0" M,S,U+#$Q("LS,S4L,3$@0$ -"B ):68@*"%A<W1?<W1R;&5N
M7WIE<F\H8VAA;BT^;6%C<F]C;VYT97AT*2D-"B )"6%S=%]C;W!Y7W-T<FEN
M9RAP=2T^8V]N=&5X="P at 8VAA;BT^;6%C<F]C;VYT97AT+"!S:7IE;V8H<'4M
M/F-O;G1E>'0I*3L-"B )96QS90T*+0D)87-T7V-O<'E?<W1R:6YG*'!U+3YC
M;VYT97AT+"!C:&%N+3YC;VYT97AT+"!S:7IE;V8H<'4M/F-O;G1E>'0I*3L-
M"BL)"6%S=%]C;W!Y7W-T<FEN9RAP=2T^8V]N=&5X="P@(F5X="UL;V-A;"UC
M=7-T;VTB+"!S:7IE;V8H<'4M/F-O;G1E>'0I*3L-"B ):68@*"%A<W1?<W1R
M;&5N7WIE<F\H8VAA;BT^;6%C<F]E>'1E;BDI#0H@"0EA<W1?8V]P>5]S=')I
M;F<H<'4M/F5X=&5N+"!C:&%N+3YM86-R;V5X=&5N+"!S:7IE;V8H<'4M/F5X
M=&5N*2D[#0H@"65L<V4-"BT)"6%S=%]C;W!Y7W-T<FEN9RAP=2T^97AT96XL
M(&-H86XM/F5X=&5N+"!S:7IE;V8H<'4M/F5X=&5N*2D[#0HK"0EA<W1?8V]P
M>5]S=')I;F<H<'4M/F5X=&5N+" B-3$P,"(L('-I>F5O9BAP=2T^97AT96XI
M*3L-"B ):68@*&-H86XM/FUA8W)O<')I;W)I='DI#0H@"0EP=2T^<')I;W)I
M='D@/2!C:&%N+3YM86-R;W!R:6]R:71Y.PT*( EE;'-E#0I 0" M,34R,2PW
M("LQ-3(R+#<@0$ -"B )"0D)"0E]#0H@"0D)"0E]#0H@"0D)"0EI9B H8V]N
M*2![#0HM"0D)"0D)<VYP<FEN=&8H<F5T=7)N97AT96XL('-I>F5O9BAR971U
M<FYE>'1E;BDL("(E<WQ\="(L('!E97)N86UE*3L-"BL)"0D)"0ES;G!R:6YT
M9BAR971U<FYE>'1E;BP@<VEZ96]F*')E='5R;F5X=&5N*2P@(EIA<"]G,B\U
M,3 P?'QT(BD[#0H@"0D)"0D)87-T7V%D9%]E>'1E;G-I;VXR*&-O;BP@,2P@
M<&5E<FYA;64L(#$L($Y53$PL($Y53$PL(")$:6%L(BP@<W1R9'5P*')E='5R
M;F5X=&5N*2P at 1E)%12P@<F5G:7-T<F%R*3L-"B )"0D)"7T-"B )"0D)"6%S
M=%]C;W!Y7W-T<FEN9RAP=2T^8VAA;BT^97AT96XL('!E97)N86UE+"!S:7IE
;;V8H<'4M/F-H86XM/F5X=&5N*2D[#0H-"@T*
`
end





More information about the asterisk-users mailing list