ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    No Outbound calls even TRUNK is registered

    IT Discussion
    elastix asterisk voip pbx sip
    4
    50
    15.3k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      Jimmy_K
      last edited by scottalanmiller

      Can anyone assist me?

      I have an account which could make outbound call on X-Lite, however, when I registered on PBX server. It doesn't work even I have created the Outbound call.

      Here is what I have seen:

      == Using SIP RTP CoS mark 5 
      -- Called SIP/PQT/254202020 
      [2016-07-01 18:06:35] WARNING[18785][C-00000008]: chan_sip.c:23220 handle_response_invite: Received response: "Forbidden" from '<sip:abcdefg@pqbtrunk.com>;tag=as0d753417' 
      == Everyone is busy/congested at this time (1:0/0/1) 
      -- Executing [s@macro-dialout-trunk:23] NoOp("SIP/132-00000000", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 21") in new stack 
      -- Executing [s@macro-dialout-trunk:24] GotoIf("SIP/132-00000000", "0?continue,1:s-CHANUNAVAIL,1") in new stack 
      -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1) 
      -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("SIP/132-00000000", "RC=21") in new stack 
      -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("SIP/132-00000000", "21,1") in new stack 
      -- Goto (macro-dialout-trunk,21,1) 
      -- Executing [21@macro-dialout-trunk:1] Goto("SIP/132-00000000", "continue,1") in new stack 
      -- Goto (macro-dialout-trunk,continue,1) 
      -- Executing [continue@macro-dialout-trunk:1] NoOp("SIP/132-00000000", "TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 21 - failing through to other trunks") in new stack 
      -- Executing [continue@macro-dialout-trunk:2] Set("SIP/132-00000000", "CALLERID(number)=132") in new stack 
      -- Executing [9000254202020@from-internal:8] Macro("SIP/132-00000000", "outisbusy,") in new stack 
      -- Executing [s@macro-outisbusy:1] Progress("SIP/132-00000000", "") in new stack 
      -- Executing [s@macro-outisbusy:2] GotoIf("SIP/132-00000000", "0?emergency,1") in new stack 
      -- Executing [s@macro-outisbusy:3] GotoIf("SIP/132-00000000", "0?intracompany,1") in new stack
      -- Executing [s@macro-outisbusy:4] Playback("SIP/132-00000000", "all-circuits-busy-now&pls-try-call-later, noanswer") in new stack 
      -- <SIP/132-00000000> Playing 'all-circuits-busy-now.gsm' (language 'en') 
      -- <SIP/132-00000000> Playing 'pls-try-call-later.gsm' (language 'en') 
      -- Executing [s@macro-outisbusy:5] Congestion("SIP/132-00000000", "20") in new stack 
      [2016-07-01 18:06:39] WARNING[19416][C-00000008]: channel.c:4861 ast_prod: Prodding channel 'SIP/132-00000000' failed 
      == Spawn extension (macro-outisbusy, s, 5) exited non-zero on 'SIP/132-00000000' in macro 'outisbusy'
      
      • The TRUNK has the unique port as 5065
      1 Reply Last reply Reply Quote 1
      • scottalanmillerS
        scottalanmiller
        last edited by

        So other extensions are able to call out, only the one X-Lite softphone is having an issue?

        J 1 Reply Last reply Reply Quote 0
        • scottalanmillerS
          scottalanmiller
          last edited by

          What PBX is this? Elastix? FreePBX?

          J 1 Reply Last reply Reply Quote 0
          • J
            Jimmy_K @scottalanmiller
            last edited by

            @scottalanmiller . This is Free PBX & I have version of it below:
            Asterisk 11.21.2 built by root @ jenkins-builder1.schmoozecom.net on a i686 runn ing Linux on 2016-02-11 22:19:33 UTC

            1 Reply Last reply Reply Quote 0
            • JaredBuschJ
              JaredBusch
              last edited by

              This is the call as presented to the trunk.

                  -- Called SIP/PQT/254202020
              

              Is that a valid telephone number?
              Assuming it is not NANPA, then that means it is country code 254, Kenya and the number being dialed is 202020.

              Is this how your SIP trunk provider is expecting the call to be presented?

              J 1 Reply Last reply Reply Quote 1
              • J
                Jimmy_K @scottalanmiller
                last edited by

                @scottalanmiller. No. The PBX server, I am using right now, it has loaded 6 providers and the rest 5 providers are working well. Only the one that I have raised the issue which can't make outbound call. This account I could register with X-Lite and made Outbound call, however with soft switch it doesn't work

                scottalanmillerS 1 Reply Last reply Reply Quote 0
                • scottalanmillerS
                  scottalanmiller @Jimmy_K
                  last edited by

                  @Jimmy_K said in No Outbound calls even TRUNK is registered:

                  @scottalanmiller. No. The PBX server, I am using right now, it has loaded 6 providers and the rest 5 providers are working well. Only the one that I have raised the issue which can't make outbound call. This account I could register with X-Lite and made Outbound call, however with soft switch it doesn't work

                  Okay, so the extension itself works fine, so we can ignore the talk of X-Lite, we are passed that point. So the issue here is that this one trunk is not working properly.

                  J 1 Reply Last reply Reply Quote 0
                  • J
                    Jimmy_K @JaredBusch
                    last edited by

                    @JaredBusch well, this is not a valid telephone. It is just an example. Anyway, yes, this is kenya number and the provider from Kenya. They are using PBX Teles and I can't use their SIP account for my PBX server but it worked with soft phone (x_lite). Don't know why?

                    1 Reply Last reply Reply Quote 0
                    • J
                      Jimmy_K @scottalanmiller
                      last edited by

                      @scottalanmiller. Additionally, from the end of Provider they do see that our TRUNK has not registered on their PBX server but what I have seen on my PBX server, the TRUNK has a Status as " OK "

                      scottalanmillerS 1 Reply Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller @Jimmy_K
                        last edited by

                        @Jimmy_K said in No Outbound calls even TRUNK is registered:

                        @scottalanmiller. Additionally, from the end of Provider they do see that our TRUNK has not registered on their PBX server but what I have seen on my PBX server, the TRUNK has a Status as " OK "

                        Might be a firewall or similar setting on their end. That is common.

                        J 1 Reply Last reply Reply Quote 0
                        • J
                          Jimmy_K @scottalanmiller
                          last edited by

                          @scottalanmiller If Firewall how come I could use X-Lite to make outbound calls?

                          scottalanmillerS 1 Reply Last reply Reply Quote 0
                          • scottalanmillerS
                            scottalanmiller @Jimmy_K
                            last edited by

                            @Jimmy_K said in No Outbound calls even TRUNK is registered:

                            @scottalanmiller If Firewall how come I could use X-Lite to make outbound calls?

                            Are the two definitely on the same IP address?

                            J 1 Reply Last reply Reply Quote 0
                            • J
                              Jimmy_K @scottalanmiller
                              last edited by

                              @scottalanmiller It's not. X-lite on my laptop with IP address as 192.168 . 1.123 ( this is not static IP ) and my soft switch is 192.168.1.333 ( static IP ).

                              scottalanmillerS 1 Reply Last reply Reply Quote 0
                              • scottalanmillerS
                                scottalanmiller @Jimmy_K
                                last edited by

                                @Jimmy_K said in No Outbound calls even TRUNK is registered:

                                @scottalanmiller It's not. X-lite on my laptop with IP address as 192.168 . 1.123 ( this is not static IP ) and my soft switch is 192.168.1.333 ( static IP ).

                                Does the Trunk see them as different IPs? Trunks are often locked to a single IP address.

                                J 1 Reply Last reply Reply Quote 0
                                • J
                                  Jimmy_K @scottalanmiller
                                  last edited by Jimmy_K

                                  @scottalanmiller What do you mean?

                                  J scottalanmillerS 2 Replies Last reply Reply Quote 0
                                  • J
                                    Jimmy_K @Jimmy_K
                                    last edited by Jimmy_K

                                    @Jimmy_K This is the setting on my TRUNK

                                    type=peer
                                    username=123456789
                                    secret=xxxxxxxx
                                    host=IP host(11.22.33.44)
                                    fromuser=123456789
                                    fromdomain=host server (sip.domain.com)
                                    context=default
                                    canreinvite=no
                                    insecure=very
                                    qualify=yes
                                    nat=yes
                                    port=5061
                                    dtmfmode=rfc2833
                                    disallow=all
                                    allow=g729

                                    1 Reply Last reply Reply Quote 0
                                    • scottalanmillerS
                                      scottalanmiller @Jimmy_K
                                      last edited by

                                      @Jimmy_K said in No Outbound calls even TRUNK is registered:

                                      @scottalanmiller What do you mean?

                                      The question is... to the trunk provider, does it look like you are testing with two different devices, or only one.

                                      Can you show the same settings that worked on X-Lite?

                                      J 1 Reply Last reply Reply Quote 0
                                      • J
                                        Jimmy_K @scottalanmiller
                                        last edited by scottalanmiller

                                        @scottalanmiller

                                        0_1468430838253_X-lite Setting.png

                                        J 1 Reply Last reply Reply Quote 0
                                        • J
                                          Jimmy_K @Jimmy_K
                                          last edited by

                                          @Jimmy_K I don't know where I can put the Proxy address on soft switch

                                          1 Reply Last reply Reply Quote 0
                                          • scottalanmillerS
                                            scottalanmiller
                                            last edited by

                                            Do you have the SIP setup instructions from the trunk provider?

                                            J 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 1 / 3
                                            • First post
                                              Last post