On Monday, August 17, 2009, Rilawich Ango wrote:

>Thanks.  DIALSTATUS works except ANSWER.  When the phone hangup, the
>dialplan doesn't go to s-ANSWER.
>
>    -- Executing [3...@default:12] Dial("SIP/10.31.0.32-09872150",
>"SIP/3001|50|Tt") in new stack
>    -- Called 3001
>    -- SIP/3001-0986d1d8 is ringing
>    -- SIP/3001-0986d1d8 answered SIP/10.31.0.32-09872150
>  == Spawn extension (default, 3001, 12) exited non-zero on
>'SIP/10.31.0.32-09872150'

You need to ensure you specify the "g" option when you dial the destination
(e.g. Dial(SIP/3001,50,Ttg)).  Otherwise the call will jump to the "h" exten
when either party hangs up.  

Sincerely,
Trevor Hammonds




_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to