Hi I was able to route my DID to my a2billing. But it does not ring the to the extension with the assigned DID.
-- AGI Script Executing Application: (DIAL) Options: (SIP/
[email protected]|30|HL(3600000:61000:30000))
-- Limit Data for this call:
> timelimit = 3600000
> play_warning = 61000
> play_to_caller = yes
> play_to_callee = no
> warning_freq = 30000
> start_sound = (null)
> warning_sound = timeleft
> end_sound = (null)
-- Called
[email protected] -- Got SIP response 482 "Loop Detected" back from x.x.x.x
-- Now forwarding SIP/8194-b7e27720 to 'Local/4149684802@from-sip-external' (thanks to SIP/x.x.x.x-09537170)
-- Executing [4149684802@from-sip-external:1] NoOp("Local/4149684802@from-sip-external-2358,2", "Received incoming SIP connection from unknown peer to 4149684802") in new stack
-- Executing [4149684802@from-sip-external:2] Set("Local/4149684802@from-sip-external-2358,2", "DID=4149684802") in new stack
-- Executing [4149684802@from-sip-external:3] Goto("Local/4149684802@from-sip-external-2358,2", "s|1") in new stack
-- Goto (from-sip-external,s,1)
-- Executing [s@from-sip-external:1] GotoIf("Local/4149684802@from-sip-external-2358,2", "0?from-trunk|4149684802|1") in new stack
-- Executing [s@from-sip-external:2] Set("Local/4149684802@from-sip-external-2358,2", "TIMEOUT(absolute)=15") in new stack
-- Channel will hangup at 2009-08-04 00:13:18 UTC.
-- Executing [s@from-sip-external:3] Answer("Local/4149684802@from-sip-external-2358,2", "") in new stack
-- Executing [s@from-sip-external:4] Wait("Local/4149684802@from-sip-external-2358,2", "2") in new stack
-- Local/4149684802@from-sip-external-2358,1 answered SIP/8194-b7e27720
-- Executing [s@from-sip-external:5] Playback("Local/4149684802@from-sip-external-2358,2", "ss-noservice") in new stack
-- <Local/4149684802@from-sip-external-2358,2> Playing 'ss-noservice' (language 'en')
-- Executing [s@from-sip-external:6] PlayTones("Local/4149684802@from-sip-external-2358,2", "congestion") in new stack
-- Executing [s@from-sip-external:7] Congestion("Local/4149684802@from-sip-external-2358,2", "5") in new stack
== Spawn extension (from-sip-external, s, 7) exited non-zero on 'Local/4149684802@from-sip-external-2358,2'
-- Executing [h@from-sip-external:1] NoOp("Local/4149684802@from-sip-external-2358,2", "Hangup") in new stack
-- Executing [h@from-sip-external:2] Set("Local/4149684802@from-sip-external-2358,2", "DID=s") in new stack
-- Executing [h@from-sip-external:3] Goto("Local/4149684802@from-sip-external-2358,2", "s|1") in new stack
-- Goto (from-sip-external,s,1)
-- Executing [s@from-sip-external:1] GotoIf("Local/4149684802@from-sip-external-2358,2", "0?from-trunk|s|1") in new stack
-- Executing [s@from-sip-external:2] Set("Local/4149684802@from-sip-external-2358,2", "TIMEOUT(absolute)=15") in new stack
-- Channel will hangup at 2009-08-04 00:13:26 UTC.
-- Executing [s@from-sip-external:3] Answer("Local/4149684802@from-sip-external-2358,2", "") in new stack
== Spawn extension (from-sip-external, s, 3) exited non-zero on 'Local/4149684802@from-sip-external-2358,2'
-- AGI Script a2billing.php completed, returning 0
Out going is already working. Just a problem with incoming. Please help.