NO JOY DUNDi not working!

Venio

Member
Joined
Dec 17, 2009
Messages
38
Reaction score
0
I have 2 servers that I'm trying to connect using DUNDi. When executing dundi show peers or dundi lookup I get the other server. However, I can't place a call from one server to the other. Here are all the conf files.

dundi.conf
Code:
[general]

;department=Your Department
organization=Test
locality=Dallas
stateprov=TX
country=US
;[email protected]
phone=+12565551212

entityid=00:0C:29:00:07:1E

ttl=32

autokill=yes

[mappings]

priv => dundi-priv-canonical,1,IAX2,dundi:${SECRET}@${dundiipaddress}/${NUMBER},nounsolicited,nocomunsolicit,nopartial
priv => dundi-priv-customers,101,IAX2,dundi:${SECRET}@${dundiipaddress}/${NUMBER},nounsolicited,nocomunsolicit,nopartial
priv => dundi-priv-via-pstn,401,IAX2,dundi:${SECRET}@${dundiipaddress}/${NUMBER},nounsolicited,nocomunsolicit,nopartial


[00:0C:29:B1:FC:70]
model = symmetric
host = 10.0.0.102
inkey = test
outkey = test
include = all
permit = all
qualify = yes
order = primary
extensions_custom.conf

Code:
; This file contains example extensions_custom.conf entries.
; extensions_custom.conf should be used to include customizations
; to AMP's Asterisk dialplan.

; Extensions in AMP have access to the 'from-internal' context.
; The context 'from-internal-custom' is included in 'from-internal' by default

[from-internal-custom]                
exten => 1234,1,Playback(demo-congrats)        ; extensions can dial 1234
exten => 1234,2,Hangup()
exten => h,1,Hangup()
include => custom-recordme            ; extensions can also dial 5678 

; custom-count2four,s,1 can be used as a custom target for
; a Digital Receptionist menu or a Ring Group
[custom-count2four]        
exten => s,1,SayDigits(1234)
exten => s,2,Hangup

; custom-recordme,5678,1 can be used as a custom target for
; a Digital Receptionist menu or a Ring Group
[custom-recordme]
exten => 5678,1,Wait(2)
exten => 5678,2,Record(/tmp/asterisk-recording:gsm)
exten => 5678,3,Wait(2)
exten => 5678,4,Playback(/tmp/asterisk-recording)
exten => 5678,5,Wait(2)
exten => 5678,6,Hangup

[dundi-e164-local] ;This must match the context in iax_custom.conf
; this context is used to group the 3 below and reference in iax.conf for the incoming calls referred by dundi
include => dundi-priv-canonical
include => dundi-priv-customers
include => dundi-priv-via-pstn

[dundi-priv-canonical]
; List canonical entries here
exten => 18008656920,1,goto(from-trunk,${EXTEN:1},1)

[dundi-priv-customers]
; If you are an ITSP or Reseller, list your internal extensions here.
exten => _1xx,1,goto(from-internal,${EXTEN},1)

[dundi-priv-via-pstn]
; If you are freely delivering calls to the PSTN, list them here
;exten => _1706251XXXX,1,macro(call_dundi,${EXTEN:1})
;exten => _1706258XXXX,1,macro(call_dundi,${EXTEN:1})

[macro-call_dundi]
exten => s,1,goto(from-internal,${ARG1},1)

[dundi-priv-switch]
switch => DUNDi/priv

[dundi-priv-lookup]
include => dundi-priv-local
include => dundi-priv-switch

[macro-dundi-priv]
exten => s,1,Goto(${ARG1},1)
include => dundi-priv-lookup
iax_custom.conf

Code:
[dundi]
type=user
dbsecret=dundi/secret
context=dundi-e164-local
allow=all
trunk=yes
I have a dundi trunk named priv. With the following settings dial pattern: ZXZ, Dundi mapping: all.
 

blanchae

Guru
Joined
Mar 12, 2008
Messages
1,910
Reaction score
9
Not too sure if the config files are case sensitive but why is this section capitalized?

[dundi-priv-switch]
switch => DUNDi/priv
 

Venio

Member
Joined
Dec 17, 2009
Messages
38
Reaction score
0
Not too sure if the config files are case sensitive but why is this section capitalized?
Not it, made no difference.

From the CLI:

Code:
    -- Executing [201@from-internal:1] Macro("SIP/101-b80008f0", "user-callerid|SKIPTTL|") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/101-b80008f0", "AMPUSER=101") in new stack
    -- Executing [s@macro-user-callerid:2] GotoIf("SIP/101-b80008f0", "0?report") in new stack
    -- Executing [s@macro-user-callerid:3] ExecIf("SIP/101-b80008f0", "1|Set|REALCALLERIDNUM=101") in new stack
    -- Executing [s@macro-user-callerid:4] Set("SIP/101-b80008f0", "AMPUSER=101") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/101-b80008f0", "AMPUSERCIDNAME=Lapie") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/101-b80008f0", "0?report") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/101-b80008f0", "AMPUSERCID=101") in new stack
    -- Executing [s@macro-user-callerid:8] Set("SIP/101-b80008f0", "CALLERID(all)="Lapie" <101>") in new stack
    -- Executing [s@macro-user-callerid:9] GotoIf("SIP/101-b80008f0", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,18)
    -- Executing [s@macro-user-callerid:18] NoOp("SIP/101-b80008f0", "Using CallerID "Lapie" <101>") in new stack
    -- Executing [201@from-internal:2] Set("SIP/101-b80008f0", "_NODEST=") in new stack
    -- Executing [201@from-internal:3] Macro("SIP/101-b80008f0", "record-enable|101|OUT|") in new stack
    -- Executing [s@macro-record-enable:1] GotoIf("SIP/101-b80008f0", "1?check") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s@macro-record-enable:4] AGI("SIP/101-b80008f0", "recordingcheck|20100123-072629|1264253189.0") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
  recordingcheck|20100123-072629|1264253189.0: Outbound recording not enabled
    -- AGI Script recordingcheck completed, returning 0
    -- Executing [s@macro-record-enable:5] MacroExit("SIP/101-b80008f0", "") in new stack
    -- Executing [201@from-internal:4] Macro("SIP/101-b80008f0", "dialout-dundi|2|201||") in new stack
    -- Executing [s@macro-dialout-dundi:1] Set("SIP/101-b80008f0", "DIAL_TRUNK=2") in new stack
    -- Executing [s@macro-dialout-dundi:2] GosubIf("SIP/101-b80008f0", "0?sub-pincheck|s|1") in new stack
    -- Executing [s@macro-dialout-dundi:3] GotoIf("SIP/101-b80008f0", "0?disabletrunk|1") in new stack
    -- Executing [s@macro-dialout-dundi:4] Set("SIP/101-b80008f0", "DIAL_NUMBER=201") in new stack
    -- Executing [s@macro-dialout-dundi:5] Set("SIP/101-b80008f0", "DIAL_TRUNK_OPTIONS=tr") in new stack
    -- Executing [s@macro-dialout-dundi:6] Set("SIP/101-b80008f0", "OUTBOUND_GROUP=OUT_2") in new stack
    -- Executing [s@macro-dialout-dundi:7] GotoIf("SIP/101-b80008f0", "1?nomax") in new stack
    -- Goto (macro-dialout-dundi,s,9)
    -- Executing [s@macro-dialout-dundi:9] GotoIf("SIP/101-b80008f0", "0?skipoutcid") in new stack
    -- Executing [s@macro-dialout-dundi:10] Set("SIP/101-b80008f0", "DIAL_TRUNK_OPTIONS=") in new stack
    -- Executing [s@macro-dialout-dundi:11] Macro("SIP/101-b80008f0", "outbound-callerid|2") in new stack
    -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/101-b80008f0", "0|SetCallerPres|") in new stack
    -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/101-b80008f0", "0|Set|REALCALLERIDNUM=101") in new stack
    -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/101-b80008f0", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,6)
    -- Executing [s@macro-outbound-callerid:6] Set("SIP/101-b80008f0", "USEROUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:7] Set("SIP/101-b80008f0", "EMERGENCYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:8] Set("SIP/101-b80008f0", "TRUNKOUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/101-b80008f0", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,12)
    -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/101-b80008f0", "0|Set|CALLERID(all)=") in new stack
    -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/101-b80008f0", "0|Set|CALLERID(all)=") in new stack
    -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/101-b80008f0", "0|SetCallerPres|prohib_passed_screen") in new stack
    -- Executing [s@macro-dialout-dundi:12] ExecIf("SIP/101-b80008f0", "1|AGI|fixlocalprefix") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
  ==  fixlocalprefix: Dialpattern ZXZ matched. 201 -> 201
    -- AGI Script fixlocalprefix completed, returning 0
    -- Executing [s@macro-dialout-dundi:13] Set("SIP/101-b80008f0", "OUTNUM=201") in new stack
    -- Executing [s@macro-dialout-dundi:14] ExecIf("SIP/101-b80008f0", "0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^)") in new stack
    -- Executing [s@macro-dialout-dundi:15] Macro("SIP/101-b80008f0", "dialout-dundi-predial-hook|") in new stack
    -- Executing [s@macro-dialout-dundi:16] GotoIf("SIP/101-b80008f0", "0?bypass|1") in new stack
    -- Executing [s@macro-dialout-dundi:17] GotoIf("SIP/101-b80008f0", "0?customtrunk") in new stack
    -- Executing [s@macro-dialout-dundi:18] Macro("SIP/101-b80008f0", "dundi-2|201") in new stack
    -- Executing [s@macro-dundi-2:1] Goto("SIP/101-b80008f0", "201|1") in new stack
    -- Goto (macro-dundi-2,201,1)
    -- Executing [s@macro-dialout-dundi:19] Goto("SIP/101-b80008f0", "s-|1") in new stack
    -- Goto (macro-dialout-dundi,s-,1)
    -- Executing [201@from-internal:5] Macro("SIP/101-b80008f0", "outisbusy|") in new stack
    -- Executing [s@macro-outisbusy:1] Playback("SIP/101-b80008f0", "all-circuits-busy-now|noanswer") in new stack
    -- <SIP/101-b80008f0> Playing 'all-circuits-busy-now' (language 'en')
  == Manager 'admin' logged off from 127.0.0.1
    -- Executing [s@macro-outisbusy:2] Playback("SIP/101-b80008f0", "pls-try-call-later|noanswer") in new stack
    -- <SIP/101-b80008f0> Playing 'pls-try-call-later' (language 'en')
    -- Executing [s@macro-outisbusy:3] Macro("SIP/101-b80008f0", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/101-b80008f0", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,4)
    -- Executing [s@macro-hangupcall:4] GotoIf("SIP/101-b80008f0", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,7)
    -- Executing [s@macro-hangupcall:7] GotoIf("SIP/101-b80008f0", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] Hangup("SIP/101-b80008f0", "") in new stack
  == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/101-b80008f0' in macro 'hangupcall'
  == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/101-b80008f0' in macro 'outisbusy'
  == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/101-b80008f0'
 

mac

Member
Joined
Dec 19, 2007
Messages
72
Reaction score
1
are they connected

Can you post dundi show peers
and
iax2 show peers

 

Venio

Member
Joined
Dec 17, 2009
Messages
38
Reaction score
0
Code:
Server_A*CLI> dundi show peers
EID                  Host                Model      AvgTime  Status
00:0c:29:b1:fc:70    10.0.0.102      (S) Symmetric  Unavail  OK (1 ms)
1 dundi peers [1 online, 0 offline, 0 unmonitored]
Server_A*CLI> iax2 show peers
Name/Username    Host                 Mask             Port          Status
0 iax2 peers [0 online, 0 offline, 0 unmonitored]
 

jmullinix

Guru
Joined
Oct 21, 2007
Messages
1,263
Reaction score
7
What do you get when you issue a dundi lookup? Choose a number on the remote box and do a dundi lookup on it.

dundi lookup <some phone number>

Also post the output from the command

dundi query 00:0c:29:b1:fc:70
 

Venio

Member
Joined
Dec 17, 2009
Messages
38
Reaction score
0
Code:
Server_A*CLI> dundi query 00:0c:29:b1:fc:70
DUNDi Query EID succeeded:
Department:
Organization:    Test B
City/Locality:   Dallas
State/Province:  TX
Country:         US
E-mail:
Phone:           +12565551212
IP Address:      10.0.0.102
Server_A*CLI> dundi lookup 201@priv
  1.   101 IAX2/dundi:[email protected]/201 (EXISTS|NOUNSLCTD|NOCOMUNSLTD)
     from 00:0c:29:b1:fc:70, expires in 3600 s
DUNDi lookup completed in 8 ms
 

mac

Member
Joined
Dec 19, 2007
Messages
72
Reaction score
1
dundi trunks

How do you have the trunks set up?
And the dial plan to go out the dundi trunk?
 

Venio

Member
Joined
Dec 17, 2009
Messages
38
Reaction score
0
...I have a dundi trunk named priv. With the following settings dial pattern: ZXZ, Dundi mapping: all.

It was in my original post. Is there any other info you may need?
 

blanchae

Guru
Joined
Mar 12, 2008
Messages
1,910
Reaction score
9
I'm just shooting as I haven't used dundi. Should

"entityid=00:0C:29:00:07:1E "

Have the same MAC address as

[00:0C:29:B1:FC:70]

in your dundi.conf? This is the only two places that I see the MAC address configured.
 

Venio

Member
Joined
Dec 17, 2009
Messages
38
Reaction score
0
No. entityid=00:0C:29:00:07:1E specifies the local machine MAC, while [00:0C:29:B1:FC:70] points to the remote machine.
 

Venio

Member
Joined
Dec 17, 2009
Messages
38
Reaction score
0
I turned the dundi debug and got the following error.
Code:
          Flags: 00 STrans: 15688  DTrans: 27829 [10.0.0.102:4520] (Final)
        CAUSE           : NOAUTH: Unsupported DUNDI Context
Is anyone familiar with the syntax?
 

mac

Member
Joined
Dec 19, 2007
Messages
72
Reaction score
1
not sure

Not sure where the issue is. Have you used
http://www.cohutta.com/Dundi_How_to.pdf

Check over this and I will try to get to my files later to reference. I am out for a bit.


 

Venio

Member
Joined
Dec 17, 2009
Messages
38
Reaction score
0
I've seen the document, thanks. So I got the VM's to work. The problem was in my dundi.conf.
include = all
permit = all

Changing it to:

auth=rsa
include = priv
permit = priv

Also I had to change the mapping in the dundi trunk to priv.

Calls can be place now between both VM PBX. However, my production machines with the exact same settings are still not able to connect.

From the dundi debug:

Code:
  -- Executing [s@macro-dundi-3:1] Goto("SIP/106-0a03c650", "501|1") in new stack
    -- Goto (macro-dundi-3,501,1)
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Executing [s@macro-dialout-dundi:19] Goto("SIP/106-0a03c650", "s-CHANUNAVAIL|1") in new stack

Dundi lookup and dundi show peers work but not dundi query.
 

mac

Member
Joined
Dec 19, 2007
Messages
72
Reaction score
1
keep trying

[mappings]

priv => dundi-priv-canonical,1,IAX2,dundi:${SECRET}@${dundiipaddress}/${NUMBER},nounsolicited,nocomunsolicit,nopartial
priv => dundi-priv-customers,101,IAX2,dundi:${SECRET}@${dundiipaddress}/${NUMBER},nounsolicited,nocomunsolicit,nopartial
priv => dundi-priv-via-pstn,401,IAX2,dundi:${SECRET}@${dundiipaddress}/${NUMBER},nounsolicited,nocomunsolicit,nopartial
I am pretty sure I recall these names need to be the same, so try this change on all 3:
priv => dundi-priv-canonical,1,IAX2,priv:${SECRET}@${dundiipaddress}/${NUMBER},nounsolicited,nocomunsolicit,nopartial

Next, I am not sure where you are using the auth=rsa, are you connecting across the internet?
but all my hosts use:
[00:30:48:97:E3:57] ;MI
model = symmetric
host = 192.168.4.10
inkey = U$key
outkey = U$key
include = priv
permit = priv
qualify = yes
order = primary

In my iax settings, I don't have allow=all, but I am not sure if that is the issue.

Try and see what you get. Also, I tried originally to use the trunk setup like this, but it would never work. I had to setup the way Mullinix describes using the custom trydundi.

Let me know,
 

Venio

Member
Joined
Dec 17, 2009
Messages
38
Reaction score
0
I am already able to connnect the two virtual machines which are on the same subnet. My problem now is connection the two real I have over the internet. They both have the exact same configuration as the VM's less the mac addresses and the ip's. I have ports 4520 and 4569 forwarded and dundi lookup and dundi show peers are working. Still no calls can be placed.

From cli of the machine being called:

Code:
Rx-Frame Retry[No] -- OSeqno: 000 ISeqno: 000 Type: ENCRYPT      (Command)
     Flags: 00 STrans: 19713  DTrans: 00000 [xx.xx.xx.xx:4520]
   ENTITY IDENT    : 00:1b:21:51:xx:xx
   KEYCRC32        : 3220781265
   ENCDATA         : [IV 963a8f63c37e321f99a41b67e7bacd21] 4 encrypted blocks
    Erx-Frame Retry[No] -- OSeqno: 000 ISeqno: 000 Type: DPDISCOVER   (Command)
          Flags: 00 STrans: 19713  DTrans: 00000 [xx.xx.xx.xx:4520]
        VERSION         : 1
        DIRECT EID      : 00:1b:21:51:xx:xx
        CALLED NUMBER   : 502
        CALLED CONTEXT  : priv
        TTL             : 32
Tx-Frame Retry[No] -- OSeqno: 000 ISeqno: 001 Type: ACK          (Response)
     Flags: 00 STrans: 09470  DTrans: 19713 [xx.xx.xx.xx:4520]
    ETx-Frame Retry[No] -- OSeqno: 000 ISeqno: 001 Type: DPRESPONSE   (Response)
          Flags: 00 STrans: 09470  DTrans: 19713 [xx.xx.xx.xx:4520] (Final)
        ANSWER          : [EXISTS|NOUNSLCTD|NOCOMUNSLTD] 101 <IAX/dundi:yxe9Y+8S8gUYP2F+8T8ybQ==@$xxxx.xxx.nu/502> from [00:1b:21:3f:xx:xx]
        HINT            : [UNAFFECTED]
        EXPIRATION      : 3600
Tx-Frame Retry[No] -- OSeqno: 000 ISeqno: 001 Type: ENCRYPT      (Command)
     Flags: 00 STrans: 09470  DTrans: 19713 [xx.xx.xx.xx:4520]
   ENCDATA         : [IV ecddc37197eac7795c40ce520f0e602f] 7 encrypted blocks
Rx-Frame Retry[No] -- OSeqno: 001 ISeqno: 001 Type: ACK          (Response)
     Flags: 00 STrans: 19713  DTrans: 09470 [xx.xx.xx.xx:4520] (Final)
  
Rx-Frame Retry[No] -- OSeqno: 000 ISeqno: 000 Type: NULL         (Command)
     Flags: 00 STrans: 09151  DTrans: 00000 [yy.yy.yy.yy:4520] (Final)
Tx-Frame Retry[No] -- OSeqno: 000 ISeqno: 001 Type: ACK          (Response)
     Flags: 00 STrans: 27082  DTrans: 09151 [yy.yy.yy.yy:4520] (Final)
Cli output from the machine making the call:
Code:
    -- Executing [502@from-internal:1] Macro("SIP/106-b7401c00", "user-callerid|SKIPTTL|") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/106-b7401c00", "AMPUSER=106") in new stack
    -- Executing [s@macro-user-callerid:2] GotoIf("SIP/106-b7401c00", "0?report") in new stack
    -- Executing [s@macro-user-callerid:3] ExecIf("SIP/106-b7401c00", "1|Set|REALCALLERIDNUM=106") in new stack
    -- Executing [s@macro-user-callerid:4] Set("SIP/106-b7401c00", "AMPUSER=106") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/106-b7401c00", "AMPUSERCIDNAME=test") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/106-b7401c00", "0?report") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/106-b7401c00", "AMPUSERCID=106") in new stack
    -- Executing [s@macro-user-callerid:8] Set("SIP/106-b7401c00", "CALLERID(all)="test" <106>") in new stack
    -- Executing [s@macro-user-callerid:9] GotoIf("SIP/106-b7401c00", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,18)
    -- Executing [s@macro-user-callerid:18] NoOp("SIP/106-b7401c00", "Using CallerID "test" <106>") in new stack
    -- Executing [502@from-internal:2] Set("SIP/106-b7401c00", "_NODEST=") in new stack
    -- Executing [502@from-internal:3] Macro("SIP/106-b7401c00", "record-enable|106|OUT|") in new stack
    -- Executing [s@macro-record-enable:1] GotoIf("SIP/106-b7401c00", "1?check") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s@macro-record-enable:4] AGI("SIP/106-b7401c00", "recordingcheck|20100204-104950|1265302190.359") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
  recordingcheck|20100204-104950|1265302190.359: Outbound recording not enabled
    -- AGI Script recordingcheck completed, returning 0
    -- Executing [s@macro-record-enable:5] MacroExit("SIP/106-b7401c00", "") in new stack
    -- Executing [502@from-internal:4] Macro("SIP/106-b7401c00", "dialout-dundi|3|502||") in new stack
    -- Executing [s@macro-dialout-dundi:1] Set("SIP/106-b7401c00", "DIAL_TRUNK=3") in new stack
    -- Executing [s@macro-dialout-dundi:2] GosubIf("SIP/106-b7401c00", "0?sub-pincheck|s|1") in new stack
    -- Executing [s@macro-dialout-dundi:3] GotoIf("SIP/106-b7401c00", "0?disabletrunk|1") in new stack
    -- Executing [s@macro-dialout-dundi:4] Set("SIP/106-b7401c00", "DIAL_NUMBER=502") in new stack
    -- Executing [s@macro-dialout-dundi:5] Set("SIP/106-b7401c00", "DIAL_TRUNK_OPTIONS=tr") in new stack
    -- Executing [s@macro-dialout-dundi:6] Set("SIP/106-b7401c00", "OUTBOUND_GROUP=OUT_3") in new stack
    -- Executing [s@macro-dialout-dundi:7] GotoIf("SIP/106-b7401c00", "1?nomax") in new stack
    -- Goto (macro-dialout-dundi,s,9)
    -- Executing [s@macro-dialout-dundi:9] GotoIf("SIP/106-b7401c00", "0?skipoutcid") in new stack
    -- Executing [s@macro-dialout-dundi:10] Set("SIP/106-b7401c00", "DIAL_TRUNK_OPTIONS=") in new stack
    -- Executing [s@macro-dialout-dundi:11] Macro("SIP/106-b7401c00", "outbound-callerid|3") in new stack
    -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/106-b7401c00", "0|SetCallerPres|") in new stack
    -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/106-b7401c00", "0|Set|REALCALLERIDNUM=106") in new stack
    -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/106-b7401c00", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,6)
    -- Executing [s@macro-outbound-callerid:6] Set("SIP/106-b7401c00", "USEROUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:7] Set("SIP/106-b7401c00", "EMERGENCYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:8] Set("SIP/106-b7401c00", "TRUNKOUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/106-b7401c00", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,12)
    -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/106-b7401c00", "0|Set|CALLERID(all)=") in new stack
    -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/106-b7401c00", "0|Set|CALLERID(all)=") in new stack
    -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/106-b7401c00", "0|SetCallerPres|prohib_passed_screen") in new stack
    -- Executing [s@macro-dialout-dundi:12] ExecIf("SIP/106-b7401c00", "0|AGI|fixlocalprefix") in new stack
    -- Executing [s@macro-dialout-dundi:13] Set("SIP/106-b7401c00", "OUTNUM=502") in new stack
    -- Executing [s@macro-dialout-dundi:14] ExecIf("SIP/106-b7401c00", "0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^)") in new stack
    -- Executing [s@macro-dialout-dundi:15] Macro("SIP/106-b7401c00", "dialout-dundi-predial-hook|") in new stack
    -- Executing [s@macro-dialout-dundi:16] GotoIf("SIP/106-b7401c00", "0?bypass|1") in new stack
    -- Executing [s@macro-dialout-dundi:17] GotoIf("SIP/106-b7401c00", "0?customtrunk") in new stack
    -- Executing [s@macro-dialout-dundi:18] Macro("SIP/106-b7401c00", "dundi-3|502") in new stack
    -- Executing [s@macro-dundi-3:1] Goto("SIP/106-b7401c00", "502|1") in new stack
    -- Goto (macro-dundi-3,502,1)
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Executing [s@macro-dialout-dundi:19] Goto("SIP/106-b7401c00", "s-CHANUNAVAIL|1") in new stack
    -- Goto (macro-dialout-dundi,s-CHANUNAVAIL,1)
    -- Executing [s-CHANUNAVAIL@macro-dialout-dundi:1] GotoIf("SIP/106-b7401c00", "1?noreport") in new stack
    -- Goto (macro-dialout-dundi,s-CHANUNAVAIL,3)
    -- Executing [s-CHANUNAVAIL@macro-dialout-dundi:3] NoOp("SIP/106-b7401c00", "TRUNK Dial failed due to CHANUNAVAIL - failing through to other trunks") in new stack
    -- Executing [502@from-internal:5] Macro("SIP/106-b7401c00", "outisbusy|") in new stack
    -- Executing [s@macro-outisbusy:1] Playback("SIP/106-b7401c00", "all-circuits-busy-now|noanswer") in new stack
    -- <SIP/106-b7401c00> Playing 'all-circuits-busy-now' (language 'en')
  == Manager 'admin' logged off from 127.0.0.1
  == Spawn extension (macro-outisbusy, s, 1) exited non-zero on 'SIP/106-b7401c00' in macro 'outisbusy'
  == Spawn extension (macro-outisbusy, s, 1) exited non-zero on 'SIP/106-b7401c00'
    -- Executing [1549754228@from-internal:1] ResetCDR("SIP/101-b7401c00", "") in new stack
    -- Executing [1549754228@from-internal:2] NoCDR("SIP/101-b7401c00", "") in new stack
    -- Executing [1549754228@from-internal:3] Wait("SIP/101-b7401c00", "1") in new stack
    -- Executing [1549754228@from-internal:4] Playback("SIP/101-b7401c00", "silence/1&cannot-complete-as-dialed&check-number-dial-again|noanswer") in new stack
    -- <SIP/101-b7401c00> Playing 'cannot-complete-as-dialed' (language 'en')
 

applepeel

New Member
Joined
Mar 29, 2010
Messages
2
Reaction score
0
Venio - did you ever get your issue resolved? I'd be interested in knowing what you found if you did.

Thanks!
 

Venio

Member
Joined
Dec 17, 2009
Messages
38
Reaction score
0
Sorry for the late reply. What I found was that setting up trunks between the servers is hell lot easier. Here how it goes.
 

compuguy1088

Member
Joined
May 25, 2013
Messages
63
Reaction score
8
Hate to resurrect a old threat, but I'm having a similar issue. Has anyone else (other than the op) figured this out?
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,201
Reaction score
5,220
compuguy1088: The odds of someone combing through a 3-1/2 year old thread to help you are pretty slim. You'll have better results by starting a new thread with the details of what you're trying to do, what doesn't work, and what the results of running status are.
 

Members online

Forum statistics

Threads
25,810
Messages
167,755
Members
19,240
Latest member
nikko
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top