Skip to main content
Participating Frequently
Sep 29, 2011 5:26 PM UTC
Question

legService is not ready or is blocked

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 is closed to new replies. Start a new post to keep the conversation going.

10 replies

Participating Frequently
Sep 29, 2011 6:32 PM UTC

i'm changing files without understnding

why i can not use localhost if is same sevrer?

Translate
Sep 30, 2011 5:05 AM UTC

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)

Translate
Participating Frequently
Sep 30, 2011 5:51 AM UTC

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

Translate
Participating Frequently
Sep 29, 2011 6:24 PM UTC

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

Translate
Participating Frequently
Sep 29, 2011 6:22 PM UTC

    <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?

Translate
Sep 29, 2011 6:27 PM UTC

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 :-)

Translate
Participating Frequently
Sep 29, 2011 6:09 PM UTC

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

Translate
Sep 29, 2011 5:35 PM UTC

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

Translate
Participating Frequently
Sep 29, 2011 5:55 PM UTC

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

Translate
Sep 29, 2011 6:06 PM UTC

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

Translate