Skip to main content
Participating Frequently
September 29, 2011
Question

legService is not ready or is blocked

  • September 29, 2011
  • 5 replies
  • 1613 views

2011-09-29      13:15:48        31789   (s)2641173      this.phoneID1007        -

2011-09-29      13:15:48        31789   (s)2641173      Requesting service :telephony   -

2011-09-29      13:15:53        31789   (s)2641173      error: Cannot make new call leg, request dropped as legService is not ready or is blocked.      -

What to do with that?

This topic has been closed for replies.

5 replies

Participating Frequently
September 29, 2011

i'm changing files without understnding

why i can not use localhost if is same sevrer?

September 30, 2011

Your problem is not due to localhost, I suspect its some restart issue. You can try restarting FMS and once it is done restart FMG and then try making a call. And do try to delete all logs from both FMS and FMG before you restart them and if your problem is not solved paste logs from both FMS and FMG so that we can have more information about your problem. Mainly what I am looking for is FMG logs({FMG-install-dir}\log\core.00.log)

Participating Frequently
September 30, 2011

I guess I broke it. I will try to make clean install.

Guy please tell me , is my idea possible - maybe I'm just wasting time?

I have a popular page, we recharge cell phones online. As addition I was thinking to implement calls

Client makes payment, I handle transaction and assign. This credit on his account - that I have with mysql and php.

Than he can open a special web page with customized flash phone and dial number.

Questions : can I handle maximum length of specific call depending on credit ? Is it possible with API to stop call on server side?

Can I initiate callback? For example client enters his phone and phone where he wants to call. First I make call to number B than to him and connect them. In this case I want to handle duration of call too

I want to use one provider (sipnet) is there any problems about that?

I'd be happy to know what do u think about it. Maybe I need another software ?

Sent from my iPhone

Participating Frequently
September 29, 2011

error: Cannot make new call leg, request dropped as legService is not ready or is blocked. still.

Participating Frequently
September 29, 2011

    <Profile>

                        <profileID> sipPhone </profileID>

                        <userName>mylogininsipnet</userName>

                        <password>mypasswd</password>

                        <displayName> ai </displayName>

                       <remoteSipHost> sipnet.ru:5060 </remoteSipHost>

                        <context> sipPhone </context>

                        <supportedCodecs>

                                <codecID> G711u </codecID>

                        </supportedCodecs>

                </Profile>

also this:    <DefaultContext> sipPhone </DefaultContext>

workflow -

<Context name="sipPhone">

        <Condition variable="destNum" value="^8888$">

                <AppNode sequence="1" app="playfile" args="moh.raw"/>

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

        </Condition>

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

                <AppNode sequence="1" app="bridge" args="rtmp|${destNum}@profile_default"/>

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

        </Condition>

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

                <AppNode sequence="1" app="bridge" args="sip|${destNum}@sipGateway"/>

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

        </Condition>

</Context>

it must work?

September 29, 2011

Check FMG\log\core00.log file. In this FMG should show connection success to FMS registry core.

SIP.xml settings might be ok or may be not. However, in your case FMS <-> FMG communication has not established. Once you move pass legService error message; issues related to SIP would  appwelcome you :-)

Participating Frequently
September 29, 2011

Nop, i have everything on one machine. my goal is to make a call to my landline phone from flash. i have account in sipnet.ru

i guess my problem is configuration of Sip.xml and workflow.xml of FMG

September 29, 2011

For FMS 4.0 onwards, You would need to enable registry core in FMS server.xml. The xml tag to be added in not present in server.xml and has to be introduced. For more information on how to enable registry core; you might want to refer to { FMG-install-folder}}\docs\QuickStartGuide.pdf

Participating Frequently
September 29, 2011

Thank you, i already have it

<Server>

                  <NetworkingIPv6 enable="false" />

 

                <CrossDomainPath></CrossDomainPath>

        <Registry enabled="true" />

...

The thing is that i configured SIP as was wroten in docs, but doesnt metter what i'm trying to dial in flash - nothing happenes

September 29, 2011

In case you have FMG & FMS on separate machines; in {FMG}\conf\rtmp.xml; One also need to replace localhost by {FMS-machine-IP/hostname}

FMG & FMS would require a restart after confiuration change in respective server.

-Pankaj