J'ai essayer de changer la syntaxe et l'erreur est différente.
Code:
-- Executing [00158181010@users:1] Dial("SIP/13-00000002", "SIP/0158181010/ovh-out") in new stack
[Mar 13 16:57:36] WARNING[19899][C-00000002]: chan_sip.c:6160 create_addr: Purely numeric hostname (0158181010), and not a peer--rejecting!
[Mar 13 16:57:36] WARNING[19899][C-00000002]: app_dial.c:2437 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Subscriber absent)
== Everyone is busy/congested at this time (1:0/0/1)
-- Auto fallthrough, channel 'SIP/13-00000002' status is 'CHANUNAVAIL'
ipbx-v2*CLI> exit
Asterisk cleanly ending (0).
Executing last minute cleanups
ipbx-v2:/etc/asterisk# nano extensions.conf
ipbx-v2:/etc/asterisk# /etc/init.d/asterisk restart
Stopping Asterisk PBX: asterisk.
Starting Asterisk PBX: asterisk.
ipbx-v2:/etc/asterisk# asterisk -rvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
Privilege escalation protection disabled!
See https://wiki.asterisk.org/wiki/x/1gKfAQ for more details.
Asterisk 11.7.0~dfsg-1+b1, Copyright (C) 1999 - 2013 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk 11.7.0~dfsg-1+b1 currently running on ipbx-v2 (pid = 19920)
== Using SIP RTP CoS mark 5
-- Executing [00603357850@users:1] Dial("SIP/34-00000000", "SIP/0603357850/ovh-out,,r") in new stack
[Mar 13 16:58:00] WARNING[19967][C-00000000]: chan_sip.c:6160 create_addr: Purely numeric hostname (0603357850), and not a peer--rejecting!
[Mar 13 16:58:00] WARNING[19967][C-00000000]: app_dial.c:2437 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Subscriber absent)
== Everyone is busy/congested at this time (1:0/0/1)
-- Auto fallthrough, channel 'SIP/34-00000000' status is 'CHANUNAVAIL'
> Saved useragent "C610 IP/42.075.00.000.000" for peer 33