[asterisk-users] redirect a ringing phone

Jerry Geis geisj at pagestation.com
Fri Dec 9 07:14:12 CST 2011


  On 12/07/2011 10:16 AM, Jerry Geis wrote:
>  I am using AMI to call a phone and play a wave file. That works fine 
> to SIP/401.
>
> Now I am trying to "redirect" that call that is ringing to another 
> phone (SIP/404).
> When I do it the other phone rings but the first phone continues to 
> ring also.
>
> Then when I answer on SIP/404, I get a ring not the wave file.
>
>  Action: Setvar
>  Channel: SIP/401-00000004
>  Variable: SMVOICE_CALLAT
>  Value: SIP/404
> DEBUG: Response: Success[CR ][LF ]Message: Variable Set[CR ][LF ][CR 
> ][LF ]
>
> Action: Redirect
> Channel: SIP/401-00000004
> Exten: smvoice_dial_no_extension
> Context: smvoice-transfers
> Priority: 1
> DEBUG: Response: Success[CR ][LF ]Message: Variable Set[CR ][LF ][CR 
> ][LF ]
>
> exten => 
> smvoice_dial_no_extension,1,Dial(${SMVOICE_CALLAT},${SMVOICE_DIAL_TIMEOUT},${SMVOICE_ONHOLD}tT)
>
>
> What am I not issuing correctly to redirect the ringing phone to 
> another phone.
>
> Thanks,
>
> jerry
I forgot to include that I was using asterisk 1.4.42.
I had not seen any replies . Is there information I am missing?
Am I doing something wrong?

jerry



More information about the asterisk-users mailing list