Page tree
Skip to end of metadata
Go to start of metadata

Gradwell.com

Last update: 17 November 2010

Note - this may not be the best or the right configuration - I offer it purely on a it-works-for-me basis! Feel free to improve!

The important thing with Gradwell is that they don't do SIP registration. Incoming calls are directed to an IP address and port that you set up with them. Outgoing calls are authenticated using a combination of IP address and caller ID number. Usernames and passwords are not needed but the Username is used as the default outgoing CID (See Question at end), and you don't need to have a gateway setup - you can just bridge outgoing calls to Gradwell and receive calls on the phone numbers you've set with them.

I do use a gateway, though, because I have several others and like to keep them together and treat them the same way. In the following, [my gradwell phone number] is, for example, 01122334455:

Inbound routing in dialplan/public/10_gradwell.xml is then:

For outgoing calls, I use something like the following:

Q:I'd like to set the effective caller id as part of the gateway declaration, but I don't think I can do that?

A: Gradwell OpenSIPS server take the number ahead of the @ sign in the SIP FROM: entry of the outgoing packets as the Outgoing CID and it cannot be overwritten by any setting within default FreeSWITCH configuration. This value is taken from the USERNAME field of the gateway configuration and if this is not a valid number then they take the first DID number listed under your account and present that.

This behavior can be changed by setting the caller-id-in-from element within the gateway xml file to true; With this set, FreeSWITCH will alter the FROM: entry by honoring the EFFECTIVE_CALLER_ID_NUMBER setting as long as it is within the range of numbers that Gradwell recognise as valid DID.

My working gradwell.xml gateway file is: