[asterisk-users] GOIP GSM to SIP Gateway?
Jim Dickenson
dickenson at cfmc.com
Tue Dec 20 15:34:53 CST 2011
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:dickenson at cfmc.com
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 <mhoppes at gmail.com> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20111220/dc8e5d83/attachment.htm>
More information about the asterisk-users
mailing list