> I believe I have made a little headway. I have two outgoing DID > contexts and have changed the GotoIf statement to the extension name. > User One acts as expected and User two now displays unknown when > calling so I believe it is trying to to goto 20 but it's not quite > making it. Any tips? Thanks > > [outgoing] > exten => _1NXXNXXXXXX,1,Set(Outgoing=${CUT(CHANNEL,/,2)}) > exten => _1NXXNXXXXXX,n,Set(Outgoing=${CUT(Outgoing,-,1)}) > exten => _1NXXNXXXXXX,n,GotoIf($["${Outgoing}" = "201"]?20:10) > exten => _1NXXNXXXXXX,10,Set(CALLERID(all)="User One" <3012323434>) > exten => _1NXXNXXXXXX,n,Dial(SIP/${ext...@vitel-outbound) > exten => _1NXXNXXXXXX,n,Goto(h,1) > exten => _1NXXNXXXXXX,20,Set(CALLERID(num)="User Two" <3013232322>) > exten => _1NXXNXXXXXX,n,Dial(SIP/${ext...@vitel-outbound2) > exten => _1NXXNXXXXXX,n,Goto(h,1) >
Disregard, I had num instead of all for the CALLERID statement. Thanks for all of the help! -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users