Dialplan translation to FS.
I still haven't been able to do this in FS: :-( exten => _9X.,1,Dial(SIP/2001/${EXTEN:1}) exten => _9X.,n,Congestion() Who can help please. Rgds Henk (p.s. I asked this earlier in: http://www.nabble.com/GSM-gateway-MV370-to18932091.html but no response)
<extension name="example"> <condition field="destination_number" expression="^9(.*)$"> <action application="bridge" data="sofia/profile/$1"/> </condition> </extension> But this requires me to know what SIP/2001/ is. /b On Aug 14, 2008, at 10:07 AM, Henk Oegema wrote:
I still haven't been able to do this in FS: :-(
exten => _9X.,1,Dial(SIP/2001/${EXTEN:1}) exten => _9X.,n,Congestion()
Who can help please.
Rgds Henk
(p.s. I asked this earlier in: http://www.nabble.com/GSM-gateway-MV370-to18932091.html but no response)
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Brian West sip:brian@freeswitch.org
On Thursday 14 August 2008 17:11:55 Brian West wrote:
<extension name="example"> <condition field="destination_number" expression="^9(.*)$"> <action application="bridge" data="sofia/profile/$1"/> </condition> </extension>
But this requires me to know what SIP/2001/ is.
2001 is the registered directory number of the GSM gateway in FS.. So when I dial 904761234, that number(without the 9) should be received by 2001, who in its turn dials the GSM network.
On Aug 14, 2008, at 10:07 AM, Henk Oegema wrote:
I still haven't been able to do this in FS: :-(
exten => _9X.,1,Dial(SIP/2001/${EXTEN:1}) exten => _9X.,n,Congestion()
On Thursday 14 August 2008 17:11:55 Brian West wrote:
<extension name="example"> <condition field="destination_number" expression="^9(.*)$"> <action application="bridge" data="sofia/profile/$1"/> </condition> </extension>
But this requires me to know what SIP/2001/ is.
2001 is the extension number of the GSM gateway
On Aug 14, 2008, at 10:07 AM, Henk Oegema wrote:
I still haven't been able to do this in FS: :-(
exten => _9X.,1,Dial(SIP/2001/${EXTEN:1}) exten => _9X.,n,Congestion()
I've been trying different options of: <extension name="gsm_gateway"> <condition field="destination_number" expression="^9(.*)$"> <action application="bridge" data="sofia/internal/$1@2001"/> </condition> </extension> but no success yet. Rgds Henk
The gateway is registered inbound and you want to send an outbound call over it? <action application="bridge" data="sofia/profile/2001^$1@something.com"/> On Fri, Aug 15, 2008 at 6:16 AM, Henk Oegema <pabx_freeswitch@telenet.be>wrote:
On Thursday 14 August 2008 17:11:55 Brian West wrote:
<extension name="example"> <condition field="destination_number" expression="^9(.*)$"> <action application="bridge" data="sofia/profile/$1"/> </condition> </extension>
But this requires me to know what SIP/2001/ is.
2001 is the extension number of the GSM gateway
On Aug 14, 2008, at 10:07 AM, Henk Oegema wrote:
I still haven't been able to do this in FS: :-(
exten => _9X.,1,Dial(SIP/2001/${EXTEN:1}) exten => _9X.,n,Congestion()
I've been trying different options of:
<extension name="gsm_gateway"> <condition field="destination_number" expression="^9(.*)$"> <action application="bridge" data="sofia/internal/$1@2001"/> </condition> </extension>
but no success yet.
Rgds Henk
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
On Friday 15 August 2008 18:58:11 Anthony Minessale wrote:
The gateway is registered inbound and you want to send an outbound call over it?
Correct.
<action application="bridge" data="sofia/profile/2001^$1@something.com"/>
Thanks very much Anthony (and Brian). Now it works :-) <!--- Dial through MV370 to GSM network --> <extension name="mv370_gsm_gateway"> <condition field="destination_number" expression="^9(.*)$"> <action application="bridge" data="sofia/internal/2001^$1@${domain}"/> #<action application="set" data="hangup_after_bridge=true"/> #<action application="hangup"/> </condition> </extension> Should I put this on the Wiki ? Rgds Henk
participants (3)
-
Anthony Minessale
-
Brian West
-
Henk Oegema