Hi Folks, anybody there to help me setup Gafachi for origination? here is what they propose for Asterisk: [general] static=yes writeprotect=yes [default] exten => _1NXXNXXXXXX,1,SetCallerID(2125551212|a) exten => _1NXXNXXXXXX,2,Dial,SIP/${EXTEN}@gafachi exten => _1NXXNXXXXXX,3,Hangup exten => _011.,1,SetCallerID(2125551212|a) exten => _011.,2,Dial,SIP/${EXTEN}@gafachi exten => _011.,3,Hangup [gafachi-incoming] ; NOTE: this section is for Gafachi Origination (incoming) services. ; DID and/or Toll free origination numbers need to include the "1" prefix ; Replace the 12125551234 with your DID or Toll Free number, and repeat or ; change as needed. exten => 12125551234,1,Dial,Zap/g1 exten => 12125551234,2,Hangup /etc/asterisk/sip.conf [general] port=5060 bindaddr=0.0.0.0 context=default tos=lowdelay disallow=all allow=ulaw register=>a6409sAHZ7088wSG:j0MGA0MktWZEMpgU@sip.gafachi.com ; NOTE: The line below ([gafachi]) can not be changed, otherwise your Asterisk ;system will reject calls, with a "403 Forbidden", from the Gafachi Network. [gafachi] type=friend username=a6409sAHZ7088wSG secret=j0MGA0MktWZEMpgU host=sip.gafachi.com canreinvite=no fromuser=a6409sAHZ7088wSG dtmfmode=rfc2833 context=gafachi-incoming Thanks, Klaus L'Imbecile. -- GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen! Jetzt dabei sein: http://www.shortview.de/wasistshortview.php?mc=sv_ext_mf@gmx
http://wiki.freeswitch.org/wiki/SIP_Provider_Examples#Gafachi /b On Jul 18, 2008, at 7:22 PM, Klaus Teller wrote:
Hi Folks,
anybody there to help me setup Gafachi for origination?
here is what they propose for Asterisk:
[general] static=yes writeprotect=yes
[default] exten => _1NXXNXXXXXX,1,SetCallerID(2125551212|a) exten => _1NXXNXXXXXX,2,Dial,SIP/${EXTEN}@gafachi exten => _1NXXNXXXXXX,3,Hangup exten => _011.,1,SetCallerID(2125551212|a) exten => _011.,2,Dial,SIP/${EXTEN}@gafachi exten => _011.,3,Hangup
[gafachi-incoming] ; NOTE: this section is for Gafachi Origination (incoming) services. ; DID and/or Toll free origination numbers need to include the "1" prefix ; Replace the 12125551234 with your DID or Toll Free number, and repeat or ; change as needed. exten => 12125551234,1,Dial,Zap/g1 exten => 12125551234,2,Hangup
/etc/asterisk/sip.conf [general] port=5060 bindaddr=0.0.0.0 context=default tos=lowdelay disallow=all allow=ulaw
register=>a6409sAHZ7088wSG:j0MGA0MktWZEMpgU@sip.gafachi.com ; NOTE: The line below ([gafachi]) can not be changed, otherwise your Asterisk ;system will reject calls, with a "403 Forbidden", from the Gafachi Network. [gafachi] type=friend username=a6409sAHZ7088wSG secret=j0MGA0MktWZEMpgU host=sip.gafachi.com canreinvite=no fromuser=a6409sAHZ7088wSG dtmfmode=rfc2833 context=gafachi-incoming
Thanks,
Klaus L'Imbecile. -- GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen! Jetzt dabei sein: http://www.shortview.de/wasistshortview.php?mc=sv_ext_mf@gmx
_______________________________________________ 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
Thanks Brian, unless i'm missing something, that link only contains instructions about termination. My question is about origination (inbound calls). Klaus. -------- Original-Nachricht --------
Datum: Fri, 18 Jul 2008 19:28:22 -0500 Von: Brian West <brian@freeswitch.org> An: freeswitch-users@lists.freeswitch.org Betreff: Re: [Freeswitch-users] Gafachi Origination
http://wiki.freeswitch.org/wiki/SIP_Provider_Examples#Gafachi
/b
On Jul 18, 2008, at 7:22 PM, Klaus Teller wrote:
Hi Folks,
anybody there to help me setup Gafachi for origination?
here is what they propose for Asterisk:
[general] static=yes writeprotect=yes
[default] exten => _1NXXNXXXXXX,1,SetCallerID(2125551212|a) exten => _1NXXNXXXXXX,2,Dial,SIP/${EXTEN}@gafachi exten => _1NXXNXXXXXX,3,Hangup exten => _011.,1,SetCallerID(2125551212|a) exten => _011.,2,Dial,SIP/${EXTEN}@gafachi exten => _011.,3,Hangup
[gafachi-incoming] ; NOTE: this section is for Gafachi Origination (incoming) services. ; DID and/or Toll free origination numbers need to include the "1" prefix ; Replace the 12125551234 with your DID or Toll Free number, and repeat or ; change as needed. exten => 12125551234,1,Dial,Zap/g1 exten => 12125551234,2,Hangup
/etc/asterisk/sip.conf [general] port=5060 bindaddr=0.0.0.0 context=default tos=lowdelay disallow=all allow=ulaw
register=>a6409sAHZ7088wSG:j0MGA0MktWZEMpgU@sip.gafachi.com ; NOTE: The line below ([gafachi]) can not be changed, otherwise your Asterisk ;system will reject calls, with a "403 Forbidden", from the Gafachi Network. [gafachi] type=friend username=a6409sAHZ7088wSG secret=j0MGA0MktWZEMpgU host=sip.gafachi.com canreinvite=no fromuser=a6409sAHZ7088wSG dtmfmode=rfc2833 context=gafachi-incoming
Thanks,
Klaus L'Imbecile. -- GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen! Jetzt dabei sein: http://www.shortview.de/wasistshortview.php?mc=sv_ext_mf@gmx
_______________________________________________ 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
_______________________________________________ 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
-- GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen! Jetzt dabei sein: http://www.shortview.de/wasistshortview.php?mc=sv_ext_mf@gmx
That does an outbound register also notice the register=true ;) I recommend putting it on the external profile then mapping all your did's in the public.xml file (aka the public context) /b On Jul 18, 2008, at 7:33 PM, Klaus Teller wrote:
Thanks Brian,
unless i'm missing something, that link only contains instructions about termination. My question is about origination (inbound calls).
Klaus.
-------- Original-Nachricht --------
Datum: Fri, 18 Jul 2008 19:28:22 -0500 Von: Brian West <brian@freeswitch.org> An: freeswitch-users@lists.freeswitch.org Betreff: Re: [Freeswitch-users] Gafachi Origination
http://wiki.freeswitch.org/wiki/SIP_Provider_Examples#Gafachi
/b
Then, I'm probably doing something very wrong. In my/usr/local/freeswitch/conf/dialplan/public.xml, I have the following: <extension name="public_extensions"> <condition field="destination_number" expression="^(.*)$"> <action application="set" data="ringback=%(2000,4000,440.0,480.0)"/> <action application="gentones" data="${bong-ring}"/> </condition> </extension> and in /conf/sip_profiles/external/gafachi.xml, I have the following: <include> <gateway name="sip.gafachi.com"> <param name="username" value="<my gafachi assigned username>"/> <param name="password" value="<my gafachi assigned password>"/> <param name="register" value="true"/> </gateway> </include> freeswitch doesn't even show in the logs that it is being contacted. And Gafachi doesn't show either that Freeswitch is registered. Any idea? klaus. -------- Original-Nachricht --------
Datum: Fri, 18 Jul 2008 19:38:45 -0500 Von: Brian West <brian@freeswitch.org> An: freeswitch-users@lists.freeswitch.org Betreff: Re: [Freeswitch-users] Gafachi Origination
That does an outbound register also notice the register=true ;) I recommend putting it on the external profile then mapping all your did's in the public.xml file (aka the public context)
/b
On Jul 18, 2008, at 7:33 PM, Klaus Teller wrote:
Thanks Brian,
unless i'm missing something, that link only contains instructions about termination. My question is about origination (inbound calls).
Klaus.
-------- Original-Nachricht --------
Datum: Fri, 18 Jul 2008 19:28:22 -0500 Von: Brian West <brian@freeswitch.org> An: freeswitch-users@lists.freeswitch.org Betreff: Re: [Freeswitch-users] Gafachi Origination
http://wiki.freeswitch.org/wiki/SIP_Provider_Examples#Gafachi
/b
_______________________________________________ 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
-- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
Seems that registration is failing: Name Type Data State ================================================================================================= internal profile sip:mod_sofia@75.155.107.182:5060 RUNNING (0) external profile sip:mod_sofia@75.155.107.182:5080 RUNNING (0) did.voip.les.net gateway sip:16XXXXXXXremovedXXXX@did.voip.les.net REGED sip.gafachi.com gateway sip:<a6XXXXXXXremovedXXXX>@sip.gafachi.com FAILED (retry: -1216430345s) nat profile sip:mod_sofia@72.55.137.185:5070 RUNNING (0) default alias internal ALIASED 75.155.107.182 alias internal ALIASED outbound alias external ALIASED ================================================================================================= 3 profiles 3 aliases -------- Original-Nachricht --------
Datum: Fri, 18 Jul 2008 20:09:30 -0500 Von: Brian West <brian@freeswitch.org> An: freeswitch-users@lists.freeswitch.org Betreff: Re: [Freeswitch-users] Gafachi Origination
What does "sofia status" show?
/b
On Jul 18, 2008, at 8:00 PM, Klaus Teller wrote:
freeswitch doesn't even show in the logs that it is being contacted. And Gafachi doesn't show either that Freeswitch is registered.
_______________________________________________ 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
-- GMX Kostenlose Spiele: Einfach online spielen und Spaß haben mit Pastry Passion! http://games.entertainment.gmx.net/de/entertainment/games/free/puzzle/616919...
I have: FreeSwitch Version 1.0.0 (exported). -------- Original-Nachricht --------
Datum: Fri, 18 Jul 2008 20:26:40 -0500 Von: Brian West <brian@freeswitch.org> An: freeswitch-users@lists.freeswitch.org Betreff: Re: [Freeswitch-users] Gafachi Origination
Are you running the latest code? That huge negative number seems wrong.
/b On Jul 18, 2008, at 8:22 PM, Klaus Teller wrote:
sip.gafachi.com gateway sip:<a6XXXXXXXremovedXXXX>@sip.gafachi.com FAILED (retry: -1216430345s)
_______________________________________________ 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
-- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
Thanks Brian, unless i'm missing something, that link only contains instructions about termination. My question is about origination (inbound calls). Klaus. -------- Original-Nachricht --------
Datum: Fri, 18 Jul 2008 19:28:22 -0500 Von: Brian West <brian@freeswitch.org> An: freeswitch-users@lists.freeswitch.org Betreff: Re: [Freeswitch-users] Gafachi Origination
http://wiki.freeswitch.org/wiki/SIP_Provider_Examples#Gafachi
/b
On Jul 18, 2008, at 7:22 PM, Klaus Teller wrote:
Hi Folks,
anybody there to help me setup Gafachi for origination?
here is what they propose for Asterisk:
[general] static=yes writeprotect=yes
[default] exten => _1NXXNXXXXXX,1,SetCallerID(2125551212|a) exten => _1NXXNXXXXXX,2,Dial,SIP/${EXTEN}@gafachi exten => _1NXXNXXXXXX,3,Hangup exten => _011.,1,SetCallerID(2125551212|a) exten => _011.,2,Dial,SIP/${EXTEN}@gafachi exten => _011.,3,Hangup
[gafachi-incoming] ; NOTE: this section is for Gafachi Origination (incoming) services. ; DID and/or Toll free origination numbers need to include the "1" prefix ; Replace the 12125551234 with your DID or Toll Free number, and repeat or ; change as needed. exten => 12125551234,1,Dial,Zap/g1 exten => 12125551234,2,Hangup
/etc/asterisk/sip.conf [general] port=5060 bindaddr=0.0.0.0 context=default tos=lowdelay disallow=all allow=ulaw
register=>a6409sAHZ7088wSG:j0MGA0MktWZEMpgU@sip.gafachi.com ; NOTE: The line below ([gafachi]) can not be changed, otherwise your Asterisk ;system will reject calls, with a "403 Forbidden", from the Gafachi Network. [gafachi] type=friend username=a6409sAHZ7088wSG secret=j0MGA0MktWZEMpgU host=sip.gafachi.com canreinvite=no fromuser=a6409sAHZ7088wSG dtmfmode=rfc2833 context=gafachi-incoming
Thanks,
Klaus L'Imbecile. -- GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen! Jetzt dabei sein: http://www.shortview.de/wasistshortview.php?mc=sv_ext_mf@gmx
_______________________________________________ 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
_______________________________________________ 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
-- GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen! Jetzt dabei sein: http://www.shortview.de/wasistshortview.php?mc=sv_ext_mf@gmx
If this is the real username and secret for the account you need to change it right away! register=>a6409sAHZ7088wSG:j0MGA0MktWZEMpgU@sip.gafachi.com ; NOTE: The line below ([gafachi]) can not be changed, otherwise your Asterisk ;system will reject calls, with a "403 Forbidden", from the Gafachi Network. [gafachi] type=friend username=a6409sAHZ7088wSG secret=j0MGA0MktWZEMpgU -M On Fri, Jul 18, 2008 at 2:22 PM, Klaus Teller <klaus.teller@gmx.net> wrote:
Hi Folks,
anybody there to help me setup Gafachi for origination?
here is what they propose for Asterisk:
[general] static=yes writeprotect=yes
[default] exten => _1NXXNXXXXXX,1,SetCallerID(2125551212|a) exten => _1NXXNXXXXXX,2,Dial,SIP/${EXTEN}@gafachi exten => _1NXXNXXXXXX,3,Hangup exten => _011.,1,SetCallerID(2125551212|a) exten => _011.,2,Dial,SIP/${EXTEN}@gafachi exten => _011.,3,Hangup
[gafachi-incoming] ; NOTE: this section is for Gafachi Origination (incoming) services. ; DID and/or Toll free origination numbers need to include the "1" prefix ; Replace the 12125551234 with your DID or Toll Free number, and repeat or ; change as needed. exten => 12125551234,1,Dial,Zap/g1 exten => 12125551234,2,Hangup
/etc/asterisk/sip.conf [general] port=5060 bindaddr=0.0.0.0 context=default tos=lowdelay disallow=all allow=ulaw
register=>a6409sAHZ7088wSG:j0MGA0MktWZEMpgU@sip.gafachi.com ; NOTE: The line below ([gafachi]) can not be changed, otherwise your Asterisk ;system will reject calls, with a "403 Forbidden", from the Gafachi Network. [gafachi] type=friend username=a6409sAHZ7088wSG secret=j0MGA0MktWZEMpgU host=sip.gafachi.com canreinvite=no fromuser=a6409sAHZ7088wSG dtmfmode=rfc2833 context=gafachi-incoming
Thanks,
Klaus L'Imbecile. -- GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen! Jetzt dabei sein: http://www.shortview.de/wasistshortview.php?mc=sv_ext_mf@gmx
_______________________________________________ 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
Are those your real user id and password? Mike On Jul 18, 2008, at 11:12 PM, Matt Darnell wrote:
If this is the real username and secret for the account you need to change it right away!
register=>a6409sAHZ7088wSG:j0MGA0MktWZEMpgU@sip.gafachi.com ; NOTE: The line below ([gafachi]) can not be changed, otherwise your Asterisk ;system will reject calls, with a "403 Forbidden", from the Gafachi Network. [gafachi] type=friend username=a6409sAHZ7088wSG secret=j0MGA0MktWZEMpgU
-M
On Fri, Jul 18, 2008 at 2:22 PM, Klaus Teller <klaus.teller@gmx.net> wrote:
Hi Folks,
anybody there to help me setup Gafachi for origination?
here is what they propose for Asterisk:
[general] static=yes writeprotect=yes
[default] exten => _1NXXNXXXXXX,1,SetCallerID(2125551212|a) exten => _1NXXNXXXXXX,2,Dial,SIP/${EXTEN}@gafachi exten => _1NXXNXXXXXX,3,Hangup exten => _011.,1,SetCallerID(2125551212|a) exten => _011.,2,Dial,SIP/${EXTEN}@gafachi exten => _011.,3,Hangup
[gafachi-incoming] ; NOTE: this section is for Gafachi Origination (incoming) services. ; DID and/or Toll free origination numbers need to include the "1" prefix ; Replace the 12125551234 with your DID or Toll Free number, and repeat or ; change as needed. exten => 12125551234,1,Dial,Zap/g1 exten => 12125551234,2,Hangup
/etc/asterisk/sip.conf [general] port=5060 bindaddr=0.0.0.0 context=default tos=lowdelay disallow=all allow=ulaw
register=>a6409sAHZ7088wSG:j0MGA0MktWZEMpgU@sip.gafachi.com ; NOTE: The line below ([gafachi]) can not be changed, otherwise your Asterisk ;system will reject calls, with a "403 Forbidden", from the Gafachi Network. [gafachi] type=friend username=a6409sAHZ7088wSG secret=j0MGA0MktWZEMpgU host=sip.gafachi.com canreinvite=no fromuser=a6409sAHZ7088wSG dtmfmode=rfc2833 context=gafachi-incoming
Thanks,
Klaus L'Imbecile. -- GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen! Jetzt dabei sein: http://www.shortview.de/wasistshortview.php?mc=sv_ext_mf@gmx
_______________________________________________ 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
_______________________________________________ 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
participants (4)
-
Brian West
-
Klaus Teller
-
Matt Darnell
-
Michael Jerris