Has anyone got any suggestion how I can set up a gateway to receive incoming call on extension 1001 please. Any generic conf file will do. my username with my gateway is s=say " qwerty" and password "ytrewq"
I have used the intruction from the link below without success. Thanks. Otis wrote: > Hello > > Could anyone point out what I have missed please ? > At the moment I configured a gateway voipuser as described here > <http://www.onlinesolution.co.nz/viewtopic.php?p=119> : > Any suggestion as to what path I can take will be highly welcome > > Thanks > . > > > > > Sam Abekah-Mensah wrote: >> <div class="moz-text-flowed" style="font-family: -moz-fixed">Hi Michael >> >> Thanks >> >> I had set it to send incoming calls to extension 1001. This is in the >> file abeka.xml in /usr/local/freeswitch/conf/dialplan/public directory. >> The contents are : >> >> <extension name="inbound-*[email protected]]"> >> <condition field="destination_number" expression="08444846450"> >> <action application="transfer" data="1001 XML default"/> >> </condition> >> </extension> >> >> >> Is there >> anything wrong with this please ? >> >> Thanks >> >> >> >> Michal Bielicki wrote: >>> >>> Am 21.11.2009 um 23:15 schrieb Sam Abekah-Mensah: >>> >>>> >>>> I need help as I cannot receive calls through VOIPUSER. This is a >>>> learning setup Attached are my conf files. What is wrong with them >>>> ? When I dial from a landline I get a continuous beep. >>>> >>>> Attached are my gateway and the conf file to transfer. Sopfia >>>> Status is my screen message. I can see a FAIL and cannot make head >>>> or tail of all that message. Hopefully anyone using voipuser or in >>>> fact any of you clever folks can make sense of this. >>>> >>>> Thanks for your time. >>>> >>>> 2009-11-21 22:07:15.642652 [DEBUG] sofia_glue.c:2811 Activate Buggy >>>> RFC2833 Mode! >>>> 2009-11-21 22:07:15.642652 [DEBUG] sofia_glue.c:3071 Audio Codec >>>> Compare [PCMA:8:8000:0]/[PCMU:0:8000:20] >>>> 2009-11-21 22:07:15.650807 [DEBUG] sofia_glue.c:3071 Audio Codec >>>> Compare [PCMA:8:8000:0]/[PCMA:8:8000:20] >>>> 2009-11-21 22:07:15.672560 [DEBUG] sofia_glue.c:2029 Set Codec >>>> sofia/external/[email protected] PCMA/8000 20 ms 160 samples >>>> 2009-11-21 22:07:15.676936 [DEBUG] sofia_glue.c:3031 Set 2833 dtmf >>>> payload to 101 >>>> 2009-11-21 22:07:15.676936 [DEBUG] sofia.c:3455 >>>> (sofia/external/[email protected]) State Change CS_NEW -> CS_INIT >>>> 2009-11-21 22:07:15.676936 [DEBUG] switch_core_session.c:932 Send >>>> signal sofia/external/[email protected] [BREAK] >>>> 2009-11-21 22:07:15.676936 [DEBUG] switch_core_state_machine.c:398 >>>> (sofia/external/[email protected]) Running State Change CS_INIT >>>> 2009-11-21 22:07:15.676936 [DEBUG] switch_core_state_machine.c:481 >>>> (sofia/external/[email protected]) State INIT >>>> 2009-11-21 22:07:15.676936 [DEBUG] mod_sofia.c:83 >>>> sofia/external/[email protected] SOFIA INIT >>>> 2009-11-21 22:07:15.676936 [DEBUG] mod_sofia.c:111 >>>> (sofia/external/[email protected]) State Change CS_INIT -> >>>> CS_ROUTING >>>> 2009-11-21 22:07:15.676936 [DEBUG] switch_core_session.c:932 Send >>>> signal sofia/external/[email protected] [BREAK] >>>> 2009-11-21 22:07:15.676936 [DEBUG] switch_core_state_machine.c:481 >>>> (sofia/external/[email protected]) State INIT going to sleep >>>> 2009-11-21 22:07:15.676936 [DEBUG] switch_core_state_machine.c:398 >>>> (sofia/external/[email protected]) Running State Change CS_ROUTING >>>> 2009-11-21 22:07:15.676936 [DEBUG] switch_core_state_machine.c:484 >>>> (sofia/external/[email protected]) State ROUTING >>>> 2009-11-21 22:07:15.676936 [DEBUG] mod_sofia.c:130 >>>> sofia/external/[email protected] SOFIA ROUTING >>>> 2009-11-21 22:07:15.676936 [DEBUG] switch_core_state_machine.c:78 >>>> sofia/external/[email protected] Standard ROUTING >>>> 2009-11-21 22:07:15.696693 [INFO] mod_dialplan_xml.c:315 Processing >>>> anonymous->abeka in context public >>>> Dialplan: sofia/external/[email protected] parsing >>>> [public->unloop] continue=false >>>> Dialplan: sofia/external/[email protected] Regex (PASS) [unloop] >>>> ${unroll_loops}(true) =~ /^true$/ break=on-false >>>> Dialplan: sofia/external/[email protected] Regex (FAIL) [unloop] >>>> ${sip_looped_call}() =~ /^true$/ break=on-false >>>> Dialplan: sofia/external/[email protected] parsing >>>> [public->outside_call] continue=true >>>> Dialplan: sofia/external/[email protected] Absolute Condition >>>> [outside_call] >>>> Dialplan: sofia/external/[email protected] Action >>>> set(outside_call=true) >>>> Dialplan: sofia/external/[email protected] parsing >>>> [public->call_debug] continue=true >>>> Dialplan: sofia/external/[email protected] Regex (FAIL) >>>> [call_debug] ${call_debug}(false) =~ /^true$/ break=never >>>> Dialplan: sofia/external/[email protected] parsing >>>> [public->public_extensions] continue=false >>>> Dialplan: sofia/external/[email protected] Regex (FAIL) >>>> [public_extensions] destination_number(abeka) =~ /^(10[01][0-9])$/ >>>> break=on-false >>>> Dialplan: sofia/external/[email protected] parsing >>>> [public->public_did] continue=false >>>> Dialplan: sofia/external/[email protected] Regex (FAIL) >>>> [public_did] destination_number(abeka) =~ /^(5551212)$/ break=on-false >>>> Dialplan: sofia/external/[email protected] parsing >>>> [public->[email protected]] continue=false >>>> Dialplan: sofia/external/[email protected] Regex (FAIL) >>>> [[email protected]] destination_number(abeka) =~ /08715042951/ >>>> break=on-false >>>> Dialplan: sofia/external/[email protected] parsing >>>> [public->[email protected]]] continue=false >>>> Dialplan: sofia/external/[email protected] Regex (FAIL) >>>> [[email protected]]] destination_number(abeka) =~ >>>> /[08444846450]/ break=on-false >>>> 2009-11-21 22:07:15.704513 [DEBUG] switch_core_state_machine.c:114 >>>> (sofia/external/[email protected]) State Change CS_ROUTING -> >>>> CS_EXECUTE >>>> 2009-11-21 22:07:15.704513 [DEBUG] switch_core_session.c:932 Send >>>> signal sofia/external/[email protected] [BREAK] >>>> 2009-11-21 22:07:15.704513 [DEBUG] switch_core_state_machine.c:484 >>>> (sofia/external/[email protected]) State ROUTING going to sleep >>>> 2009-11-21 22:07:15.704513 [DEBUG] switch_core_state_machine.c:398 >>>> (sofia/external/[email protected]) Running State Change CS_EXECUTE >>>> 2009-11-21 22:07:15.704513 [DEBUG] switch_core_state_machine.c:491 >>>> (sofia/external/[email protected]) State EXECUTE >>>> 2009-11-21 22:07:15.706658 [DEBUG] mod_sofia.c:173 >>>> sofia/external/[email protected] SOFIA EXECUTE >>>> 2009-11-21 22:07:15.706658 [DEBUG] switch_core_state_machine.c:151 >>>> sofia/external/[email protected] Standard EXECUTE >>>> EXECUTE sofia/external/[email protected] set(outside_call=true) >>>> 2009-11-21 22:07:15.728613 [DEBUG] mod_dptools.c:748 >>>> sofia/external/[email protected] SET [outside_call]=[true] >>>> 2009-11-21 22:07:15.728613 [NOTICE] switch_core_state_machine.c:179 >>>> Hangup sofia/external/[email protected] [CS_EXECUTE] >>>> [NORMAL_CLEARING] >>>> 2009-11-21 22:07:15.728613 [DEBUG] switch_channel.c:1683 Send >>>> signal sofia/external/[email protected] [KILL] >>>> 2009-11-21 22:07:15.728613 [DEBUG] switch_core_session.c:932 Send >>>> signal sofia/external/[email protected] [BREAK] >>>> 2009-11-21 22:07:15.728613 [DEBUG] switch_core_state_machine.c:491 >>>> (sofia/external/[email protected]) State EXECUTE going to sleep >>>> 2009-11-21 22:07:15.728613 [DEBUG] switch_core_state_machine.c:398 >>>> (sofia/external/[email protected]) Running State Change CS_HANGUP >>>> 2009-11-21 22:07:15.735830 [DEBUG] switch_core_state_machine.c:434 >>>> (sofia/external/[email protected]) State HANGUP >>>> 2009-11-21 22:07:15.735830 [DEBUG] mod_sofia.c:338 Channel >>>> sofia/external/[email protected] hanging up, cause: NORMAL_CLEARING >>>> 2009-11-21 22:07:15.737680 [DEBUG] mod_sofia.c:417 Responding to >>>> INVITE with: 480 >>>> 2009-11-21 22:07:15.741149 [DEBUG] switch_core_state_machine.c:46 >>>> sofia/external/[email protected] Standard HANGUP, cause: >>>> NORMAL_CLEARING >>>> 2009-11-21 22:07:15.741149 [DEBUG] switch_core_state_machine.c:434 >>>> (sofia/external/[email protected]) State HANGUP going to sleep >>>> 2009-11-21 22:07:15.742930 [DEBUG] switch_core_state_machine.c:476 >>>> (sofia/external/[email protected]) State Change CS_HANGUP -> >>>> CS_REPORTING >>>> 2009-11-21 22:07:15.742930 [DEBUG] switch_core_session.c:932 Send >>>> signal sofia/external/[email protected] [BREAK] >>>> 2009-11-21 22:07:15.744587 [DEBUG] switch_core_state_machine.c:398 >>>> (sofia/external/[email protected]) Running State Change >>>> CS_REPORTING >>>> 2009-11-21 22:07:15.744587 [DEBUG] switch_core_state_machine.c:612 >>>> (sofia/external/[email protected]) State REPORTING >>>> 2009-11-21 22:07:15.800497 [DEBUG] switch_core_state_machine.c:53 >>>> sofia/external/[email protected] Standard REPORTING, cause: >>>> NORMAL_CLEARING >>>> 2009-11-21 22:07:15.800497 [DEBUG] switch_core_state_machine.c:612 >>>> (sofia/external/[email protected]) State REPORTING going to sleep >>>> 2009-11-21 22:07:15.800497 [DEBUG] switch_core_state_machine.c:411 >>>> (sofia/external/[email protected]) State Change CS_REPORTING -> >>>> CS_DESTROY >>>> 2009-11-21 22:07:15.800497 [DEBUG] switch_core_session.c:1068 >>>> Session 2 (sofia/external/[email protected]) Locked, Waiting on >>>> external entities >>>> 2009-11-21 22:07:15.800497 [NOTICE] switch_core_session.c:1086 >>>> Session 2 (sofia/external/[email protected]) Ended >>>> 2009-11-21 22:07:15.800497 [NOTICE] switch_core_session.c:1088 >>>> Close Channel sofia/external/[email protected] [CS_DESTROY] >>>> 2009-11-21 22:07:15.802636 [DEBUG] switch_core_state_machine.c:564 >>>> (sofia/external/[email protected]) State DESTROY >>>> 2009-11-21 22:07:15.802636 [DEBUG] mod_sofia.c:255 >>>> sofia/external/[email protected] SOFIA DESTROY >>>> 2009-11-21 22:07:15.802636 [DEBUG] switch_core_state_machine.c:60 >>>> sofia/external/[email protected] Standard DESTROY >>>> 2009-11-21 22:07:15.802636 [DEBUG] switch_core_state_machine.c:564 >>>> (sofia/external/[email protected]) State DESTROY going to sleep >>>> >>>> >>>> <include> >>>> <gateway name="voipuser"> >>>> <param name="username" value="username"/> >>>> <param name="password" value="xxxxxxu"/> >>>> <param name="realm" value="sip.voipoipuser.org >>>> <http://sip.voipoipuser.org>"/> >>>> <param name="proxy" value="sip.voipuser.org >>>> <http://sip.voipuser.org>"/> >>>> <param name="register" value="true"/> >>>> </gateway> >>>> </include> >>>> <include> >>>> <gateway name="voipuser_org"> >>>> <param name="proxy" value="sip.voipuser.org >>>> <http://sip.voipuser.org>"/> >>>> <param name="from-domain" value="sip.voipuser.org >>>> <http://sip.voipuser.org>"/> >>>> <param name="username" value="voipuser name"/> >>>> <param name="password" value="xxxxxx"/> >>>> </gateway> >>>> </include> >>>> : >>> >>> >>> you seem to have not specified an extension where the call should go to >>> my voipuser.org <http://voipuser.org> setup looks like: >>> >>> >>> <gateway name="voipuser"> >>> <param name="proxy" value="sip.voipuser.org >>> <http://sip.voipuser.org>"/> >>> <param name="register-proxy" value="sip.voipuser.org >>> <http://sip.voipuser.org>"/> >>> <param name="username" value="abc"/> >>> <param name="password" value="cde"/> >>> <param name="expire-seconds" value="600"/> >>> <param name="register" value="true"/> >>> <param name="retry_seconds" value="30"/> >>> <param name="extension" value="office"/> >>> <param name="context" value="public"/> >>> <param name="from-domain" value="voipuser.org >>> <http://voipuser.org>"/> >>> </gateway> >>> >>> I am also surprised that your setup works with a from-domain of >>> sip.voipuser.org <http://sip.voipuser.org> >>> >>>> _______________________________________________ >>>> FreeSWITCH-users mailing list >>>> [email protected] >>>> <mailto:[email protected]> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> >>>> http://www.freeswitch.org >>> >>> *Michal Bielicki* >>> HaloKwadrat | ul. Polna 46/14, 00-644 Warszawa >>> t. +48228753290 | f. +48228753291 [email protected] >>> <mailto:[email protected]?subject=> | w. >>> www.halokwadrat.pl <http://www.halokwadrat.pl/> >>> >>> >>> >>> *Knowledge & Low Prices. Guaranteed!* >>> >> >> >> >> </div> > > _______________________________________________ FreeSWITCH-users mailing list [email protected] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
