[asterisk-users] Odd Local Channel and 0 billsec issue

Ishfaq Malik ish at pack-net.co.uk
Mon Nov 23 03:27:56 CST 2009


I only got this the other day, wont go into why it's taken so long though...

[Nov 20 10:15:25] VERBOSE[3946] logger.c:     -- Executing 
Answer("SIP/IP-ADDRESS-c404b3c0", "")
[Nov 20 10:15:25] VERBOSE[3946] logger.c:     -- Executing 
Wait("SIP/IP-ADDRESS-c404b3c0", "2")
[Nov 20 10:15:27] VERBOSE[3946] logger.c:     -- Executing 
Set("SIP/IP-ADDRESS-c404b3c0", "CALLERID(num)=NUMBER")
[Nov 20 10:15:27] VERBOSE[3946] logger.c:     -- Executing 
Dial("SIP/IP-ADDRESS-c404b3c0", "SIP/AOGW100&SIP/AOGW101|20")
[Nov 20 10:15:27] VERBOSE[3946] logger.c:     -- Called AOGW100
[Nov 20 10:15:27] VERBOSE[3946] logger.c:     -- Called AOGW101
[Nov 20 10:15:27] VERBOSE[29370] logger.c:     -- Got SIP response 302 
"Moved Temporarily" back from IPADDRESS
[Nov 20 10:15:27] VERBOSE[3946] logger.c:     -- Now forwarding 
SIP/IP-ADDRESS-c404b3c0 to 'Local/DIALLED-NUMBER at aogw-local' (thanks to 
SIP/AOGW100-0095a6b0)
[Nov 20 10:15:27] VERBOSE[3949] logger.c:     -- Executing 
Macro("Local/DIALLED-NUMBER at aogw-local-ecb8,2", 
"extcall|DIALLED-NUMBER|CLID")
[Nov 20 10:15:27] VERBOSE[3949] logger.c:     -- Executing 
[s at macro-extcall:1] Set("Local/DIALLED-NUMBER at aogw-local-ecb8,2", 
"CALLERID(all)=CLID") in new stack
[Nov 20 10:15:27] VERBOSE[3949] logger.c:     -- Executing 
[s at macro-extcall:2] Dial("Local/DIALLED-NUMBER at aogw-local-ecb8,2", 
"SIP/DIALLED-NUMBER at magrathea") in new stack
[Nov 20 10:15:27] VERBOSE[3949] logger.c:     -- Called 
DIALLED-NUMBER at magrathea
[Nov 20 10:15:27] VERBOSE[3946] logger.c:     -- SIP/AOGW101-00aa80d0 is 
ringing


I've obscured some of the sensitive data.

I would have thought there is a forward set up from one of the handsets 
but why would it use a Local channel, I've tested this before and it 
used a SIP channel in all of my tests.

Ish

Warren Selby wrote:
> CLI output of calls that go through the local channel instead of the 
> defined channel would be useful to help diagnose what's going on here.
>
> Thanks,
> --Warren Selby
>
> On Mon, Nov 16, 2009 at 4:01 AM, Ishfaq Malik <ish at pack-net.co.uk 
> <mailto:ish at pack-net.co.uk>> wrote:
>
>     Hi
>
>     I've been noticing an odd issue with our servers (1.4.17) where a
>     large
>     number of one particular customer's (we operate a hosted VoIP
>     platform)
>     calls go through a Local channel rather than the SIP channel and
>     whenever this happens our asterisk CDR is recording a billsec
>     value of 0.
>
>     Our outgoing calls to POTS are sent through a separate carrier and we
>     get a daily CDR off them in which these same calls have a non 0
>     duration
>     so we are obviously making a loss on these calls.
>
>     All out customers outgoing calls go through the same macro which is as
>     follows
>     [macro-extcall]
>     ;Macro created by Ish to handle external calls
>     exten => s,1,Set(CALLERID(all)=${ARG2})
>     exten => s,2,Dial(SIP/44${ARG1}@carrier)
>     exten => s,3,Hangup
>     exten => s,102,Playtones(busy)
>     exten => s,103,Congestion
>
>     I've seen the same issue very occasionally with other customers
>     but with
>     one particular customer a large proportion, but not all the calls show
>     this issue.
>
>     Has anyone had any experience of similar issues?
>
>     Thanks in advance
>
>     Ish
>     --
>     Ishfaq Malik
>     Software Developer
>     PackNet Ltd
>
>     Office:   0161 660 3062
>
>     _______________________________________________
>     -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
>     asterisk-users mailing list
>     To UNSUBSCRIBE or update options visit:
>       http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>
>
> -- 
> Thanks,
> --Warren Selby
> http://www.selbytech.com
> ------------------------------------------------------------------------
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
Ishfaq Malik
Software Developer
PackNet Ltd

Office:   0161 660 3062



More information about the asterisk-users mailing list