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?
On Tue, Jun 9, 2009 at 9:14 AM, freeswitch list <eman@chabotel.com> wrote:
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
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:
On Tue, Jun 9, 2009 at 9:14 AM, freeswitch list <eman@chabotel.com> wrote: 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 -- Meet us at ClueCon! http://www.cluecon.com
2009/6/9 freeswitch list <eman@chabotel.com>
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"/>
2) Is there anyway to have xml_curl send the password for directory entry requests.
dunno
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.
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.
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
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> wrote:
2) Is there anyway to have xml_curl send the password for directory entry requests.
try this: <!--<param name="gateway-credentials" value="muser:mypass"/>-->
_______________________________________________ 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
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 "/> </condition> </extension>
On Jun 10, 2009, at 1:26 AM, freeswitch list wrote:
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 ...
On Tue, Jun 9, 2009 at 12:48 PM, dujinfang <dujinfang@gmail.com> wrote:
2) Is there anyway to have xml_curl send the password for directory entry requests.
try this: <!--<param name="gateway-credentials" value="muser:mypass"/>-->
_______________________________________________ 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 (6)
-
Brian West
-
dujinfang
-
freeswitch list
-
Michael Collins
-
Rupa Schomaker
-
seven