On May 27, 2005, at 6:50 AM, Andrew Kohlsmith wrote:
On May 27, 2005 03:20 am, Nathaniel Angelo A. Torres (247talk) wrote:
Any idea how I can generate a B* message on the asterisk box (out of
order)
message?
Easy. Do *not* have an exten => line in your PRI incoming context that
matches the number you want SIT to be played for. At least for Bell
Canada
PRIs, * will return something along the lines of "no number here" and
Bell
will take care of notifying the calling party.
e.g. if your DID block is 555-1000 to 555-1010 and you want 555-1001
to appear
out of service:
exten => 5551000,1,DoSomething()
exten => 5551002,1,DoSomething()
exten => 5551003,1,DoSomething()
exten => 5551004,1,DoSomething()
exten => 5551005,1,DoSomething()
exten => 5551006,1,DoSomething()
exten => 5551007,1,DoSomething()
exten => 5551008,1,DoSomething()
exten => 5551009,1,DoSomething()
exten => 5551010,1,DoSomething()
(note the total absence of 5551001)
Or you can have additional control (If your using the CVS version) with:
exten => 5551001,1,SetVar(PRI_CAUSE=1)
exten => 5551001,2,Hangup
For more info see:
http://www.voip-info.org/wiki-Asterisk+variable+PRI_CAUSE
Later;
Tim
_______________________________________________
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