Re: [asterisk-users] GOIP GSM to SIP Gateway?

2011-12-21 Thread Matt
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  wrote:
> I would think it would be better to set a variable for each user and then
> have a single context with something like:
>
> _NXX,1,Dial(SIP/${WhatToUse}/${EXTEN})
>
> Or something like this.
> --
> Jim Dickenson
> mailto:dicken...@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  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]
> _NXX,1,Dial(SIP/GSM1/${EXTEN})
>
> [context2]
> _NXX,1,Dial(SIP/GSM2/${EXTEN})
>
> [context3]
> _NXX,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


Re: [asterisk-users] GOIP GSM to SIP Gateway?

2011-12-20 Thread Jim Dickenson
I would think it would be better to set a variable for each user and then have 
a single context with something like:

_NXX,1,Dial(SIP/${WhatToUse}/${EXTEN})

Or something like this.
-- 
Jim Dickenson
mailto:dicken...@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  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] 
> _NXX,1,Dial(SIP/GSM1/${EXTEN})
> 
> [context2]
> _NXX,1,Dial(SIP/GSM2/${EXTEN})
> 
> [context3]
> _NXX,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

Re: [asterisk-users] GOIP GSM to SIP Gateway?

2011-12-20 Thread John Kiniston
On Tue, Dec 20, 2011 at 12:39 PM, Matt  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]
_NXX,1,Dial(SIP/GSM1/${EXTEN})

[context2]
_NXX,1,Dial(SIP/GSM2/${EXTEN})

[context3]
_NXX,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

Re: [asterisk-users] GOIP GSM to SIP Gateway?

2011-12-20 Thread Carlos Rojas
Hello

It is possible but how do you have the dialplan ?
In your dial plan you can do that

Regards
On Dec 20, 2011 2:40 PM, "Matt"  wrote:

> Hi,
> Has anyone here any experiencing with linking an Asterisk PBX to a
> GOIP GSM to SIP Gateway?  We've got inbound calls from the GSM network
> working properly, however, outbound calls seem to randomly choose a
> SIM line to use.
>
> 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?
>
> --
> _
> -- 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

[asterisk-users] GOIP GSM to SIP Gateway?

2011-12-20 Thread Matt
Hi,
Has anyone here any experiencing with linking an Asterisk PBX to a
GOIP GSM to SIP Gateway?  We've got inbound calls from the GSM network
working properly, however, outbound calls seem to randomly choose a
SIM line to use.

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?

--
_
-- 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