We ended up loading a custom context module for FreePBX... and then dorking with the GoIP for 2 days. It's all working now and I plan to publish what we did online for future generations.. sheesh.
On Tue, Dec 20, 2011 at 4:34 PM, Jim Dickenson <[email protected]> wrote: > I would think it would be better to set a variable for each user and then > have a single context with something like: > > _NXXXXXX,1,Dial(SIP/${WhatToUse}/${EXTEN}) > > Or something like this. > -- > Jim Dickenson > mailto:[email protected] > > CfMC > http://www.cfmc.com/ > > > > On Dec 20, 2011, at 1:03 PM, John Kiniston wrote: > > > On Tue, Dec 20, 2011 at 12:39 PM, Matt <[email protected]> wrote: >> >> >> Is there anyway (short of defining dial an 8 from this phone for this >> trunk to this SIM and a 9 from this phone for a trunk to this SIM) to >> get it to use certain SIM cards when calls are made from certain >> phones? >> > You could define multiple contexts with different pattern matches for each > GSM connection and and set your phones to use them, phones 1-3 in context1, > phones 4-6 in context2, etc. > > [context1] > _NXXXXXX,1,Dial(SIP/GSM1/${EXTEN}) > > [context2] > _NXXXXXX,1,Dial(SIP/GSM2/${EXTEN}) > > [context3] > _NXXXXXX,1,Dial(SIP/GSM3/${EXTEN}) > > -- > A human being should be able to change a diaper, plan an invasion, butcher a > hog, conn a ship, design a building, write a sonnet, balance accounts, build > a wall, set a bone, comfort the dying, take orders, give orders, cooperate, > act alone, solve equations, analyze a new problem, pitch manure, program a > computer, cook a tasty meal, fight efficiently, die gallantly. > Specialization is for insects. > ---Heinlein > -- > _____________________________________________________________________ > -- 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 > > > > -- > _____________________________________________________________________ > -- 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 -- _____________________________________________________________________ -- 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
