hello experts,
400,402,403 are extensions of server 140.0.4.232
300,301,302 are extensions of server 140.0.4.231
and we registered extensions 400 and 402 in the server 140.0.4.231 as given below
In extensions.conf
[from-mysipprovider]
exten =>400.1, Answer
; 1234 is the extension contact. The default extension contact is "s"
exten => 400.2,Dial(SIP/300,25,Ttr)
; Incoming calls are redirected to a SIP telephone number 111
exten => 400.3,Hangup
[from-mysipprovider1]
exten =>402.1, Answer
; 1234 is the extension contact. The default extension contact is "s"
exten => 402.2,Dial(SIP/300,25,Ttr)
; Incoming calls are redirected to a SIP telephone number 111
exten => 402.3,Hangup
exten => _8.,1,Dial(SIP/${EXTEN:1}@mysipprovider-out,30,r)
exten => _9.,1,Dial(SIP/${EXTEN:1}@mysipprovider1-out,30,r)
In sipconf
[general]
register => 400:sec400@140.0.4.232/300
register => 402:sec402@140.0.4.232/300
[mysipprovider-out]
type=peer
secret=sec400
username=400
host=140.0.4.232
fromuser=400
fromdomain=140.0.4.232
canreinvite=no
insecure=invite,port
qualify=yes
disallow=all
allow=ulaw
allow=alaw
allow=g729
nat=yes
context=from-mysipprovider
;[mysipprovider1-out]
;type=user
;secret=sec402
;username=402
;host=140.0.4.232
;fromuser=402
;fromdomain=140.0.4.232
;canreinvite=no
;insecure=invite,port
;qualify=yes
;disallow=all
;allow=ulaw
;allow=alaw
;allow=g729
;nat=yes
;context=from-mysipprovider1
on giving type=peer only outgoing call is working (from server 140.0.4.231 to 140.0.4.232 ie from extension 300 to extension 403by dialing 9403).
Then the log file contain
[Oct 14 06:52:24] NOTICE[2623] chan_sip.c: Peer ‘300’ is now Reachable. (51ms / 2000ms)
[Oct 14 06:53:16] VERBOSE[2788] logger.c: – Executing [9403@from-internal:1] Dial(“SIP/300-00000000”, “SIP/403@mysipprovider-out|30|r”) in new stack
[Oct 14 06:53:16] VERBOSE[2788] logger.c: – Called 403@mysipprovider-out
[Oct 14 06:53:16] VERBOSE[2788] logger.c: – SIP/mysipprovider-out-00000001 is ringing
[Oct 14 06:53:20] VERBOSE[2788] logger.c: == Spawn extension (from-internal, 9403, 1) exited non-zero on ‘SIP/300-00000000’
[Oct 14 06:53:20] VERBOSE[2788] logger.c: – Executing [h@from-internal:1] Macro(“SIP/300-00000000”, “hangupcall”) in new stack
[Oct 14 06:53:20] VERBOSE[2788] logger.c: – Executing [s@macro-hangupcall:1] GotoIf(“SIP/300-00000000”, “1?skiprg”) in new stack
[Oct 14 06:53:20] VERBOSE[2788] logger.c: – Goto (macro-hangupcall,s,4)
[Oct 14 06:53:20] DEBUG[2788] app_macro.c: Executed application: GotoIf
[Oct 14 06:53:20] VERBOSE[2788] logger.c: – Executing [s@macro-hangupcall:4] GotoIf(“SIP/300-00000000”, “1?skipblkvm”) in new stack
[Oct 14 06:53:20] VERBOSE[2788] logger.c: – Goto (macro-hangupcall,s,7)
[Oct 14 06:53:20] DEBUG[2788] app_macro.c: Executed application: GotoIf
[Oct 14 06:53:20] VERBOSE[2788] logger.c: – Executing [s@macro-hangupcall:7] GotoIf(“SIP/300-00000000”, “1?theend”) in new stack
[Oct 14 06:53:20] VERBOSE[2788] logger.c: – Goto (macro-hangupcall,s,9)
[Oct 14 06:53:20] DEBUG[2788] app_macro.c: Executed application: GotoIf
[Oct 14 06:53:20] VERBOSE[2788] logger.c: – Executing [s@macro-hangupcall:9] Hangup(“SIP/300-00000000”, “”) in new stack
[Oct 14 06:53:20] VERBOSE[2788] logger.c: == Spawn extension (macro-hangupcall, s, 9) exited non-zero on ‘SIP/300-00000000’ in macro ‘hangupcall’
[Oct 14 06:53:20] VERBOSE[2788] logger.c: == Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/300-00000000’
;[mysipprovider-out]
;type=peer
;secret=sec400
;username=400
;host=140.0.4.232
;fromuser=400
;fromdomain=140.0.4.232
;canreinvite=no
;insecure=invite,port
;qualify=yes
;disallow=all
;allow=ulaw
;allow=alaw
;allow=g729
;nat=yes
;context=from-mysipprovider
[mysipprovider1-out]
type=user
secret=sec402
username=402
host=140.0.4.232
fromuser=402
fromdomain=140.0.4.232
canreinvite=no
insecure=invite,port
qualify=yes
disallow=all
allow=ulaw
allow=alaw
allow=g729
nat=yes
context=from-mysipprovider1
on giving type=user only incoming call is working (from server 140.0.4.232 to 140.0.4.231 ie from extension 403 to extension 400 is redirecting the call to 300).
Then the log file contain
[Oct 14 07:06:48] VERBOSE[2846] logger.c: – Executing [300@from-sip-external:1] NoOp(“SIP/140.0.4.232-00000004”, “Received incoming SIP connection from unknown peer to 300”) in new stack
[Oct 14 07:06:48] VERBOSE[2846] logger.c: – Executing [300@from-sip-external:2] Set(“SIP/140.0.4.232-00000004”, “DID=300”) in new stack
[Oct 14 07:06:48] VERBOSE[2846] logger.c: – Executing [300@from-sip-external:3] Goto(“SIP/140.0.4.232-00000004”, “s|1”) in new stack
[Oct 14 07:06:48] VERBOSE[2846] logger.c: – Goto (from-sip-external,s,1)
[Oct 14 07:06:48] VERBOSE[2846] logger.c: – Executing [s@from-sip-external:1] GotoIf(“SIP/140.0.4.232-00000004”, “1?checklang:noanonymous”) in new stack
[Oct 14 07:06:48] VERBOSE[2846] logger.c: – Goto (from-sip-external,s,2)
[Oct 14 07:06:48] VERBOSE[2846] logger.c: – Executing [s@from-sip-external:2] GotoIf(“SIP/140.0.4.232-00000004”, “0?setlanguage:from-trunk|300|1”) in new stack
[Oct 14 07:06:48] VERBOSE[2846] logger.c: – Goto (from-trunk,300,1)
[Oct 14 07:06:48] VERBOSE[2846] logger.c: – Executing [300@from-trunk:1] Macro(“SIP/140.0.4.232-00000004”, “exten-vm|novm|300”) in new stack
[Oct 14 07:06:48] VERBOSE[2846] logger.c: – Executing [s@macro-exten-vm:1] Macro(“SIP/140.0.4.232-00000004”, “user-callerid”) in new stack
[Oct 14 07:06:48] VERBOSE[2846] logger.c: – Executing [s@macro-user-callerid:1] Set(“SIP/140.0.4.232-00000004”, “AMPUSER=403”) in new stack
[Oct 14 07:06:48] DEBUG[2846] app_macro.c: Executed application: Set
[Oct 14 07:06:48] VERBOSE[2846] logger.c: – Executing [s@macro-user-callerid:2] GotoIf(“SIP/140.0.4.232-00000004”, “0?report”) in new stack
[Oct 14 07:06:48] DEBUG[2846] app_macro.c: Executed application: GotoIf
[Oct 14 07:06:48] VERBOSE[2846] logger.c: – Executing [s@macro-user-callerid:3] ExecIf(“SIP/140.0.4.232-00000004”, “1|Set|REALCALLERIDNUM=403”) in new stack
[Oct 14 07:06:48] DEBUG[2846] app_macro.c: Executed application: ExecIf
[Oct 14 07:06:48] DEBUG[2846] func_db.c: DB: DEVICE/403/user not found in database.
[Oct 14 07:06:48] VERBOSE[2846] logger.c: – Executing [s@macro-user-callerid:4] Set(“SIP/140.0.4.232-00000004”, “AMPUSER=”) in new stack
[Oct 14 07:06:48] DEBUG[2846] app_macro.c: Executed application: Set
[Oct 14 07:06:48] DEBUG[2846] func_db.c: DB: AMPUSER//cidname not found in database.
[Oct 14 07:06:48] VERBOSE[2846] logger.c: – Executing [s@macro-user-callerid:5] Set(“SIP/140.0.4.232-00000004”, “AMPUSERCIDNAME=”) in new stack
[Oct 14 07:06:48] DEBUG[2846] app_macro.c: Executed application: Set
[Oct 14 07:06:48] VERBOSE[2846] logger.c: – Executing [s@macro-user-callerid:6] GotoIf(“SIP/140.0.4.232-00000004”, “1?report”) in new stack
[Oct 14 07:06:48] VERBOSE[2846] logger.c: – Goto (macro-user-callerid,s,9)
[Oct 14 07:06:48] DEBUG[2846] app_macro.c: Executed application: GotoIf
[Oct 14 07:06:48] VERBOSE[2846] logger.c: – Executing [s@macro-user-callerid:9] GotoIf(“SIP/140.0.4.232-00000004”, “0?continue”) in new stack
[Oct 14 07:06:48] DEBUG[2846] app_macro.c: Executed application: GotoIf
[Oct 14 07:06:48] VERBOSE[2846] logger.c: – Executing [s@macro-user-callerid:10] Set(“SIP/140.0.4.232-00000004”, “__TTL=64”) in new stack
[Oct 14 07:06:48] DEBUG[2846] app_macro.c: Executed application: Set
[Oct 14 07:06:48] VERBOSE[2846] logger.c: – Executing [s@macro-user-callerid:11] GotoIf(“SIP/140.0.4.232-00000004”, “1?continue”) in new stack
[Oct 14 07:06:48] VERBOSE[2846] logger.c: – Goto (macro-user-callerid,s,18)
[Oct 14 07:06:48] DEBUG[2846] app_macro.c: Executed application: GotoIf
[Oct 14 07:06:48] VERBOSE[2846] logger.c: – Executing [s@macro-user-callerid:18] NoOp(“SIP/140.0.4.232-00000004”, “Using CallerID “403” <403>”) in new stack
[Oct 14 07:06:48] DEBUG[2846] app_macro.c: Executed application: Noop
[Oct 14 07:06:48] DEBUG[2846] app_macro.c: Executed application: Macro
[Oct 14 07:06:48] VERBOSE[2846] logger.c: – Executing [s@macro-exten-vm:2] Set(“SIP/140.0.4.232-00000004”, “RingGroupMethod=none”) in new stack
[Oct 14 07:06:48] DEBUG[2846] app_macro.c: Executed application: Set
[Oct 14 07:06:48] VERBOSE[2846] logger.c: – Executing [s@macro-exten-vm:3] Set(“SIP/140.0.4.232-00000004”, “VMBOX=novm”) in new stack
[Oct 14 07:06:48] DEBUG[2846] app_macro.c: Executed application: Set
[Oct 14 07:06:48] VERBOSE[2846] logger.c: – Executing [s@macro-exten-vm:4] Set(“SIP/140.0.4.232-00000004”, “EXTTOCALL=300”) in new stack
[Oct 14 07:06:48] DEBUG[2846] app_macro.c: Executed application: Set
[Oct 14 07:06:48] DEBUG[2846] func_db.c: DB: CFU/300 not found in database.
[Oct 14 07:06:49] VERBOSE[2846] logger.c: – Executing [s@macro-exten-vm:5] Set(“SIP/140.0.4.232-00000004”, “CFUEXT=”) in new stack
[Oct 14 07:06:49] DEBUG[2846] app_macro.c: Executed application: Set
[Oct 14 07:06:49] DEBUG[2846] func_db.c: DB: CFB/300 not found in database.
[Oct 14 07:06:49] VERBOSE[2846] logger.c: – Executing [s@macro-exten-vm:6] Set(“SIP/140.0.4.232-00000004”, “CFBEXT=”) in new stack
[Oct 14 07:06:49] DEBUG[2846] app_macro.c: Executed application: Set
[Oct 14 07:06:49] VERBOSE[2846] logger.c: – Executing [s@macro-exten-vm:7] Set(“SIP/140.0.4.232-00000004”, “RT=”"") in new stack
[Oct 14 07:06:49] DEBUG[2846] app_macro.c: Executed application: Set
[Oct 14 07:06:49] VERBOSE[2846] logger.c: – Executing [s@macro-exten-vm:8] Macro(“SIP/140.0.4.232-00000004”, “record-enable|300|IN”) in new stack
[Oct 14 07:06:49] VERBOSE[2846] logger.c: – Executing [s@macro-record-enable:1] GotoIf(“SIP/140.0.4.232-00000004”, “1?check”) in new stack
[Oct 14 07:06:49] VERBOSE[2846] logger.c: – Goto (macro-record-enable,s,4)
[Oct 14 07:06:49] DEBUG[2846] app_macro.c: Executed application: GotoIf
[Oct 14 07:06:49] VERBOSE[2846] logger.c: – Executing [s@macro-record-enable:4] AGI(“SIP/140.0.4.232-00000004”, “recordingcheck|20121014-070649|1350178608.4”) in new stack
[Oct 14 07:06:49] VERBOSE[2846] logger.c: – Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
[Oct 14 07:06:49] VERBOSE[2846] logger.c: recordingcheck|20121014-070649|1350178608.4: Inbound recording not enabled
[Oct 14 07:06:49] VERBOSE[2846] logger.c: – AGI Script recordingcheck completed, returning 0
[Oct 14 07:06:49] DEBUG[2846] app_macro.c: Executed application: AGI
[Oct 14 07:06:49] VERBOSE[2846] logger.c: – Executing [s@macro-record-enable:5] MacroExit(“SIP/140.0.4.232-00000004”, “”) in new stack
[Oct 14 07:06:49] DEBUG[2846] app_macro.c: Executed application: Macro
[Oct 14 07:06:49] VERBOSE[2846] logger.c: – Executing [s@macro-exten-vm:9] Macro(“SIP/140.0.4.232-00000004”, “dial||tr|300”) in new stack
[Oct 14 07:06:49] VERBOSE[2846] logger.c: – Executing [s@macro-dial:1] GotoIf(“SIP/140.0.4.232-00000004”, “1?dial”) in new stack
[Oct 14 07:06:49] VERBOSE[2846] logger.c: – Goto (macro-dial,s,3)
[Oct 14 07:06:49] DEBUG[2846] app_macro.c: Executed application: GotoIf
[Oct 14 07:06:49] VERBOSE[2846] logger.c: – Executing [s@macro-dial:3] AGI(“SIP/140.0.4.232-00000004”, “dialparties.agi”) in new stack
[Oct 14 07:06:49] VERBOSE[2846] logger.c: – Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
[Oct 14 07:06:49] VERBOSE[2846] logger.c: dialparties.agi: Starting New Dialparties.agi
[Oct 14 07:06:49] VERBOSE[2849] logger.c: == Parsing ‘/etc/asterisk/manager.conf’: [Oct 14 07:06:49] VERBOSE[2849] logger.c: Found
[Oct 14 07:06:49] VERBOSE[2849] logger.c: == Parsing ‘/etc/asterisk/manager_additional.conf’: [Oct 14 07:06:49] VERBOSE[2849] logger.c: Found
[Oct 14 07:06:49] VERBOSE[2849] logger.c: == Parsing ‘/etc/asterisk/manager_custom.conf’: [Oct 14 07:06:49] VERBOSE[2849] logger.c: Found
[Oct 14 07:06:49] VERBOSE[2849] logger.c: == Manager ‘admin’ logged on from 127.0.0.1
[Oct 14 07:06:49] VERBOSE[2846] logger.c: dialparties.agi: Caller ID name is ‘403’ number is ‘403’
[Oct 14 07:06:49] VERBOSE[2846] logger.c: dialparties.agi: Methodology of ring is ‘none’
[Oct 14 07:06:49] VERBOSE[2846] logger.c: – dialparties.agi: Added extension 300 to extension map
[Oct 14 07:06:49] VERBOSE[2846] logger.c: – dialparties.agi: Extension 300 cf is disabled
[Oct 14 07:06:49] VERBOSE[2846] logger.c: – dialparties.agi: Extension 300 do not disturb is disabled
[Oct 14 07:06:49] VERBOSE[2846] logger.c: dialparties.agi: ExtensionState: 0
[Oct 14 07:06:49] VERBOSE[2846] logger.c: – dialparties.agi: dbset CALLTRACE/300 to 403
[Oct 14 07:06:49] VERBOSE[2846] logger.c: – dialparties.agi: Filtered ARG3: 300
[Oct 14 07:06:49] VERBOSE[2849] logger.c: == Manager ‘admin’ logged off from 127.0.0.1
[Oct 14 07:06:49] VERBOSE[2846] logger.c: – AGI Script dialparties.agi completed, returning 0
[Oct 14 07:06:49] DEBUG[2846] app_macro.c: Executed application: AGI
[Oct 14 07:06:49] VERBOSE[2846] logger.c: – Executing [s@macro-dial:7] Dial(“SIP/140.0.4.232-00000004”, “SIP/300||tr”) in new stack
[Oct 14 07:06:49] VERBOSE[2846] logger.c: – Called 300
[Oct 14 07:06:49] VERBOSE[2846] logger.c: – SIP/300-00000005 is ringing
[Oct 14 07:06:55] VERBOSE[2846] logger.c: == Spawn extension (macro-dial, s, 7) exited non-zero on ‘SIP/140.0.4.232-00000004’ in macro ‘dial’
[Oct 14 07:06:55] VERBOSE[2846] logger.c: == Spawn extension (macro-exten-vm, s, 9) exited non-zero on ‘SIP/140.0.4.232-00000004’ in macro ‘exten-vm’
[Oct 14 07:06:55] VERBOSE[2846] logger.c: == Spawn extension (from-trunk, 300, 1) exited non-zero on ‘SIP/140.0.4.232-00000004’
[Oct 14 07:06:55] VERBOSE[2846] logger.c: – Executing [h@macro-dial:1] Macro(“SIP/140.0.4.232-00000004”, “hangupcall”) in new stack
[Oct 14 07:06:55] VERBOSE[2846] logger.c: – Executing [s@macro-hangupcall:1] GotoIf(“SIP/140.0.4.232-00000004”, “1?skiprg”) in new stack
[Oct 14 07:06:55] VERBOSE[2846] logger.c: – Goto (macro-hangupcall,s,4)
[Oct 14 07:06:55] DEBUG[2846] app_macro.c: Executed application: GotoIf
[Oct 14 07:06:55] VERBOSE[2846] logger.c: – Executing [s@macro-hangupcall:4] GotoIf(“SIP/140.0.4.232-00000004”, “1?skipblkvm”) in new stack
[Oct 14 07:06:55] VERBOSE[2846] logger.c: – Goto (macro-hangupcall,s,7)
[Oct 14 07:06:55] DEBUG[2846] app_macro.c: Executed application: GotoIf
[Oct 14 07:06:55] VERBOSE[2846] logger.c: – Executing [s@macro-hangupcall:7] GotoIf(“SIP/140.0.4.232-00000004”, “1?theend”) in new stack
[Oct 14 07:06:55] VERBOSE[2846] logger.c: – Goto (macro-hangupcall,s,9)
[Oct 14 07:06:55] DEBUG[2846] app_macro.c: Executed application: GotoIf
[Oct 14 07:06:55] VERBOSE[2846] logger.c: – Executing [s@macro-hangupcall:9] Hangup(“SIP/140.0.4.232-00000004”, “”) in new stack
[Oct 14 07:06:55] VERBOSE[2846] logger.c: == Spawn extension (macro-hangupcall, s, 9) exited non-zero on ‘SIP/140.0.4.232-00000004’ in macro ‘hangupcall’
[Oct 14 07:06:55] VERBOSE[2846] logger.c: == Spawn extension (macro-dial, h, 1) exited non-zero on ‘SIP/140.0.4.232-00000004’
[mysipprovider-out]
type=peer
secret=sec400
username=400
host=140.0.4.232
fromuser=400
fromdomain=140.0.4.232
canreinvite=no
insecure=invite,port
qualify=yes
disallow=all
allow=ulaw
allow=alaw
allow=g729
nat=yes
context=from-mysipprovider
[mysipprovider1-out]
type=user
secret=sec402
username=402
host=140.0.4.232
fromuser=402
fromdomain=140.0.4.232
canreinvite=no
insecure=invite,port
qualify=yes
disallow=all
allow=ulaw
allow=alaw
allow=g729
nat=yes
context=from-mysipprovider1
on giving both the context only type=peer ie only outgoing call is working.
on making incoming calls its showing server unreachable.
The log file contain
[Oct 14 07:14:51] NOTICE[2623] chan_sip.c: Call from ‘400’ to extension ‘300’ rejected because extension not found.
On making outgoing calls
The log file contain
[Oct 14 07:17:16] VERBOSE[2867] logger.c: – Executing [8403@from-internal:1] Dial(“SIP/300-00000006”, “SIP/403@mysipprovider-out|30|r”) in new stack
[Oct 14 07:17:16] VERBOSE[2867] logger.c: – Called 403@mysipprovider-out
[Oct 14 07:17:17] VERBOSE[2867] logger.c: – SIP/mysipprovider-out-00000007 is ringing
[Oct 14 07:17:18] VERBOSE[2867] logger.c: – SIP/mysipprovider-out-00000007 is making progress passing it to SIP/300-00000006
[Oct 14 07:17:18] VERBOSE[2623] logger.c: – Got SIP response 486 “Busy Here” back from 140.0.4.232
[Oct 14 07:17:18] VERBOSE[2867] logger.c: – SIP/mysipprovider-out-00000007 is busy
[Oct 14 07:17:18] VERBOSE[2867] logger.c: == Everyone is busy/congested at this time (1:1/0/0)
[Oct 14 07:17:18] VERBOSE[2867] logger.c: – Executing [8403@from-internal:2] NoCDR(“SIP/300-00000006”, “”) in new stack
[Oct 14 07:17:18] VERBOSE[2867] logger.c: – Executing [8403@from-internal:3] Wait(“SIP/300-00000006”, “1”) in new stack
[Oct 14 07:17:19] VERBOSE[2867] logger.c: – Executing [8403@from-internal:4] Playback(“SIP/300-00000006”, “silence/1&cannot-complete-as-dialed&check-number-dial-again|noanswer”) in new stack
[Oct 14 07:17:19] VERBOSE[2867] logger.c: – <SIP/300-00000006> Playing ‘silence/1’ (language ‘en’)
[Oct 14 07:17:20] WARNING[2867] file.c: File cannot-complete-as-dialed does not exist in any format
[Oct 14 07:17:20] WARNING[2867] file.c: Unable to open cannot-complete-as-dialed (format 0x4 (ulaw)): No such file or directory
[Oct 14 07:17:20] WARNING[2867] app_playback.c: ast_streamfile failed on SIP/300-00000006 for silence/1&cannot-complete-as-dialed&check-number-dial-again|noanswer
[Oct 14 07:17:20] WARNING[2867] file.c: File check-number-dial-again does not exist in any format
[Oct 14 07:17:20] WARNING[2867] file.c: Unable to open check-number-dial-again (format 0x4 (ulaw)): No such file or directory
[Oct 14 07:17:20] WARNING[2867] app_playback.c: ast_streamfile failed on SIP/300-00000006 for silence/1&cannot-complete-as-dialed&check-number-dial-again|noanswer
[Oct 14 07:17:20] VERBOSE[2867] logger.c: – Executing [8403@from-internal:5] Wait(“SIP/300-00000006”, “1”) in new stack
[Oct 14 07:17:21] VERBOSE[2867] logger.c: – Executing [8403@from-internal:6] Congestion(“SIP/300-00000006”, “20”) in new stack
[Oct 14 07:17:21] VERBOSE[2867] logger.c: == Spawn extension (from-internal, 8403, 6) exited non-zero on ‘SIP/300-00000006’
[Oct 14 07:17:21] VERBOSE[2867] logger.c: – Executing [h@from-internal:1] Macro(“SIP/300-00000006”, “hangupcall”) in new stack
[Oct 14 07:17:21] VERBOSE[2867] logger.c: – Executing [s@macro-hangupcall:1] GotoIf(“SIP/300-00000006”, “1?skiprg”) in new stack
[Oct 14 07:17:21] VERBOSE[2867] logger.c: – Goto (macro-hangupcall,s,4)
[Oct 14 07:17:21] DEBUG[2867] app_macro.c: Executed application: GotoIf
[Oct 14 07:17:21] VERBOSE[2867] logger.c: – Executing [s@macro-hangupcall:4] GotoIf(“SIP/300-00000006”, “1?skipblkvm”) in new stack
[Oct 14 07:17:21] VERBOSE[2867] logger.c: – Goto (macro-hangupcall,s,7)
[Oct 14 07:17:21] DEBUG[2867] app_macro.c: Executed application: GotoIf
[Oct 14 07:17:21] VERBOSE[2867] logger.c: – Executing [s@macro-hangupcall:7] GotoIf(“SIP/300-00000006”, “1?theend”) in new stack
[Oct 14 07:17:21] VERBOSE[2867] logger.c: – Goto (macro-hangupcall,s,9)
[Oct 14 07:17:21] DEBUG[2867] app_macro.c: Executed application: GotoIf
[Oct 14 07:17:21] VERBOSE[2867] logger.c: – Executing [s@macro-hangupcall:9] Hangup(“SIP/300-00000006”, “”) in new stack
[Oct 14 07:17:21] VERBOSE[2867] logger.c: == Spawn extension (macro-hangupcall, s, 9) exited non-zero on ‘SIP/300-00000006’ in macro ‘hangupcall’
[Oct 14 07:17:21] VERBOSE[2867] logger.c: == Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/300-00000006’
Thanks in advance…