Skip to main content
Participating Frequently
December 17, 2010
Question

Using SIP Service Provider in FMG

  • December 17, 2010
  • 1 reply
  • 992 views

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 has been closed for replies.

1 reply

December 22, 2010

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.

Participating Frequently
December 29, 2010

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

Regards

Ankush

Correction

December 29, 2010

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.