exten => 1001,1,Dial(SIP/1001,15,t) ; see "show application dial" for options and formats
exten => 1001,1,SetMusicOnHold
exten => 1001,2,Voicemail2(u1001) ; go to Voicemail2 if phone is "U"nanswered
exten => 1001,102,Voicemail2(b1001) ; go to Voicemail2 if phone is "B"usy
exten => 1001,103,Hangup ; and then hangup.
exten => 1002,1,Dial(SIP/1002,15,t) ; see "show application dial" for options and formats
exten => 1002,1,SetMusicOnHold
exten => 1002,2,Voicemail2(u1002) ; go to Voicemail2 if phone is "U"nanswered
exten => 1002,102,Voicemail2(b1002) ; go to Voicemail2 if phone is "B"usy
exten => 1002,103,Hangup ; and then hangup.
[toll-trunks]
exten => _91NXXNXXXXXX,1,SetCallerID(911)
exten => _91NXXNXXXXXX,2,Dial(IAX2/user@NuFone/${EXTEN:1})
exten => _91NXXNXXXXXX,3,Congestion