yep use

exten => 123,1,Answer
exten => 123,2,Busy

bkw

----- Original Message ----- 
From: "Bartek Kania" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, May 29, 2004 12:04 PM
Subject: [Asterisk-Users] PlayTones problem


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi!
> I am having problems with the PlayTones application and VoIP softphones.
> I have the following in my extensions.conf:
> exten => 123,1,Answer
> exten => 123,2,PlayTones(Busy)
> exten => 123,3,Hangup
>
> But when I connect with gnophone(IAX) or kphone(SIP) and dial 123 the call
> just hangs up immediately.
> I get the following on the console:
>     -- Executing Answer("[EMAIL PROTECTED]/4", "") in new stack
>     -- Executing Playtones("[EMAIL PROTECTED]/4", "Busy") in new stack
>     -- Executing Hangup("[EMAIL PROTECTED]/4", "") in new stack
>   == Spawn extension (icepage, 123, 3) exited non-zero on
'[EMAIL PROTECTED]/4'
> May 29 20:00:10 NOTICE[21526]: channel.c:1478 ast_set_write_format: Unable
to find a path from UNKN to GSM
>     -- Hungup '[EMAIL PROTECTED]/4'
>
> I don't have any FXS-hardware so I can't try it with a real phone.
>
> I am running the (stable) asterisk version from cvs from 3 days ago.
>
> Sincerely,
> Bartek
> - -- 
> * GPG-Key: http://evil.gnarf.org/mrbk.pgp
>
> A: Because we read from top to bottom, left to right.
> Q: Why should i start my reply below the quoted text?
> - -- http://www.i-hate-computers.demon.co.uk/
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (GNU/Linux)
>
> iD8DBQFAuNDJWYjaxM2wIe4RAtS1AKCwMqmaKILwzLg9ZnKx0+uDEw5drwCdFqqv
> vUBt3kLL7jVDsnWVrKYGr9w=
> =P8PB
> -----END PGP SIGNATURE-----
> _______________________________________________
> Asterisk-Users mailing list
> [EMAIL PROTECTED]
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>

_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to