try taking out the @voipbuster.com all you need is sofia/gateway/voipbuster/$1 On Tue, Jul 1, 2008 at 10:49 AM, Henk Oegema <pabx_freeswitch@telenet.be> wrote:
I have created a gateway to Voipbuster in conf/sip_profiles/external/voipbuster.xml:
<include> <gateway name="voipbuster"> <param name="username" value="henkoegema"/> <param name="realm" value="voipbuster.com"/> <param name="from-user" value="003216980xxx"/> <param name="password" value="xxxxxx"/> <param name="extension" value="1000"/> </gateway> </include>
I suppose this is correct since I can register with Voipbuster:
freeswitch@ubuntu> sofia status API CALL [sofia(status)] output: Name Type Data State =============================================== internal profile sip:mod_sofia@192.168.1.101:5060 RUNNING (0) external profile sip:mod_sofia@78.21.64.194:5080 RUNNING (0) voipbuster gateway sip:henkoegema@voipbuster.com<sip%3Ahenkoegema@voipbuster.com> REGED nat profile sip:mod_sofia@78.21.64.194:5070 RUNNING (0) default alias internal ALIASED 192.168.1.101 alias internal ALIASED outbound alias external ALIASED ================================================ 3 profiles 3 aliases
Then I added the following lines to conf/dialplan/default.xml
<!-- Dial though Voipbuster gateway --> <extension name="voipbuster"> <condition field="destination_number" expression="^(0031\d*})$"> <action application="bridge" data="sofia/gateway/voipbuster/$1@voipbuster.com"/> </condition> </extension>
Something is still not correct: Get always busy tone when I dial 003134464135x (?) No Route !!
2008-07-01 17:47:21 [INFO] switch_core_state_machine.c:114 switch_core_standard_on_routing() No Route, Aborting
What am I doing wrong ?
Thanks 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