[asterisk-users] GOIP GSM to SIP Gateway?
John Kiniston
johnkiniston at gmail.com
Tue Dec 20 15:03:19 CST 2011
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20111220/47729644/attachment.htm>
More information about the asterisk-users
mailing list