Skip to main content
Participating Frequently
Dec 17, 2010 8:59 AM UTC
Question

Using SIP Service Provider in FMG

Hi all,

          How to use SIP Service Provider (like IP Comms) in FMG.

          Please give me a suitable Example.

Thanks and Regards

Ankush.

This topic is closed to new replies. Start a new post to keep the conversation going.

3 replies

Dec 22, 2010 9:07 AM UTC

Hi Ankush,

I made it work a month ago, I hope that I can tell you exactly what to do.

In the sip.xml config file  add the profile for the sip server.

<Profile>

<profileID> sipGateway </profileID>

<userName>myUserName</userName>

<password>myPassword</password>

<displayName> 101 </displayName>

<!-- this is the Ip address of remote server where FMG registers -->

<remoteSipHost> 64.154.41.150:5060 </remoteSipHost>

<!-- Indicates FMG registers at remote server -->

<doRegister> 1 </doRegister>

<context> sipGatewayContext </context>

</Profile>

In the workflow.xml add a rule to forward all the calls

<Context name="sipGatewayContext">

...

<Condition variable="destNum" value="^.*$">

<AppNode sequence="1" app="bridge" args="rtmp|1000@profile_default"/>

<AppNode sequence="2" app="hangup" args="null"/>

</Condition>

Now start the server and the phone application swf (the first time it registered it self with id 1000)

The server registered itself in IPComm.

When you make a call to the number you got from IPcomm , their server forward the call to the FMG.

The FMG look in the workflow and sees that it should be forward to the rtmp|1000n which is your swf phone.

I might add some codes in the FMS application but I think it's not relevant.

Hope it will help you.

Shlomo.

Translate
Participating Frequently
Dec 29, 2010 4:36 AM UTC

Thanks alot Shlomo, can u please tell me wat will come in place of myUserName and myPassword ?

Regards

Ankush

Correction

Translate
Dec 29, 2010 8:51 AM UTC

Ankush,

When you registred for the IPComms free DID service you should have got the SIP user and the SIP password.

If you didn't apply to the free DID , please do so soon.  https://www.myipcomms.net/IP/greybox/pages/gb_freeDIDcustomerregister.aspx?acc=false

Shlomo.

Translate