View previous topic :: View next topic |
Author |
Message |
eman at chabotel.com Guest
|
Posted: Tue Jun 09, 2009 11:21 am Post subject: [Freeswitch-users] Few questions |
|
|
1) How do you setup a gateway where the provider doesn't require a user name and password? For freeswitch gateways username and password are mandatory.
2) Is there anyway to have xml_curl send the password for directory entry requests.
3) What is the best way to monitor for failed sip register attempts?
4) Is there a way to increase the volume of voicemail message sent by email? They are fine in freeswitch but when sent by email as mp3 (mod_shout) they are really low.
5) Is there any future plans to make the voicemail module more customizable? |
|
Back to top |
|
|
msc at freeswitch.org Guest
|
Posted: Tue Jun 09, 2009 11:38 am Post subject: [Freeswitch-users] Few questions |
|
|
On Tue, Jun 9, 2009 at 9:14 AM, freeswitch list <eman@chabotel.com (eman@chabotel.com)> wrote:
Quote: | 1) How do you setup a gateway where the provider doesn't require a user name and password? For freeswitch gateways username and password are mandatory.
|
Find this line in example.xml:
<!--<param name="register" value="false"/>-->
Uncomment that line in your gateway and it won't attempt to register. Put a bogus username and password in those fields to keep FS from complaining and you're all set.
-MC |
|
Back to top |
|
|
rupa at rupa.com Guest
|
Posted: Tue Jun 09, 2009 11:44 am Post subject: [Freeswitch-users] Few questions |
|
|
2009/6/9 freeswitch list <eman@chabotel.com (eman@chabotel.com)>
Quote: | 1) How do you setup a gateway where the provider doesn't require a user name and password? For freeswitch gateways username and password are mandatory.
| Use the param: <param name="register" value="false"/>
Quote: |
2) Is there anyway to have xml_curl send the password for directory entry requests.
| dunno
Quote: |
3) What is the best way to monitor for failed sip register attempts?
| You should get an event over event sockets on registration failure. You can also watch the log file for registration failure. Finally, "sofia status" will give you the current status of all gateways. You should also enable ping if you want to fail faster after the gateway becomes unreachable.
Quote: |
4) Is there a way to increase the volume of voicemail message sent by email? They are fine in freeswitch but when sent by email as mp3 (mod_shout) they are really low.
| Look in shout.conf.xml -- there is a volume and outscale parameter. I haven't looked at the source to see exactly what they are for, but that should get you started.
Quote: |
5) Is there any future plans to make the voicemail module more customizable?
| If you can code -- patches welcome. Otherwise, you can file a request on jira with what you want. Add a bounty to encourage it to get done sooner rather than later.
--
-Rupa |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Tue Jun 09, 2009 11:49 am Post subject: [Freeswitch-users] Few questions |
|
|
But the bigger issue is if the far end doesn't require register and won't 401/407 you and does auth via IP you don't need a gateway.
/b
On Jun 9, 2009, at 11:36 AM, Michael Collins wrote:
Quote: |
On Tue, Jun 9, 2009 at 9:14 AM, freeswitch list <eman@chabotel.com (eman@chabotel.com)> wrote:
Quote: | 1) How do you setup a gateway where the provider doesn't require a user name and password? For freeswitch gateways username and password are mandatory.
|
Find this line in example.xml:
<!--<param name="register" value="false"/>-->
Uncomment that line in your gateway and it won't attempt to register. Put a bogus username and password in those fields to keep FS from complaining and you're all set.
-MC |
Brian West
brian@freeswitch.org (brian@freeswitch.org)
-- Meet us at ClueCon! http://www.cluecon.com |
|
Back to top |
|
|
dujinfang at gmail.com Guest
|
Posted: Tue Jun 09, 2009 11:50 am Post subject: [Freeswitch-users] Few questions |
|
|
Quote: | 2) Is there anyway to have xml_curl send the password for directory entry requests.
| try this:
<!--<param name="gateway-credentials" value="muser:mypass"/>--> |
|
Back to top |
|
|
eman at chabotel.com Guest
|
Posted: Tue Jun 09, 2009 12:36 pm Post subject: [Freeswitch-users] Few questions |
|
|
Awesome. Thank you so much guys.
One last question. How would I forward a call in my dialplan to my cell phone?
I tried
<action application="set" data="effective_caller_id_number=${caller_id_number}"/>
<action application="set" data="effective_caller_id_name=${caller_id_name}"/>
<action application="bridge" data="sofia/gateway/my_gateway/cellnumber"/>
but the caller id changes to the gateway callerid.
On Tue, Jun 9, 2009 at 12:48 PM, dujinfang <dujinfang@gmail.com (dujinfang@gmail.com)> wrote:
|
|
Back to top |
|
|
eman at chabotel.com Guest
|
Posted: Tue Jun 09, 2009 1:17 pm Post subject: [Freeswitch-users] Few questions |
|
|
I couldn't get the gateway to work with register=false. I took the hint from Brian and scraped the gateway idea and put this in my dialplan.
<extension name="gateway">
<condition field="destination_number" expression="^(\d{10})$">
<action application="set" data="effective_caller_id_number=${outbound_caller_id_number}"/>
<action application="set" data="effective_caller_id_name=${outbound_caller_id_name}"/>
<action application="bridge" data="sofia/external/$1@gateway_url.com (1@gateway_url.com)"/>
</condition>
</extension> |
|
Back to top |
|
|
dujinfang at gmail.com Guest
|
Posted: Tue Jun 09, 2009 8:10 pm Post subject: [Freeswitch-users] Few questions |
|
|
On Jun 10, 2009, at 1:26 AM, freeswitch list wrote: Quote: | Awesome. Thank you so much guys.
One last question. How would I forward a call in my dialplan to my cell phone?
I tried
<action application="set" data="effective_caller_id_number=${caller_id_number}"/>
<action application="set" data="effective_caller_id_name=${caller_id_name}"/>
<action application="bridge" data="sofia/gateway/my_gateway/cellnumber"/>
but the caller id changes to the gateway callerid.
|
depend on your gateway provider, remember FreeSWITCH is a B2BUA. If your provider doesn't allow custom caller id, there's no way to ...
|
|
Back to top |
|
|
|