Cannot dial to sip accounts (internally from sip or from outside)

nprzybilla
Posts: 41
Member Since:
2006-06-05

Hi,

i can do calls from inside to outside world, but i cannot call from outside to inside or internally with sip ...

i also deleted and recreated the extensions ...

here is a log from a sip -> sip call

[Jan 19 19:41:44] VERBOSE[21672] logger.c: Extension Changed 24[ext-local] new state InUse for Notify User 24
[Jan 19 19:41:44] VERBOSE[31630] logger.c: -- Executing [26@from-internal:1] Macro("SIP/24-08e0b188", "exten-vm|novm|26") in new stack
[Jan 19 19:41:44] VERBOSE[31630] logger.c: -- Executing [s@macro-exten-vm:1] Macro("SIP/24-08e0b188", "user-callerid") in new stack
[Jan 19 19:41:44] VERBOSE[31630] logger.c: -- Executing [s@macro-user-callerid:1] NoOp("SIP/24-08e0b188", "user-callerid: device 24") in new stack
[Jan 19 19:41:44] DEBUG[31630] app_macro.c: Executed application: Noop
[Jan 19 19:41:44] VERBOSE[31630] logger.c: -- Executing [s@macro-user-callerid:2] Set("SIP/24-08e0b188", "AMPUSER=24") in new stack
[Jan 19 19:41:44] DEBUG[31630] app_macro.c: Executed application: Set
[Jan 19 19:41:44] VERBOSE[31630] logger.c: -- Executing [s@macro-user-callerid:3] GotoIf("SIP/24-08e0b188", "0?report") in new stack
[Jan 19 19:41:44] DEBUG[31630] app_macro.c: Executed application: GotoIf
[Jan 19 19:41:44] VERBOSE[31630] logger.c: -- Executing [s@macro-user-callerid:4] ExecIf("SIP/24-08e0b188", "1|Set|REALCALLERIDNUM=24") in new stack
[Jan 19 19:41:44] DEBUG[31630] app_macro.c: Executed application: ExecIf
[Jan 19 19:41:44] VERBOSE[31630] logger.c: -- Executing [s@macro-user-callerid:5] NoOp("SIP/24-08e0b188", "REALCALLERIDNUM is 24") in new stack
[Jan 19 19:41:44] DEBUG[31630] app_macro.c: Executed application: Noop
[Jan 19 19:41:44] VERBOSE[31630] logger.c: -- Executing [s@macro-user-callerid:6] Set("SIP/24-08e0b188", "AMPUSER=24") in new stack
[Jan 19 19:41:44] DEBUG[31630] app_macro.c: Executed application: Set
[Jan 19 19:41:44] VERBOSE[31630] logger.c: -- Executing [s@macro-user-callerid:7] Set("SIP/24-08e0b188", "AMPUSERCIDNAME=Juergen Arendt1") in new stack
[Jan 19 19:41:44] DEBUG[31630] app_macro.c: Executed application: Set
[Jan 19 19:41:44] VERBOSE[31630] logger.c: -- Executing [s@macro-user-callerid:8] GotoIf("SIP/24-08e0b188", "0?report") in new stack
[Jan 19 19:41:44] DEBUG[31630] app_macro.c: Executed application: GotoIf
[Jan 19 19:41:44] VERBOSE[31630] logger.c: -- Executing [s@macro-user-callerid:9] Set("SIP/24-08e0b188", "AMPUSERCID=24") in new stack
[Jan 19 19:41:44] DEBUG[31630] app_macro.c: Executed application: Set
[Jan 19 19:41:44] VERBOSE[31630] logger.c: -- Executing [s@macro-user-callerid:10] Set("SIP/24-08e0b188", "CALLERID(all)="Juergen Arendt1" ") in new stack
[Jan 19 19:41:44] DEBUG[31630] app_macro.c: Executed application: Set
[Jan 19 19:41:44] VERBOSE[31630] logger.c: -- Executing [s@macro-user-callerid:11] Set("SIP/24-08e0b188", "REALCALLERIDNUM=24") in new stack
[Jan 19 19:41:44] DEBUG[31630] app_macro.c: Executed application: Set
[Jan 19 19:41:44] VERBOSE[31630] logger.c: -- Executing [s@macro-user-callerid:12] ExecIf("SIP/24-08e0b188", "0|Set|CHANNEL(language)=") in new stack
[Jan 19 19:41:44] DEBUG[31630] app_macro.c: Executed application: ExecIf
[Jan 19 19:41:44] VERBOSE[31630] logger.c: -- Executing [s@macro-user-callerid:13] NoOp("SIP/24-08e0b188", "TTL: ARG1: novm") in new stack
[Jan 19 19:41:44] DEBUG[31630] app_macro.c: Executed application: Noop
[Jan 19 19:41:44] VERBOSE[31630] logger.c: -- Executing [s@macro-user-callerid:14] GotoIf("SIP/24-08e0b188", "0?continue") in new stack
[Jan 19 19:41:44] DEBUG[31630] app_macro.c: Executed application: GotoIf
[Jan 19 19:41:44] VERBOSE[31630] logger.c: -- Executing [s@macro-user-callerid:15] Set("SIP/24-08e0b188", "__TTL=64") in new stack
[Jan 19 19:41:44] DEBUG[31630] app_macro.c: Executed application: Set
[Jan 19 19:41:44] VERBOSE[31630] logger.c: -- Executing [s@macro-user-callerid:16] GotoIf("SIP/24-08e0b188", "1?continue") in new stack
[Jan 19 19:41:44] VERBOSE[31630] logger.c: -- Goto (macro-user-callerid,s,23)
[Jan 19 19:41:44] DEBUG[31630] app_macro.c: Executed application: GotoIf
[Jan 19 19:41:44] VERBOSE[31630] logger.c: -- Executing [s@macro-user-callerid:23] NoOp("SIP/24-08e0b188", "Using CallerID "Juergen Arendt1" ") in new stack
[Jan 19 19:41:44] DEBUG[31630] app_macro.c: Executed application: Noop
[Jan 19 19:41:44] DEBUG[31630] app_macro.c: Executed application: Macro
[Jan 19 19:41:44] VERBOSE[31630] logger.c: -- Executing [s@macro-exten-vm:2] Set("SIP/24-08e0b188", "RingGroupMethod=none") in new stack
[Jan 19 19:41:44] DEBUG[31630] app_macro.c: Executed application: Set
[Jan 19 19:41:44] VERBOSE[31630] logger.c: -- Executing [s@macro-exten-vm:3] Set("SIP/24-08e0b188", "VMBOX=novm") in new stack
[Jan 19 19:41:44] DEBUG[31630] app_macro.c: Executed application: Set
[Jan 19 19:41:44] VERBOSE[31630] logger.c: -- Executing [s@macro-exten-vm:4] Set("SIP/24-08e0b188", "EXTTOCALL=26") in new stack
[Jan 19 19:41:44] DEBUG[31630] app_macro.c: Executed application: Set
[Jan 19 19:41:44] DEBUG[31630] func_db.c: DB: CFU/26 not found in database.
[Jan 19 19:41:44] VERBOSE[31630] logger.c: -- Executing [s@macro-exten-vm:5] Set("SIP/24-08e0b188", "CFUEXT=") in new stack
[Jan 19 19:41:44] DEBUG[31630] app_macro.c: Executed application: Set
[Jan 19 19:41:44] DEBUG[31630] func_db.c: DB: CFB/26 not found in database.
[Jan 19 19:41:44] VERBOSE[31630] logger.c: -- Executing [s@macro-exten-vm:6] Set("SIP/24-08e0b188", "CFBEXT=") in new stack
[Jan 19 19:41:44] DEBUG[31630] app_macro.c: Executed application: Set
[Jan 19 19:41:44] VERBOSE[31630] logger.c: -- Executing [s@macro-exten-vm:7] Set("SIP/24-08e0b188", "RT=""") in new stack
[Jan 19 19:41:44] DEBUG[31630] app_macro.c: Executed application: Set
[Jan 19 19:41:44] VERBOSE[31630] logger.c: -- Executing [s@macro-exten-vm:8] Macro("SIP/24-08e0b188", "record-enable|26|IN") in new stack
[Jan 19 19:41:44] VERBOSE[31630] logger.c: -- Executing [s@macro-record-enable:1] GotoIf("SIP/24-08e0b188", "0?2:4") in new stack
[Jan 19 19:41:44] VERBOSE[31630] logger.c: -- Goto (macro-record-enable,s,4)
[Jan 19 19:41:44] DEBUG[31630] app_macro.c: Executed application: GotoIf
[Jan 19 19:41:44] VERBOSE[31630] logger.c: -- Executing [s@macro-record-enable:4] AGI("SIP/24-08e0b188", "recordingcheck|20120119-194144|1326998504.127") in new stack
[Jan 19 19:41:44] VERBOSE[31630] logger.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
[Jan 19 19:41:44] VERBOSE[31630] logger.c: -- AGI Script recordingcheck completed, returning 0
[Jan 19 19:41:44] DEBUG[31630] app_macro.c: Executed application: AGI
[Jan 19 19:41:44] VERBOSE[31630] logger.c: -- Executing [s@macro-record-enable:5] NoOp("SIP/24-08e0b188", "No recording needed") in new stack
[Jan 19 19:41:44] DEBUG[31630] app_macro.c: Executed application: Noop
[Jan 19 19:41:44] DEBUG[31630] app_macro.c: Executed application: Macro
[Jan 19 19:41:44] VERBOSE[31630] logger.c: -- Executing [s@macro-exten-vm:9] Macro("SIP/24-08e0b188", "dial||tr|26") in new stack
[Jan 19 19:41:44] VERBOSE[31630] logger.c: -- Executing [s@macro-dial:1] GotoIf("SIP/24-08e0b188", "1?dial") in new stack
[Jan 19 19:41:44] VERBOSE[31630] logger.c: -- Goto (macro-dial,s,3)
[Jan 19 19:41:44] DEBUG[31630] app_macro.c: Executed application: GotoIf
[Jan 19 19:41:44] VERBOSE[31630] logger.c: -- Executing [s@macro-dial:3] AGI("SIP/24-08e0b188", "dialparties.agi") in new stack
[Jan 19 19:41:44] VERBOSE[31630] logger.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
[Jan 19 19:41:45] VERBOSE[31630] logger.c: -- AGI Script dialparties.agi completed, returning 0
[Jan 19 19:41:45] DEBUG[31630] app_macro.c: Executed application: AGI
[Jan 19 19:41:45] VERBOSE[31630] logger.c: -- Executing [s@macro-dial:4] NoOp("SIP/24-08e0b188", "Returned from dialparties with no extensions to call and DIALSTATUS: ") in new stack
[Jan 19 19:41:45] DEBUG[31630] app_macro.c: Executed application: NoOp
[Jan 19 19:41:45] DEBUG[31630] app_macro.c: Executed application: Macro
[Jan 19 19:41:45] VERBOSE[31630] logger.c: -- Executing [s@macro-exten-vm:10] Set("SIP/24-08e0b188", "SV_DIALSTATUS=") in new stack
[Jan 19 19:41:45] DEBUG[31630] app_macro.c: Executed application: Set
[Jan 19 19:41:45] VERBOSE[31630] logger.c: -- Executing [s@macro-exten-vm:11] GosubIf("SIP/24-08e0b188", "0?docfu|1") in new stack
[Jan 19 19:41:45] DEBUG[31630] app_macro.c: Executed application: GosubIf
[Jan 19 19:41:45] VERBOSE[31630] logger.c: -- Executing [s@macro-exten-vm:12] GosubIf("SIP/24-08e0b188", "0?docfb|1") in new stack
[Jan 19 19:41:45] DEBUG[31630] app_macro.c: Executed application: GosubIf
[Jan 19 19:41:45] VERBOSE[31630] logger.c: -- Executing [s@macro-exten-vm:13] Set("SIP/24-08e0b188", "DIALSTATUS=") in new stack
[Jan 19 19:41:45] DEBUG[31630] app_macro.c: Executed application: Set
[Jan 19 19:41:45] VERBOSE[31630] logger.c: -- Executing [s@macro-exten-vm:14] NoOp("SIP/24-08e0b188", "Voicemail is novm") in new stack
[Jan 19 19:41:45] DEBUG[31630] app_macro.c: Executed application: NoOp
[Jan 19 19:41:45] VERBOSE[31630] logger.c: -- Executing [s@macro-exten-vm:15] GotoIf("SIP/24-08e0b188", "1?s-|1") in new stack
[Jan 19 19:41:45] VERBOSE[31630] logger.c: -- Goto (macro-exten-vm,s-,1)
[Jan 19 19:41:45] DEBUG[31630] app_macro.c: Executed application: GotoIf
[Jan 19 19:41:45] VERBOSE[31630] logger.c: -- Executing [26@from-internal:2] Hangup("SIP/24-08e0b188", "") in new stack
[Jan 19 19:41:45] VERBOSE[31630] logger.c: == Spawn extension (from-internal, 26, 2) exited non-zero on 'SIP/24-08e0b188'
[Jan 19 19:41:45] VERBOSE[31630] logger.c: -- Executing [h@from-internal:1] Macro("SIP/24-08e0b188", "hangupcall") in new stack
[Jan 19 19:41:45] VERBOSE[31630] logger.c: -- Executing [s@macro-hangupcall:1] ResetCDR("SIP/24-08e0b188", "w") in new stack
[Jan 19 19:41:45] DEBUG[31630] app_macro.c: Executed application: ResetCDR
[Jan 19 19:41:45] VERBOSE[31630] logger.c: -- Executing [s@macro-hangupcall:2] NoCDR("SIP/24-08e0b188", "") in new stack
[Jan 19 19:41:45] DEBUG[31630] app_macro.c: Executed application: NoCDR
[Jan 19 19:41:45] VERBOSE[31630] logger.c: -- Executing [s@macro-hangupcall:3] GotoIf("SIP/24-08e0b188", "1?skiprg") in new stack
[Jan 19 19:41:45] VERBOSE[31630] logger.c: -- Goto (macro-hangupcall,s,6)
[Jan 19 19:41:45] DEBUG[31630] app_macro.c: Executed application: GotoIf
[Jan 19 19:41:45] VERBOSE[31630] logger.c: -- Executing [s@macro-hangupcall:6] GotoIf("SIP/24-08e0b188", "1?skipblkvm") in new stack
[Jan 19 19:41:45] VERBOSE[31630] logger.c: -- Goto (macro-hangupcall,s,9)
[Jan 19 19:41:45] DEBUG[31630] app_macro.c: Executed application: GotoIf
[Jan 19 19:41:45] VERBOSE[31630] logger.c: -- Executing [s@macro-hangupcall:9] GotoIf("SIP/24-08e0b188", "1?theend") in new stack
[Jan 19 19:41:45] VERBOSE[31630] logger.c: -- Goto (macro-hangupcall,s,11)
[Jan 19 19:41:45] DEBUG[31630] app_macro.c: Executed application: GotoIf
[Jan 19 19:41:45] VERBOSE[31630] logger.c: -- Executing [s@macro-hangupcall:11] Hangup("SIP/24-08e0b188", "") in new stack
[Jan 19 19:41:45] VERBOSE[31630] logger.c: == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/24-08e0b188' in macro 'hangupcall'
[Jan 19 19:41:45] VERBOSE[31630] logger.c: == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/24-08e0b188'
[Jan 19 19:41:45] VERBOSE[21672] logger.c: Extension Changed 24[ext-local] new state Idle for Notify User 24

and this is a call from outside to a sip ...

[Jan 19 20:02:59] VERBOSE[1230] logger.c: -- Executing [89540238@from-pstn:1] Set("mISDN/3-u169", "__FROM_DID=89540238") in new stack
[Jan 19 20:02:59] VERBOSE[1230] logger.c: -- Executing [89540238@from-pstn:2] Gosub("mISDN/3-u169", "app-blacklist-check|s|1") in new stack
[Jan 19 20:02:59] VERBOSE[1230] logger.c: -- Executing [s@app-blacklist-check:1] LookupBlacklist("mISDN/3-u169", "") in new stack
[Jan 19 20:02:59] VERBOSE[1230] logger.c: -- Executing [s@app-blacklist-check:2] GotoIf("mISDN/3-u169", "0?blacklisted") in new stack
[Jan 19 20:02:59] VERBOSE[1230] logger.c: -- Executing [s@app-blacklist-check:3] Return("mISDN/3-u169", "") in new stack
[Jan 19 20:02:59] VERBOSE[1230] logger.c: -- Executing [89540238@from-pstn:3] GotoIf("mISDN/3-u169", "0 ?cidok") in new stack
[Jan 19 20:02:59] VERBOSE[1230] logger.c: -- Executing [89540238@from-pstn:4] Set("mISDN/3-u169", "CALLERID(name)=01632587799") in new stack
[Jan 19 20:02:59] VERBOSE[1230] logger.c: -- Executing [89540238@from-pstn:5] NoOp("mISDN/3-u169", "CallerID is "01632587799" ") in new stack
[Jan 19 20:02:59] VERBOSE[1230] logger.c: -- Executing [89540238@from-pstn:6] Set("mISDN/3-u169", "__CALLINGPRES_SV=allowed_not_screened") in new stack
[Jan 19 20:02:59] VERBOSE[1230] logger.c: -- Executing [89540238@from-pstn:7] SetCallerPres("mISDN/3-u169", "allowed_not_screened") in new stack
[Jan 19 20:02:59] VERBOSE[1230] logger.c: -- Executing [89540238@from-pstn:8] Goto("mISDN/3-u169", "from-did-direct|26|1") in new stack
[Jan 19 20:02:59] VERBOSE[1230] logger.c: -- Goto (from-did-direct,26,1)
[Jan 19 20:02:59] VERBOSE[1230] logger.c: -- Executing [26@from-did-direct:1] Macro("mISDN/3-u169", "exten-vm|novm|26") in new stack
[Jan 19 20:02:59] VERBOSE[1230] logger.c: -- Executing [s@macro-exten-vm:1] Macro("mISDN/3-u169", "user-callerid") in new stack
[Jan 19 20:02:59] VERBOSE[1230] logger.c: -- Executing [s@macro-user-callerid:1] NoOp("mISDN/3-u169", "user-callerid: 01632587799 01632587799") in new stack
[Jan 19 20:02:59] DEBUG[1230] app_macro.c: Executed application: Noop
[Jan 19 20:02:59] VERBOSE[1230] logger.c: -- Executing [s@macro-user-callerid:2] Set("mISDN/3-u169", "AMPUSER=01632587799") in new stack
[Jan 19 20:02:59] DEBUG[1230] app_macro.c: Executed application: Set
[Jan 19 20:02:59] VERBOSE[1230] logger.c: -- Executing [s@macro-user-callerid:3] GotoIf("mISDN/3-u169", "0?report") in new stack
[Jan 19 20:02:59] DEBUG[1230] app_macro.c: Executed application: GotoIf
[Jan 19 20:02:59] VERBOSE[1230] logger.c: -- Executing [s@macro-user-callerid:4] ExecIf("mISDN/3-u169", "1|Set|REALCALLERIDNUM=01632587799") in new stack
[Jan 19 20:02:59] DEBUG[1230] app_macro.c: Executed application: ExecIf
[Jan 19 20:02:59] VERBOSE[1230] logger.c: -- Executing [s@macro-user-callerid:5] NoOp("mISDN/3-u169", "REALCALLERIDNUM is 01632587799") in new stack
[Jan 19 20:02:59] DEBUG[1230] app_macro.c: Executed application: Noop
[Jan 19 20:02:59] DEBUG[1230] func_db.c: DB: DEVICE/01632587799/user not found in database.
[Jan 19 20:02:59] VERBOSE[1230] logger.c: -- Executing [s@macro-user-callerid:6] Set("mISDN/3-u169", "AMPUSER=") in new stack
[Jan 19 20:02:59] DEBUG[1230] app_macro.c: Executed application: Set
[Jan 19 20:02:59] DEBUG[1230] func_db.c: DB: AMPUSER//cidname not found in database.
[Jan 19 20:02:59] VERBOSE[1230] logger.c: -- Executing [s@macro-user-callerid:7] Set("mISDN/3-u169", "AMPUSERCIDNAME=") in new stack
[Jan 19 20:02:59] DEBUG[1230] app_macro.c: Executed application: Set
[Jan 19 20:02:59] VERBOSE[1230] logger.c: -- Executing [s@macro-user-callerid:8] GotoIf("mISDN/3-u169", "1?report") in new stack
[Jan 19 20:02:59] VERBOSE[1230] logger.c: -- Goto (macro-user-callerid,s,13)
[Jan 19 20:02:59] DEBUG[1230] app_macro.c: Executed application: GotoIf
[Jan 19 20:02:59] VERBOSE[1230] logger.c: -- Executing [s@macro-user-callerid:13] NoOp("mISDN/3-u169", "TTL: ARG1: novm") in new stack
[Jan 19 20:02:59] DEBUG[1230] app_macro.c: Executed application: Noop
[Jan 19 20:02:59] VERBOSE[1230] logger.c: -- Executing [s@macro-user-callerid:14] GotoIf("mISDN/3-u169", "0?continue") in new stack
[Jan 19 20:02:59] DEBUG[1230] app_macro.c: Executed application: GotoIf
[Jan 19 20:02:59] VERBOSE[1230] logger.c: -- Executing [s@macro-user-callerid:15] Set("mISDN/3-u169", "__TTL=64") in new stack
[Jan 19 20:02:59] DEBUG[1230] app_macro.c: Executed application: Set
[Jan 19 20:02:59] VERBOSE[1230] logger.c: -- Executing [s@macro-user-callerid:16] GotoIf("mISDN/3-u169", "1?continue") in new stack
[Jan 19 20:02:59] VERBOSE[1230] logger.c: -- Goto (macro-user-callerid,s,23)
[Jan 19 20:02:59] DEBUG[1230] app_macro.c: Executed application: GotoIf
[Jan 19 20:02:59] VERBOSE[1230] logger.c: -- Executing [s@macro-user-callerid:23] NoOp("mISDN/3-u169", "Using CallerID "01632587799" ") in new stack
[Jan 19 20:02:59] DEBUG[1230] app_macro.c: Executed application: Noop
[Jan 19 20:02:59] DEBUG[1230] app_macro.c: Executed application: Macro
[Jan 19 20:02:59] VERBOSE[1230] logger.c: -- Executing [s@macro-exten-vm:2] Set("mISDN/3-u169", "RingGroupMethod=none") in new stack
[Jan 19 20:02:59] DEBUG[1230] app_macro.c: Executed application: Set
[Jan 19 20:02:59] VERBOSE[1230] logger.c: -- Executing [s@macro-exten-vm:3] Set("mISDN/3-u169", "VMBOX=novm") in new stack
[Jan 19 20:02:59] DEBUG[1230] app_macro.c: Executed application: Set
[Jan 19 20:02:59] VERBOSE[1230] logger.c: -- Executing [s@macro-exten-vm:4] Set("mISDN/3-u169", "EXTTOCALL=26") in new stack
[Jan 19 20:02:59] DEBUG[1230] app_macro.c: Executed application: Set
[Jan 19 20:02:59] DEBUG[1230] func_db.c: DB: CFU/26 not found in database.
[Jan 19 20:02:59] VERBOSE[1230] logger.c: -- Executing [s@macro-exten-vm:5] Set("mISDN/3-u169", "CFUEXT=") in new stack
[Jan 19 20:02:59] DEBUG[1230] app_macro.c: Executed application: Set
[Jan 19 20:02:59] DEBUG[1230] func_db.c: DB: CFB/26 not found in database.
[Jan 19 20:02:59] VERBOSE[1230] logger.c: -- Executing [s@macro-exten-vm:6] Set("mISDN/3-u169", "CFBEXT=") in new stack
[Jan 19 20:02:59] DEBUG[1230] app_macro.c: Executed application: Set
[Jan 19 20:02:59] VERBOSE[1230] logger.c: -- Executing [s@macro-exten-vm:7] Set("mISDN/3-u169", "RT=""") in new stack
[Jan 19 20:02:59] DEBUG[1230] app_macro.c: Executed application: Set
[Jan 19 20:02:59] VERBOSE[1230] logger.c: -- Executing [s@macro-exten-vm:8] Macro("mISDN/3-u169", "record-enable|26|IN") in new stack
[Jan 19 20:02:59] VERBOSE[1230] logger.c: -- Executing [s@macro-record-enable:1] GotoIf("mISDN/3-u169", "0?2:4") in new stack
[Jan 19 20:02:59] VERBOSE[1230] logger.c: -- Goto (macro-record-enable,s,4)
[Jan 19 20:02:59] DEBUG[1230] app_macro.c: Executed application: GotoIf
[Jan 19 20:02:59] VERBOSE[1230] logger.c: -- Executing [s@macro-record-enable:4] AGI("mISDN/3-u169", "recordingcheck|20120119-200259|1326999779.130") in new stack
[Jan 19 20:02:59] VERBOSE[1230] logger.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
[Jan 19 20:02:59] VERBOSE[1230] logger.c: -- AGI Script recordingcheck completed, returning 0
[Jan 19 20:02:59] DEBUG[1230] app_macro.c: Executed application: AGI
[Jan 19 20:02:59] VERBOSE[1230] logger.c: -- Executing [s@macro-record-enable:5] NoOp("mISDN/3-u169", "No recording needed") in new stack
[Jan 19 20:02:59] DEBUG[1230] app_macro.c: Executed application: Noop
[Jan 19 20:02:59] DEBUG[1230] app_macro.c: Executed application: Macro
[Jan 19 20:02:59] VERBOSE[1230] logger.c: -- Executing [s@macro-exten-vm:9] Macro("mISDN/3-u169", "dial||tr|26") in new stack
[Jan 19 20:02:59] VERBOSE[1230] logger.c: -- Executing [s@macro-dial:1] GotoIf("mISDN/3-u169", "1?dial") in new stack
[Jan 19 20:02:59] VERBOSE[1230] logger.c: -- Goto (macro-dial,s,3)
[Jan 19 20:02:59] DEBUG[1230] app_macro.c: Executed application: GotoIf
[Jan 19 20:02:59] VERBOSE[1230] logger.c: -- Executing [s@macro-dial:3] AGI("mISDN/3-u169", "dialparties.agi") in new stack
[Jan 19 20:02:59] VERBOSE[1230] logger.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
[Jan 19 20:02:59] VERBOSE[1230] logger.c: -- AGI Script dialparties.agi completed, returning 0
[Jan 19 20:02:59] DEBUG[1230] app_macro.c: Executed application: AGI
[Jan 19 20:02:59] VERBOSE[1230] logger.c: -- Executing [s@macro-dial:4] NoOp("mISDN/3-u169", "Returned from dialparties with no extensions to call and DIALSTATUS: ") in new stack
[Jan 19 20:02:59] DEBUG[1230] app_macro.c: Executed application: NoOp
[Jan 19 20:02:59] DEBUG[1230] app_macro.c: Executed application: Macro
[Jan 19 20:02:59] VERBOSE[1230] logger.c: -- Executing [s@macro-exten-vm:10] Set("mISDN/3-u169", "SV_DIALSTATUS=") in new stack
[Jan 19 20:02:59] DEBUG[1230] app_macro.c: Executed application: Set
[Jan 19 20:02:59] VERBOSE[1230] logger.c: -- Executing [s@macro-exten-vm:11] GosubIf("mISDN/3-u169", "0?docfu|1") in new stack
[Jan 19 20:02:59] DEBUG[1230] app_macro.c: Executed application: GosubIf
[Jan 19 20:02:59] VERBOSE[1230] logger.c: -- Executing [s@macro-exten-vm:12] GosubIf("mISDN/3-u169", "0?docfb|1") in new stack
[Jan 19 20:02:59] DEBUG[1230] app_macro.c: Executed application: GosubIf
[Jan 19 20:02:59] VERBOSE[1230] logger.c: -- Executing [s@macro-exten-vm:13] Set("mISDN/3-u169", "DIALSTATUS=") in new stack
[Jan 19 20:02:59] DEBUG[1230] app_macro.c: Executed application: Set
[Jan 19 20:02:59] VERBOSE[1230] logger.c: -- Executing [s@macro-exten-vm:14] NoOp("mISDN/3-u169", "Voicemail is novm") in new stack
[Jan 19 20:02:59] DEBUG[1230] app_macro.c: Executed application: NoOp
[Jan 19 20:02:59] VERBOSE[1230] logger.c: -- Executing [s@macro-exten-vm:15] GotoIf("mISDN/3-u169", "1?s-|1") in new stack
[Jan 19 20:02:59] VERBOSE[1230] logger.c: -- Goto (macro-exten-vm,s-,1)
[Jan 19 20:02:59] DEBUG[1230] app_macro.c: Executed application: GotoIf
[Jan 19 20:02:59] VERBOSE[1230] logger.c: -- Executing [26@from-did-direct:2] Hangup("mISDN/3-u169", "") in new stack
[Jan 19 20:02:59] VERBOSE[1230] logger.c: == Spawn extension (from-did-direct, 26, 2) exited non-zero on 'mISDN/3-u169'
[Jan 19 20:02:59] DEBUG[1230] chan_misdn.c: misdn_hangup(mISDN/3-u169)

Any idea ?

best wishes

Niels



JimmLee
Posts: 14
Member Since:
2011-12-20
My Opinion

To diagnose the issue properly, you need to post your "dialparties.agi" and "dialplan". From the below lines of log

-- Executing [s@macro-dial:3] AGI("mISDN/3-u169", "dialparties.agi") in new stack
[Jan 19 20:02:59] VERBOSE[1230] logger.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
[Jan 19 20:02:59] VERBOSE[1230] logger.c: -- AGI Script dialparties.agi completed, returning 0
[Jan 19 20:02:59] DEBUG[1230] app_macro.c: Executed application: AGI
[Jan 19 20:02:59] VERBOSE[1230] logger.c: -- Executing [s@macro-dial:4] NoOp("mISDN/3-u169", "Returned from dialparties with no extensions to call and DIALSTATUS: ") in new stack

it looks like most of your dialing work is being done in "dialparties.agi" and issue is related very much to it also.



obeliks
Posts: 878
Member Since:
2010-03-14
what does sip show peers

what does sip show peers show ?
your "extensions" are likely to be not registered



nprzybilla
Posts: 41
Member Since:
2006-06-05
Hi, i found the problem ...

Hi,

i found the problem ... i updated to PHP 5.3 ... after downgrade to 5.2 all works ...

best wishes

Niels



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.