Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
Locked
0

Error- Cannot create call Leg

Guest
Jun 27, 2013 Jun 27, 2013

Hi,

Recently I started facing this issue with the latest AMG5.0.1. Error creating call leg. After debugging into the issue found that AMG is reaching limit for maximum number of transactions.

I never faced this issue with FMG 2.0. Attached is AMG's core log. By default the number of tranasaction allowed are 60.

Call flow:- AMS 5.0 <-> AMG 5.0 <-> Asterisk 1.8 <-> ServiceProvider

Once the transaction limit is reached AMG starts throwing error "cannot create call leg". The only workaround to this problem for now is I am restarting AMG Services.

Thanks

Core.00.log :- http://pastebin.com/download.php?i=UckDKZCZ

AMG RTMP.xml configuration.

----

<Rtmp>

        <Registrations>

        <LegService>

                         <Server host = "10.xxx.xxx.xxx"> telephone </Server>

        </LegService>

        <ControlService>

        </ControlService>

    </Registrations>

     <AuxConnectionPool enabled = "false">

                <LoadPerConnection>5</LoadPerConnection>

                <MinFreeSlots>10 </MinFreeSlots>

                <MaxFreeSlots> 100 </MaxFreeSlots>

        </AuxConnectionPool>

    <CallLegs>

                <Audio>

                        <SilenceLevel> 0 </SilenceLevel>

                        <SilenceTimeout>500</SilenceTimeout>

                        <RtmpBuffer>

                <MonitoringInterval>10</MonitoringInterval>

                                <ActivityThreshold>5</ActivityThreshold>

                                <frameResampleFactor>90</frameResampleFactor>

                <DelayedFrameThreshold>990</DelayedFrameThreshold>

                        </RtmpBuffer>

                </Audio>

    </CallLegs>

   <Profiles>

                <EnableAutoProfile> false </EnableAutoProfile>

                <DefaultContext>rtmp</DefaultContext>

                <DefaultPassCode>passcode_default</DefaultPassCode>

                <EnableAutoConnect> false </EnableAutoConnect>

        <Profile>

                        <ProfileID> profile_default </ProfileID>

                        <Server> 10.xxx.xx.xx </Server>

                        <Application> telephone </Application>

                        <Instance> _definst_ </Instance>

                        <PassCode>passcode_default</PassCode>

                        <Context> rtmp </Context>

         </Profile>

   </Profiles>

</Rtmp>

TOPICS
Media gateway
1.6K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 02, 2014 Apr 02, 2014
LATEST

Hi, I am facing same issue but I think it's because of RTMP profile which is not registered on the AMS. RTMP Profile AutoConnect is disabled in rtmp.xml and this is what I see in the logs.

2014-04-02::17:33:44.018        DEBUG   1073742997 CALLLEG      30201   [LEG ID:5] - Execute bridge(rtmp|${destNum}@ams_aws)

2014-04-02::17:33:44.019        DEBUG   1073742997 CALLLEG      30201   [LEG ID:5] - Expanded String bridge(rtmp|9999@ams_aws) (ID:1)

2014-04-02::17:33:44.019        DEBUG   1073742997 SIPLEG       30201   [LEG ID:5] - Call in progress

2014-04-02::17:33:44.019        INFO    1073742997 CALLLEG      30201   [LEG ID:5] - Ringing

2014-04-02::17:33:44.019        DEBUG   1073742997 CALLLEG      30201   [LEG ID:6] - Allocated new Call Leg(rtmp)

2014-04-02::17:33:44.019        ERROR   1073742997 RTMPLEG      30201   [LEG ID:6] - Destination rtmp profile/URL (rtmp://ams.teletaaleem.com/t2/39/3015/1) not connected

2014-04-02::17:33:44.019        ERROR   1073742997 CALLLEG      30201   [LEG ID:6] - cannot create call Leg

2014-04-02::17:33:44.019        DEBUG   1073742997 CALLLEG      30201   [LEG ID:6] - Cleaning up Leg [ALLOC]

2014-04-02::17:33:44.019        ERROR   1073742997 CALLLEG      30201   [LEG ID:5] - Error Creating Call Leg for destination rtmp|9999@ams_aws

2014-04-02::17:33:44.019        DEBUG   1073742997 CALLLEG      30201   [LEG ID:5] - App  bridge(rtmp|9999@ams_aws) Returns 4 (next ID:1)

2014-04-02::17:33:44.019        DEBUG   1073742997 CALLLEG      30201   [LEG ID:5] - Execute hangup(null)

2014-04-02::17:33:44.019        DEBUG   1073742997 CALLLEG      30201   [LEG ID:5] - Hangup Call (cause 200), from FMSMGBasicAppNodes.cpp:235

2014-04-02::17:33:44.019        INFO    1073742997 CALLLEG      30201   [LEG ID:5] - Hangup [EXEC] [Not_found]

2014-04-02::17:33:44.019        DEBUG   1073742997 CALLLEG      30201   [LEG ID:5] - App  hangup(null) Returns 0 (next ID:2)

2014-04-02::17:33:44.019        DEBUG   1073742997 CALLLEG      30201   [LEG ID:5] - Going For State 7

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines