Koozali.org: home of the SME Server

V3.0

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: V3.0
« Reply #30 on: June 27, 2010, 11:07:41 PM »
Quote
2000 is an extension and the trunk has been set to route directly to ext2000.

It may well be,  but it looks as though you also have an outbound route which is picking up 2000 class numbers and shipping them out.

Look at your trace here

Code: [Select]
Executing [2000@qrxvtmny:1] AGI("IAX2/sailsaint-6793", "sarkhpe|OutRoute|All Calls") in new stack

Kind Regards

S

Offline Teviot

  • *
  • 610
  • +0/-0
Re: V3.0
« Reply #31 on: June 28, 2010, 12:58:26 AM »
the route I have is as follows. All outbound calls go to an exsisting SAIL/PBX as the machine I am working on is a test machine

Code: [Select]
    _X.
will try setting it to a ring group with the extention in the ring group



Created a ring group 605 with ext2000 as the only ext in the group. Using this ring group I had the same result.

Code: [Select]
saint*CLI>
    -- Accepting AUTHENTICATED call from 192.168.76.2:
       > requested format = g729,
       > requested prefs = (g729|gsm|ulaw|alaw),
       > actual format = g729,
       > host prefs = (),
       > priority = caller
    -- Executing [605@internal:1] AGI("IAX2/sailsaint-3671", "sarkhpe|OutCluster|605") in new stack
    -- Launched AGI Script /usr/share/asterisk/agi-bin/sarkhpe
    -- AGI Script Executing Application: (Set) Options: (CDR(accountcode)=)
    -- AGI Script sarkhpe completed, returning 0
    -- Executing [605@qrxvtmny:1] AGI("IAX2/sailsaint-3671", "sarkhpe|OutRoute|All Calls") in new stack
    -- Launched AGI Script /usr/share/asterisk/agi-bin/sarkhpe
    -- AGI Script Executing Application: (Set) Options: (TIMEOUT(absolute)=3600)
    -- Channel will hangup at 2010-06-28 01:03:06 UTC.
    -- AGI Script Executing Application: (Dial) Options: (IAX2/saintsail@sailsaint/605||)
    -- Called saintsail@sailsaint/605
    -- Call accepted by 192.168.76.2 (format g729)
    -- Format for call is g729
    -- Accepting AUTHENTICATED call from 192.168.76.2:
       > requested format = g729,
       > requested prefs = (g729|gsm|ulaw|alaw),
       > actual format = g729,
       > host prefs = (),
       > priority = caller
    -- Executing [605@internal:1] AGI("IAX2/sailsaint-742", "sarkhpe|OutCluster|605") in new stack
    -- Launched AGI Script /usr/share/asterisk/agi-bin/sarkhpe
    -- AGI Script Executing Application: (Set) Options: (CDR(accountcode)=)
    -- AGI Script sarkhpe completed, returning 0
    -- Executing [605@qrxvtmny:1] AGI("IAX2/sailsaint-742", "sarkhpe|OutRoute|All Calls") in new stack
    -- Launched AGI Script /usr/share/asterisk/agi-bin/sarkhpe
    -- AGI Script Executing Application: (Set) Options: (TIMEOUT(absolute)=3600)
    -- Channel will hangup at 2010-06-28 01:03:06 UTC.
    -- AGI Script Executing Application: (Dial) Options: (IAX2/saintsail@sailsaint/605||)
    -- Called saintsail@sailsaint/605
    -- Call accepted by 192.168.76.2 (format g729)
    -- Format for call is g729
    -- IAX2/sailsaint-17303 answered IAX2/sailsaint-742
    -- IAX2/sailsaint-17816 answered IAX2/sailsaint-3671
    -- Channel 'IAX2/sailsaint-742' ready to transfer
    -- Channel 'IAX2/sailsaint-17303' ready to transfer
    -- Releasing IAX2/sailsaint-17303 and IAX2/sailsaint-742
    -- Executing [h@qrxvtmny:1] Hangup("IAX2/sailsaint-742", "") in new stack
  == Spawn h extension (qrxvtmny, h, 1) exited non-zero on 'IAX2/sailsaint-742'
    -- Hungup 'IAX2/sailsaint-17303'
    -- AGI Script sarkhpe completed, returning 0
  == Auto fallthrough, channel 'IAX2/sailsaint-742' status is 'ANSWER'
    -- Executing [h@qrxvtmny:1] Hangup("IAX2/sailsaint-742", "") in new stack
  == Spawn extension (qrxvtmny, h, 1) exited non-zero on 'IAX2/sailsaint-742'
    -- Hungup 'IAX2/sailsaint-742'
    -- Channel 'IAX2/sailsaint-17816' ready to transfer
    -- Channel 'IAX2/sailsaint-3671' ready to transfer
    -- Releasing IAX2/sailsaint-3671 and IAX2/sailsaint-17816
    -- Executing [h@qrxvtmny:1] Hangup("IAX2/sailsaint-3671", "") in new stack
  == Spawn h extension (qrxvtmny, h, 1) exited non-zero on 'IAX2/sailsaint-3671'
    -- Hungup 'IAX2/sailsaint-17816'
    -- AGI Script sarkhpe completed, returning 0
    -- Executing [h@qrxvtmny:1] Hangup("IAX2/sailsaint-3671", "") in new stack
  == Spawn extension (qrxvtmny, h, 1) exited non-zero on 'IAX2/sailsaint-3671'
    -- Hungup 'IAX2/sailsaint-3671'
saint*CLI>

Just tried disabling the route all calls.  The system was able to accept a call and the extenstion rang.  Therefore, there is no problem except the routing rule that I set in the first place.

Code: [Select]
    -- Accepting AUTHENTICATED call from 192.168.76.2:
       > requested format = g729,
       > requested prefs = (g729|gsm|ulaw|alaw),
       > actual format = g729,
       > host prefs = (),
       > priority = caller
    -- Executing [605@internal:1] AGI("IAX2/sailsaint-5462", "sarkhpe|OutCluster|605") in new stack
    -- Launched AGI Script /usr/share/asterisk/agi-bin/sarkhpe
    -- AGI Script Executing Application: (Set) Options: (CDR(accountcode)=)
    -- AGI Script sarkhpe completed, returning 0
    -- Executing [605@qrxvtmny:1] AGI("IAX2/sailsaint-5462", "sarkhpe|Alias|SIP/2000|605") in new stack
    -- Launched AGI Script /usr/share/asterisk/agi-bin/sarkhpe
    -- AGI Script Executing Application: (Dial) Options: (SIP/2000|15|)
    -- Called 2000
    -- SIP/2000-00000002 is ringing
  == Spawn extension (qrxvtmny, 605, 1) exited non-zero on 'IAX2/sailsaint-5462'
    -- Executing [h@qrxvtmny:1] Hangup("IAX2/sailsaint-5462", "") in new stack
  == Spawn extension (qrxvtmny, h, 1) exited non-zero on 'IAX2/sailsaint-5462'
    -- Hungup 'IAX2/sailsaint-5462'

Note to self.

Be careful what routes are set - make sure that they don't interfere with inbound calls
« Last Edit: June 28, 2010, 02:26:55 AM by teviot »
Regards
M0GLJ
......................................................
I am new to SAIL SME Server v8b6 and have been using SME for many years.
I have already done some research and only ask questions if I still can't work it out.

Offline Teviot

  • *
  • 610
  • +0/-0
Re: V3.0
« Reply #32 on: June 28, 2010, 05:26:39 AM »
S

Have noticed that I can't create seperate routes.

My UK Trunk (from here in Australia)

Code: [Select]
_0[123]xxxxxxxxx _118707 _3xxxxxxx _150 _154 _166 _1571 _999
comes back with a "dialplan Failed validation" upon a commit

Would I be better abandon v3.0 on SME 7.5 and switch to SME v8.0b5 ???
« Last Edit: June 28, 2010, 05:28:32 AM by teviot »
Regards
M0GLJ
......................................................
I am new to SAIL SME Server v8b6 and have been using SME for many years.
I have already done some research and only ask questions if I still can't work it out.

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: V3.0
« Reply #33 on: June 28, 2010, 10:42:36 AM »
Upper case X instead of lower case x may help

Kind Regards

S

Offline Teviot

  • *
  • 610
  • +0/-0
Re: V3.0
« Reply #34 on: June 30, 2010, 10:34:58 AM »
S

You were partcially right.  Yes it accepted "X" instead of "x".

But also didn't like the
Code: [Select]
_0[123]XXXXXXXXX
The brackets part of the route
« Last Edit: June 30, 2010, 03:18:12 PM by teviot »
Regards
M0GLJ
......................................................
I am new to SAIL SME Server v8b6 and have been using SME for many years.
I have already done some research and only ask questions if I still can't work it out.