jroper wrote:
Hi
Code:
[a2billing]
exten => _1xxx,1,Dial(Local/${EXTEN}@a2billing_callingcad/n,60,gr); pour similation d'un trunk local
You spelled callingcard wrong.
I'd advise you create your SIP peers in a2billing.
Yours
Joe
Hi joe;
Please can you help me to give an example of SIP peers in a2billing?
I try to create a custome and modify my file /etc/asterisk/extensions_a2billing.conf and now i have this message:
[Apr 8 13:12:59] NOTICE[2539]: chan_sip.c:24850 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 1003
-- Playing 'prepaid-you-have' (escape_digits=#) (sample_offset 0)
-- <SIP/1003-00000007> Playing 'digits/8.gsm' (language 'en')
-- <SIP/1003-00000007> Playing 'digits/hundred.gsm' (language 'en')
-- <SIP/1003-00000007> Playing 'digits/20.gsm' (language 'en')
-- <SIP/1003-00000007> Playing 'digits/6.gsm' (language 'en')
-- <SIP/1003-00000007> Playing 'digits/thousand.gsm' (language 'en')
-- <SIP/1003-00000007> Playing 'digits/4.gsm' (language 'en')
-- <SIP/1003-00000007> Playing 'digits/hundred.gsm' (language 'en')
-- <SIP/1003-00000007> Playing 'digits/40.gsm' (language 'en')
-- <SIP/1003-00000007> Playing 'digits/6.gsm' (language 'en')
-- Playing 'credit' (escape_digits=#) (sample_offset 0)
-- Playing 'vm-and' (escape_digits=#) (sample_offset 0)
-- <SIP/1003-00000007> Playing 'digits/20.gsm' (language 'en')
-- <SIP/1003-00000007> Playing 'digits/8.gsm' (language 'en')
-- Playing 'prepaid-cents' (escape_digits=#) (sample_offset 0)
-- <SIP/1003-00000007> Playing 'prepaid-sipiax-press9.gsm' (language 'en')
-- <SIP/1003-00000007> Playing 'prepaid-enter-dest.gsm' (language 'en')
-- Playing 'prepaid-dest-unreachable' (escape_digits=#) (sample_offset 0)
-- <SIP/1003-00000007> Playing 'prepaid-sipiax-press9.gsm' (language 'en')
-- <SIP/1003-00000007> Playing 'prepaid-sipiax-enternumber.gsm' (language 'en')
-- Playing 'prepaid-sipiax-num-nomatch' (escape_digits=#) (sample_offset 0)
-- <SIP/1003-00000007> Playing 'prepaid-sipiax-press9.gsm' (language 'en')
-- <SIP/1003-00000007> Playing 'prepaid-enter-dest.gsm' (language 'en')
-- Playing 'prepaid-you-have' (escape_digits=#) (sample_offset 0)
-- <SIP/1003-00000007> Playing 'digits/40.gsm' (language 'en')
-- Playing 'prepaid-minutes' (escape_digits=#) (sample_offset 0)
-- AGI Script Executing Application: (DIAL) Options: (local/a2billing/1001,60,HRrL(2400000:61000:30000))
> Limit Data for this call:
> timelimit = 2400000 ms (2400.000 s)
> play_warning = 61000 ms (61.000 s)
> play_to_caller = yes
> play_to_callee = no
> warning_freq = 30000 ms (30.000 s)
> start_sound =
> warning_sound = timeleft
> end_sound =
[Apr 8 13:14:36] NOTICE[5051]: chan_local.c:899 local_call: No such extension/context a2billing@default while calling Local channel
-- Couldn't call local/a2billing/1001
== Everyone is busy/congested at this time (0:0/0/0)
-- Playing 'prepaid-dest-unreachable' (escape_digits=#) (sample_offset 0)
-- <SIP/1003-00000007>AGI Script a2billing.php completed, returning 4
== Spawn extension (a2billing, 9, 3) exited non-zero on 'SIP/1003-00000007'