[Freeswitch-users] Issue adding a SIP Gateway
Ryan Watkins
Ryan at ocens.com
Mon Dec 19 23:38:13 MSK 2011
Here's the log file... thanks again Alex and all
From: Alex Crow [mailto:acrow at integrafin.co.uk]
Sent: Monday, December 19, 2011 11:22 AM
To: FreeSWITCH Users Help
Cc: Ryan Watkins
Subject: Re: [Freeswitch-users] Issue adding a SIP Gateway
OK,
As long as those "funny quotes" in your last post aren't present in your XML file I can't see what is the problem. I had an issue copying dialplans from the web with these, had to go through and change them all by hand.
If you shut down freeswitch, clear your logfile, and start it again, can you post the contents of /opt/freeswitch/log/freeswitch.log to the list (or to pastebin etc and link here).
There must be something in the logs.
BTW you should not need to change things in /usr/src/*, once you've installed that doesn't make any difference.
Cheers
Alex
On 19/12/11 18:36, Ryan Watkins wrote:
Thanks for the reply Alex,
I followed the example in the FreeSWITCH 1.0.6 book for iptel, which is as follows:
<include>
<gateway name="iptel">
<param name="username" value="username"/> (yes, I supplied my iptel username in this line)
<param name="password" value="password"/> (again, I supplied my iptel password on this line)
<param name="realm" value="iptel.org"/>
<!--iptel.org requires a 'proxy' parameter -->
<param name="proxy" value="sip.iptel.org"/>
</gateway>
</include>
I've checked the file permissions and changed them so that all users have rwx for the iptel.org.xml file; as well as every folder up to /external for both /usr/src/freeswitch and the /opt/freeswitch paths
I've also changed the iptel.org.xml files in those paths to the example that you linked from the wiki
However, I'm still getting the same result.... Any other suggestions?
Thanks again!
From: Alex Crow [mailto:acrow at integrafin.co.uk]
Sent: Sunday, December 18, 2011 2:09 AM
To: FreeSWITCH Users Help
Cc: Ryan Watkins
Subject: Re: [Freeswitch-users] Issue adding a SIP Gateway
On 16/12/11 01:05, Ryan Watkins wrote:
I did run the" sofia profile external restart reloadxml" command.... It didn't load the new gateway, so that's why I tried registering the gateway specifically.
Ryan,
Did you follow this example: http://wiki.freeswitch.org/wiki/Provider_Configuration:_iptel and replace the usename and password with your own?
Check that the permissions on the new XML file allow it to be read by the user freeswitch is running as.
Also double-check your closing tags on the file. This can cause your gateway to be skipped, hence the "invalid gateway" when you try to use it.
Cheers
Alex
--
This message is intended only for the addressee and may contain
confidential information. Unless you are that person, you may not
disclose its contents or use it in any way and are requested to delete
the message along with any attachments and notify us immediately.
"Transact" is operated by Integrated Financial Arrangements plc
Domain House, 5-7 Singer Street, London EC2A 4BQ
Tel: (020) 7608 4900 Fax: (020) 7608 5300
(Registered office: as above; Registered in England and Wales under number: 3727592)
Authorised and regulated by the Financial Services Authority (entered on the FSA Register; number: 190856)
--
This message has been scanned for viruses and
dangerous content by MailScanner<http://www.mailscanner.info/>, and is
believed to be clean.
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org<mailto:consulting at freeswitch.org>
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org<mailto:FreeSWITCH-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20111219/5f2e8e6d/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeswitch.log
Type: application/octet-stream
Size: 78725 bytes
Desc: freeswitch.log
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20111219/5f2e8e6d/attachment-0001.obj
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list