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
_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.
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.
-- 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