Quantcast
Channel: Asterisk Forums
Viewing all 7460 articles
Browse latest View live

SIP Peer Alias

$
0
0
Is it possible to assign aliases to SIP peers? We currently use a modified version of the device's MAC address as the peer name, which is great for security and uniqueness, but not so good when trying to make sure there are no typos in dial-plans or trying to troubleshoot otherwise.

What I'm looking for is two-fold. First, I'd like to be able to reference a peer's alias rather than the name. For instance:

Code: Dial(SIP/provider/peeralias,300)


Rather than:

Code: Dial(SIP/provider/001122334455-003,300)


I'm sure I could do that with global variables, but that seems messy. Second, I'd like to have the peer alias show up when doing "sip show peers" rather than the peer names as they are more visually identifiable.

Any thoughts? I'm currently running Asterisk 1.8. If it's a feature that's available in future versions, that would be useful to know too. I've searched around for awhile for this and haven't found any mention of it, so hopefully it exists and I'm just missing it.

Statistics : Posted by nickcoons • on Mon Dec 01, 2014 3:14 pm • Replies 3 • Views 61

SIP Peer Alias

$
0
0
Negative, as far as I know, there's no way to do such a thing.

Cheers

Statistics : Posted by nickcoons • on Mon Dec 01, 2014 3:14 pm • Replies 3 • Views 61

SIP Peer Alias

$
0
0
Howdy,

No prob.

Cheers

Statistics : Posted by nickcoons • on Mon Dec 01, 2014 3:14 pm • Replies 3 • Views 61

SIP Peer Alias

$
0
0
Cool, thanks for letting me know.

Statistics : Posted by nickcoons • on Mon Dec 01, 2014 3:14 pm • Replies 3 • Views 61

Play sound file to channel remotely

$
0
0
Hi, sorry if this question has been asked, I searched, but could not find anything.

I am using asterisk 1.8
I want to be able to play a sound file on the server over a call when the user presses a button (either via a web page or windows application). Both users would hear the sound file. Is this possible? AMI?

Statistics : Posted by KeithHBW • on Mon Dec 01, 2014 4:25 pm • Replies 0 • Views 28

3 RE-INVITES send for asterisk

$
0
0
UA1-----Router 1 NAT-------Asterisk-------Router 2 NAT----------- UA 2

Image
when try to establish point-to-point communication, there are 3 packages invite
SDP first:
Code: v=0
o=root 639080599 639080600 IN IP4 192.168.1.3
s=Asterisk PBX 11.14.1
c=IN IP4 192.168.1.3
t=0 0
m=audio 33214 RTP/AVP 3 0 101
a=rtpmap:3 GSM/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv


SDP second:
Code: v=0
o=root 639080599 639080601 IN IP4 152.XXX.XXX.XXX (ip public)
s=Asterisk PBX 11.14.1
c=IN IP4 152.74.21.54
t=0 0
m=audio 33214 RTP/AVP 3 0 101
a=rtpmap:3 GSM/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv


SDP third

Code: v=0
o=root 639080599 639080602 IN IP4 192.168.1.3
s=Asterisk PBX 11.14.1
c=IN IP4 192.168.1.3
t=0 0
m=audio 33214 RTP/AVP 3 0 101
a=rtpmap:3 GSM/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv

between the second and third package SDP, works smoothly, as it's sent to the correct public IP and port, but then asterisk send third package INVITE then send private ip, so the router drops the packet, how do I configure asterisk and not send the third package is bothering.
regards!

Statistics : Posted by javierr_vv • on Mon Dec 01, 2014 4:49 pm • Replies 0 • Views 25

Same SIP Provider(same context) different DIDs

$
0
0
Hello everyone, I have a problem I need to solve, My Sip provider provides me with 5 DIDs numbers through the same SIP trunk, the problem is that I need to route incoming calls based on the DID the caller called, for instance if a caller calls xxxxx DID I want to send this caller to ext 303 and if it calls yyyyy DID I want this caller to be send to the 304 exten.

The problem is that it is the same trunk, which has the same context, how can I filter based on the DID that the caller is calling.

Thanks in advance.

Statistics : Posted by testing3356 • on Mon Dec 01, 2014 6:06 pm • Replies 0 • Views 22

How to configure the Huawei mstp OSN with boards?

$
0
0
Huawei optical networking equipments configuration is very complicated, and there will be many problems, so I suggest that you find a supplier which specialized in tansport network to help you.

Statistics : Posted by brunoof_12 • on Tue Nov 04, 2014 9:52 pm • Replies 1 • Views 210

How to configure the Huawei mstp OSN with boards?

$
0
0
Is there anyone know it, coz i don't know that much about optic network equipments, and osn 8800 need to be installed, so how many essential boards are need to be configured? and what sub-racks are not necessarily configured?

Statistics : Posted by brunoof_12 • on Tue Nov 04, 2014 9:52 pm • Replies 1 • Views 210

NEEDED HYBRID CARD!!!

$
0
0
Hi, i have a Digium Switchvox server and i need a hybrid card that has FX0, FXS and digital T1 ports
If there is one please educate me Image

Statistics : Posted by bfpettis • on Tue Dec 02, 2014 5:50 pm • Replies 0 • Views 19

After hours message

$
0
0
So this is what I have in my Extensions.conf file How can I get this to work with the after hours message?



Code: ;exten => s,1,Wait(1)
exten => s,2,Answer()
exten => s,3,WaitExten(2)
exten => s,4,Background(4)
exten => s,5,WaitExten(5)
exten => s,6,Directory(VoiceMail,default)
exten => s,7,Playback(dir-first)
exten => s,8,Dial(SIP/500,5)
exten => s,9,Goto(2)
exten => s,10,Hangup()







Code: exten => 100,1,Answer()
exten => 100,n,Background(attendant)
exten => 100,n,Goto(default,s,4,3)
exten => 100,n,Goto(default,s,1,3)
exten => 100,n,Goto(default,s,5,3)
exten => 100,n,Goto(default,s,6,3)
exten => 100,n,Goto(default,s,8,5)
exten => 100,n,wait(10)


Statistics : Posted by aristech • on Tue Dec 02, 2014 12:33 pm • Replies 3 • Views 79

After hours message

$
0
0
Here is what I have tried


Code: exten => s,1,Wait(1)
exten => s,n,Answer()
exten => s,n,WaitExten(2)
exten => s,n,Background(4)
exten => s,n(replay),GotoIfTime(08:00-17:00,Mon-Fri,*,*?,day)
exten => s,n(night),Background(afterhours)
exten => s,n,Goto(s,resume)
exten => s,n(day),Background(attendant)
exten => s,n,WaitExten(5)
exten => s,n,Directory(VoiceMail,default)
exten => s,n,Playback(dir-first)
exten => s,n,Dial(SIP/100,5)
exten => s,n,Goto(2)
exten => s,n,Hangup()


Statistics : Posted by aristech • on Tue Dec 02, 2014 12:33 pm • Replies 3 • Views 79

After hours message

$
0
0
core show application GotoIfTime.

Statistics : Posted by aristech • on Tue Dec 02, 2014 12:33 pm • Replies 3 • Views 79

After hours message

$
0
0
How do I setup my Asterisk Server to give callers and After hours message based on time of the day?
Our office is open 8am-5pm Mon-Fri . I want callers to here a greeting during this time and a different greeting outside these ours. Also want to be able to setup a greeting for Holiday's .

Statistics : Posted by aristech • on Tue Dec 02, 2014 12:33 pm • Replies 3 • Views 79

Cannot make an external call

$
0
0
I'm using number 117
Below are logs when i type command
asterisk -r:
Code: [root@localhost ~]# asterisk -r
Asterisk 11.13.0, Copyright (C) 1999 - 2013 Digium, Inc. and others.
Created by Mark Spencer
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.13.0 currently running on localhost (pid = 3425)
[2014-12-03 07:46:48] WARNING[3812][C-0000000e]: app_dial.c:2437 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Subscriber absent)
[2014-12-03 07:46:52] WARNING[3812][C-0000000e]: channel.c:4860 ast_prod: Prodding channel 'SIP/117-0000000e' failed


SIP show peers:
Code: localhost*CLI> sip show peers
Name/username             Host                                    Dyn Forcerport Comedia    ACL Port     Status      Description                     
100                       (Unspecified)                            D  No         No          A  0        UNKNOWN                                     
101/101                   192.168.0.101                            D  No         No          A  5062     OK (52 ms)                                   
102/102                   192.168.0.102                            D  No         No          A  5062     OK (57 ms)                                   
103/103                   192.168.0.103                            D  No         No          A  5062     OK (58 ms)                                   
104/104                   192.168.0.104                            D  No         No          A  5062     OK (53 ms)                                   
105/105                   192.168.0.105                            D  No         No          A  5062     OK (56 ms)                                   
106                       (Unspecified)                            D  No         No          A  0        UNKNOWN                                     
107                       (Unspecified)                            D  No         No          A  0        UNKNOWN                                     
108/108                   192.168.0.108                            D  No         No          A  5062     OK (161 ms)                                 
109/109                   192.168.0.109                            D  No         No          A  5062     OK (52 ms)                                   
110/110                   192.168.0.110                            D  No         No          A  5062     OK (57 ms)                                   
111/111                   192.168.0.111                            D  No         No          A  5062     OK (56 ms)                                   
112/112                   192.168.0.112                            D  No         No          A  5060     OK (15 ms)                                   
113/113                   192.168.0.162                            D  No         No          A  5062     OK (57 ms)                                   
114/114                   192.168.0.114                            D  No         No          A  5062     OK (190 ms)                                 
115                       (Unspecified)                            D  No         No          A  0        UNKNOWN                                     
116/116                   192.168.0.116                            D  No         No          A  5062     OK (56 ms)                                   
117/117                   192.168.0.117                            D  No         No          A  5060     OK (15 ms)                                   
118                       (Unspecified)                            D  No         No          A  0        UNKNOWN                                     
119                       (Unspecified)                            D  No         No          A  0        UNKNOWN                                     
120/120                   192.168.0.120                            D  No         No          A  5062     OK (54 ms)                                   
121/121                   192.168.0.121                            D  No         No          A  5062     OK (55 ms)                                   
122/122                   192.168.0.176                            D  No         No          A  5062     OK (56 ms)                                   
123/123                   192.168.0.123                            D  No         No          A  5062     OK (58 ms)                                   
222                       (Unspecified)                            D  No         No          A  0        UNKNOWN                                     
401/401                   private ip                            D  No         No          A  5062     OK (57 ms)                                   
402                       (Unspecified)                            D  No         No          A  0        UNKNOWN                                     
501                       (Unspecified)                            D  No         No          A  0        UNKNOWN                                     
789/789                   (Unspecified)                            D  No         No          A  0        UNKNOWN                                     
987/987                   private ip                            D  No         No          A  39372    OK (13 ms)                                   
trunk                 private ip                              Yes        Yes            5060     OK (80 ms)                                   
31 sip peers [Monitored: 21 online, 10 offline Unmonitored: 0 online, 0 offline]
localhost*CLI>


Statistics : Posted by cafe6 • on Fri Nov 28, 2014 9:23 pm • Replies 4 • Views 295

Cannot make an external call

$
0
0
It appears that your connection to your SIP provider is lagging out every now and then. Try increasing the qualify or disabling it altogether. Also you may want to run "sip show peers" when this problem occurs to check on the trunk status.

Statistics : Posted by cafe6 • on Fri Nov 28, 2014 9:23 pm • Replies 4 • Views 295

Cannot make an external call

$
0
0
I install Elastix 2.5.0 Stable 32bit: http://www.elastix.org/index.php/en/downloads.html
I still do not found reason for problem. Please help me.
I can not call external phone number. But, if external phone number call me (or other internal phone number), then i can call out external.

Statistics : Posted by cafe6 • on Fri Nov 28, 2014 9:23 pm • Replies 4 • Views 295

Cannot make an external call

$
0
0
The problem lies in sip.conf (which includes all files included from it by FreePBX and possibly users.conf. Given the behaviour, my guess is you have qualify=yes, but something is discarding the OPTION requests, but it could be that you some how have the peer configured as dynamic.

Please try and prune down FreePBX traces to the minimum, as we are not FreePBX experts here and have to trawl through the whole lot to find anything relevant.

Statistics : Posted by cafe6 • on Fri Nov 28, 2014 9:23 pm • Replies 4 • Views 295

Cannot make an external call

$
0
0
I have a problem but our supplier still not find out the reason
- All the contact internal still work normal
- All the resource of main Voip still work normal
Problem is I cannot make an external call (supplier cannot receive our signal)
Only when there have a call from someone outside by this public number, we can call out right away.
This problem happen frequently, and not follow any rule and time.
I already restarted sever VOIP, moderm but still not get result.
Hope we can receive your support soon.
Below is log everytime problem happen

Code: [root@localhost ~]# asterisk -vvvr
Asterisk 11.13.0, 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.13.0 currently running on localhost (pid = 12470)
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Executing [19001570@from-internal:1] Macro("SIP/117-00000066", "user-callerid,LIMIT,EXTERNAL,") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/117-00000066", "TOUCH_MONITOR=1417222744.102") in new stack
    -- Executing [s@macro-user-callerid:2] Set("SIP/117-00000066", "AMPUSER=117") in new stack
    -- Executing [s@macro-user-callerid:3] GotoIf("SIP/117-00000066", "0?report") in new stack
    -- Executing [s@macro-user-callerid:4] ExecIf("SIP/117-00000066", "1?Set(REALCALLERIDNUM=117)") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/117-00000066", "AMPUSER=117") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/117-00000066", "0?limit") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/117-00000066", "AMPUSERCIDNAME=ROOM CS") in new stack
    -- Executing [s@macro-user-callerid:8] GotoIf("SIP/117-00000066", "0?report") in new stack
    -- Executing [s@macro-user-callerid:9] Set("SIP/117-00000066", "AMPUSERCID=117") in new stack
    -- Executing [s@macro-user-callerid:10] Set("SIP/117-00000066", "__DIAL_OPTIONS=tr") in new stack
    -- Executing [s@macro-user-callerid:11] Set("SIP/117-00000066", "CALLERID(all)="ROOM CS" <117>") in new stack
    -- Executing [s@macro-user-callerid:12] GotoIf("SIP/117-00000066", "0?limit") in new stack
    -- Executing [s@macro-user-callerid:13] ExecIf("SIP/117-00000066", "1?Set(GROUP(concurrency_limit)=117)") in new stack
    -- Executing [s@macro-user-callerid:14] ExecIf("SIP/117-00000066", "0?Set(CHANNEL(language)=)") in new stack
    -- Executing [s@macro-user-callerid:15] GotoIf("SIP/117-00000066", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,28)
    -- Executing [s@macro-user-callerid:28] Set("SIP/117-00000066", "CALLERID(number)=117") in new stack
    -- Executing [s@macro-user-callerid:29] Set("SIP/117-00000066", "CALLERID(name)=ROOM CS") in new stack
    -- Executing [s@macro-user-callerid:30] Set("SIP/117-00000066", "CDR(cnum)=117") in new stack
    -- Executing [s@macro-user-callerid:31] Set("SIP/117-00000066", "CDR(cnam)=ROOM CS") in new stack
    -- Executing [s@macro-user-callerid:32] Set("SIP/117-00000066", "CHANNEL(language)=en") in new stack
    -- Executing [19001570@from-internal:2] Set("SIP/117-00000066", "MOHCLASS=default") in new stack
    -- Executing [19001570@from-internal:3] Set("SIP/117-00000066", "_NODEST=") in new stack
    -- Executing [19001570@from-internal:4] Gosub("SIP/117-00000066", "sub-record-check,s,1(out,19001570,)") in new stack
    -- Executing [s@sub-record-check:1] Set("SIP/117-00000066", "REC_POLICY_MODE_SAVE=") in new stack
    -- Executing [s@sub-record-check:2] GotoIf("SIP/117-00000066", "1?check") in new stack
    -- Goto (sub-record-check,s,7)
    -- Executing [s@sub-record-check:7] Set("SIP/117-00000066", "__MON_FMT=wav") in new stack
    -- Executing [s@sub-record-check:8] GotoIf("SIP/117-00000066", "1?next") in new stack
    -- Goto (sub-record-check,s,11)
    -- Executing [s@sub-record-check:11] ExecIf("SIP/117-00000066", "0?Return()") in new stack
    -- Executing [s@sub-record-check:12] ExecIf("SIP/117-00000066", "0?Set(__REC_POLICY_MODE=)") in new stack
    -- Executing [s@sub-record-check:13] GotoIf("SIP/117-00000066", "0?out,1") in new stack
    -- Executing [s@sub-record-check:14] Set("SIP/117-00000066", "__REC_STATUS=INITIALIZED") in new stack
    -- Executing [s@sub-record-check:15] Set("SIP/117-00000066", "NOW=1417222744") in new stack
    -- Executing [s@sub-record-check:16] Set("SIP/117-00000066", "__DAY=29") in new stack
    -- Executing [s@sub-record-check:17] Set("SIP/117-00000066", "__MONTH=11") in new stack
    -- Executing [s@sub-record-check:18] Set("SIP/117-00000066", "__YEAR=2014") in new stack
    -- Executing [s@sub-record-check:19] Set("SIP/117-00000066", "__TIMESTR=20141129-075904") in new stack
    -- Executing [s@sub-record-check:20] Set("SIP/117-00000066", "__FROMEXTEN=117") in new stack
    -- Executing [s@sub-record-check:21] Set("SIP/117-00000066", "__CALLFILENAME=out-19001570-117-20141129-075904-1417222744.102") in new stack
    -- Executing [s@sub-record-check:22] Goto("SIP/117-00000066", "out,1") in new stack
    -- Goto (sub-record-check,out,1)
    -- Executing [out@sub-record-check:1] ExecIf("SIP/117-00000066", "1?Set(__REC_POLICY_MODE=dontcare)") in new stack
    -- Executing [out@sub-record-check:2] GosubIf("SIP/117-00000066", "0?record,1(exten,19001570,117)") in new stack
    -- Executing [out@sub-record-check:3] Return("SIP/117-00000066", "") in new stack
    -- Executing [19001570@from-internal:5] Macro("SIP/117-00000066", "dialout-trunk,2,19001570,,off") in new stack
    -- Executing [s@macro-dialout-trunk:1] Set("SIP/117-00000066", "DIAL_TRUNK=2") in new stack
    -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/117-00000066", "0?sub-pincheck,s,1()") in new stack
    -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/117-00000066", "0?disabletrunk,1") in new stack
    -- Executing [s@macro-dialout-trunk:4] Set("SIP/117-00000066", "DIAL_NUMBER=19001570") in new stack
    -- Executing [s@macro-dialout-trunk:5] Set("SIP/117-00000066", "DIAL_TRUNK_OPTIONS=tr") in new stack
    -- Executing [s@macro-dialout-trunk:6] Set("SIP/117-00000066", "OUTBOUND_GROUP=OUT_2") in new stack
    -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/117-00000066", "1?nomax") in new stack
    -- Goto (macro-dialout-trunk,s,9)
    -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/117-00000066", "0?skipoutcid") in new stack
    -- Executing [s@macro-dialout-trunk:10] Set("SIP/117-00000066", "DIAL_TRUNK_OPTIONS=") in new stack
    -- Executing [s@macro-dialout-trunk:11] Macro("SIP/117-00000066", "outbound-callerid,2") in new stack
    -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/117-00000066", "0?Set(CALLERPRES()=)") in new stack
    -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/117-00000066", "0?Set(REALCALLERIDNUM=117)") in new stack
    -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/117-00000066", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,6)
    -- Executing [s@macro-outbound-callerid:6] Set("SIP/117-00000066", "USEROUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:7] Set("SIP/117-00000066", "EMERGENCYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:8] Set("SIP/117-00000066", "TRUNKOUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/117-00000066", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,14)
    -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/117-00000066", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/117-00000066", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:16] ExecIf("SIP/117-00000066", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:17] ExecIf("SIP/117-00000066", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
    -- Executing [s@macro-outbound-callerid:18] Set("SIP/117-00000066", "CDR(outbound_cnum)=117") in new stack
    -- Executing [s@macro-outbound-callerid:19] Set("SIP/117-00000066", "CDR(outbound_cnam)=ROOM CS") in new stack
    -- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/117-00000066", "0?sub-flp-2,s,1()") in new stack
    -- Executing [s@macro-dialout-trunk:13] Set("SIP/117-00000066", "OUTNUM=19001570") in new stack
    -- Executing [s@macro-dialout-trunk:14] Set("SIP/117-00000066", "custom=SIP/out") in new stack
    -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/117-00000066", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))") in new stack
    -- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/117-00000066", "0?Set(DIAL_TRUNK_OPTIONS=M(confirm))") in new stack
    -- Executing [s@macro-dialout-trunk:17] Macro("SIP/117-00000066", "dialout-trunk-predial-hook,") in new stack
    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/117-00000066", "") in new stack
    -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/117-00000066", "0?bypass,1") in new stack
    -- Executing [s@macro-dialout-trunk:19] ExecIf("SIP/117-00000066", "1?Set(CONNECTEDLINE(num,i)=19001570)") in new stack
    -- Executing [s@macro-dialout-trunk:20] ExecIf("SIP/117-00000066", "1?Set(CONNECTEDLINE(name,i)=CID:117)") in new stack
    -- Executing [s@macro-dialout-trunk:21] GotoIf("SIP/117-00000066", "0?customtrunk") in new stack
    -- Executing [s@macro-dialout-trunk:22] Dial("SIP/117-00000066", "SIP/out/19001570,300,") in new stack
[2014-11-29 07:59:04] WARNING[14854][C-0000005f]: 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)
    -- Executing [s@macro-dialout-trunk:23] NoOp("SIP/117-00000066", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 20") in new stack
    -- Executing [s@macro-dialout-trunk:24] GotoIf("SIP/117-00000066", "0?continue,1:s-CHANUNAVAIL,1") in new stack
    -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
    -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("SIP/117-00000066", "RC=20") in new stack
    -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("SIP/117-00000066", "20,1") in new stack
    -- Goto (macro-dialout-trunk,20,1)
    -- Executing [20@macro-dialout-trunk:1] Goto("SIP/117-00000066", "continue,1") in new stack
    -- Goto (macro-dialout-trunk,continue,1)
    -- Executing [continue@macro-dialout-trunk:1] NoOp("SIP/117-00000066", "TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 20 - failing through to other trunks") in new stack
    -- Executing [continue@macro-dialout-trunk:2] Set("SIP/117-00000066", "CALLERID(number)=117") in new stack
    -- Executing [19001570@from-internal:6] Macro("SIP/117-00000066", "outisbusy,") in new stack
    -- Executing [s@macro-outisbusy:1] Progress("SIP/117-00000066", "") in new stack
    -- Executing [s@macro-outisbusy:2] GotoIf("SIP/117-00000066", "0?emergency,1") in new stack
    -- Executing [s@macro-outisbusy:3] GotoIf("SIP/117-00000066", "0?intracompany,1") in new stack
    -- Executing [s@macro-outisbusy:4] Playback("SIP/117-00000066", "all-circuits-busy-now&pls-try-call-later, noanswer") in new stack
    -- <SIP/117-00000066> Playing 'all-circuits-busy-now.gsm' (language 'en')
    -- <SIP/117-00000066> Playing 'pls-try-call-later.gsm' (language 'en')
    -- Executing [s@macro-outisbusy:5] Congestion("SIP/117-00000066", "20") in new stack
[2014-11-29 07:59:08] WARNING[14854][C-0000005f]: channel.c:4860 ast_prod: Prodding channel 'SIP/117-00000066' failed
  == Spawn extension (macro-outisbusy, s, 5) exited non-zero on 'SIP/117-00000066' in macro 'outisbusy'
  == Spawn extension (from-internal, 19001570, 6) exited non-zero on 'SIP/117-00000066'
    -- Executing [h@from-internal:1] Hangup("SIP/117-00000066", "") in new stack
  == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/117-00000066'
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Executing [0909358543@from-internal:1] Macro("SIP/112-00000067", "user-callerid,LIMIT,EXTERNAL,") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/112-00000067", "TOUCH_MONITOR=1417222761.103") in new stack
    -- Executing [s@macro-user-callerid:2] Set("SIP/112-00000067", "AMPUSER=112") in new stack
    -- Executing [s@macro-user-callerid:3] GotoIf("SIP/112-00000067", "0?report") in new stack
    -- Executing [s@macro-user-callerid:4] ExecIf("SIP/112-00000067", "1?Set(REALCALLERIDNUM=112)") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/112-00000067", "AMPUSER=112") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/112-00000067", "0?limit") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/112-00000067", "AMPUSERCIDNAME=ROOM CS CNC") in new stack
    -- Executing [s@macro-user-callerid:8] GotoIf("SIP/112-00000067", "0?report") in new stack
    -- Executing [s@macro-user-callerid:9] Set("SIP/112-00000067", "AMPUSERCID=112") in new stack
    -- Executing [s@macro-user-callerid:10] Set("SIP/112-00000067", "__DIAL_OPTIONS=tr") in new stack
    -- Executing [s@macro-user-callerid:11] Set("SIP/112-00000067", "CALLERID(all)="ROOM CS CNC" <112>") in new stack
    -- Executing [s@macro-user-callerid:12] GotoIf("SIP/112-00000067", "0?limit") in new stack
    -- Executing [s@macro-user-callerid:13] ExecIf("SIP/112-00000067", "1?Set(GROUP(concurrency_limit)=112)") in new stack
    -- Executing [s@macro-user-callerid:14] ExecIf("SIP/112-00000067", "0?Set(CHANNEL(language)=)") in new stack
    -- Executing [s@macro-user-callerid:15] GotoIf("SIP/112-00000067", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,28)
    -- Executing [s@macro-user-callerid:28] Set("SIP/112-00000067", "CALLERID(number)=112") in new stack
    -- Executing [s@macro-user-callerid:29] Set("SIP/112-00000067", "CALLERID(name)=ROOM CS CNC") in new stack
    -- Executing [s@macro-user-callerid:30] Set("SIP/112-00000067", "CDR(cnum)=112") in new stack
    -- Executing [s@macro-user-callerid:31] Set("SIP/112-00000067", "CDR(cnam)=ROOM CS CNC") in new stack
    -- Executing [s@macro-user-callerid:32] Set("SIP/112-00000067", "CHANNEL(language)=en") in new stack
    -- Executing [0909358543@from-internal:2] Set("SIP/112-00000067", "MOHCLASS=default") in new stack
    -- Executing [0909358543@from-internal:3] Set("SIP/112-00000067", "_NODEST=") in new stack
    -- Executing [0909358543@from-internal:4] Gosub("SIP/112-00000067", "sub-record-check,s,1(out,0909358543,)") in new stack
    -- Executing [s@sub-record-check:1] Set("SIP/112-00000067", "REC_POLICY_MODE_SAVE=") in new stack
    -- Executing [s@sub-record-check:2] GotoIf("SIP/112-00000067", "1?check") in new stack
    -- Goto (sub-record-check,s,7)
    -- Executing [s@sub-record-check:7] Set("SIP/112-00000067", "__MON_FMT=wav") in new stack
    -- Executing [s@sub-record-check:8] GotoIf("SIP/112-00000067", "1?next") in new stack
    -- Goto (sub-record-check,s,11)
    -- Executing [s@sub-record-check:11] ExecIf("SIP/112-00000067", "0?Return()") in new stack
    -- Executing [s@sub-record-check:12] ExecIf("SIP/112-00000067", "0?Set(__REC_POLICY_MODE=)") in new stack
    -- Executing [s@sub-record-check:13] GotoIf("SIP/112-00000067", "0?out,1") in new stack
    -- Executing [s@sub-record-check:14] Set("SIP/112-00000067", "__REC_STATUS=INITIALIZED") in new stack
    -- Executing [s@sub-record-check:15] Set("SIP/112-00000067", "NOW=1417222761") in new stack
    -- Executing [s@sub-record-check:16] Set("SIP/112-00000067", "__DAY=29") in new stack
    -- Executing [s@sub-record-check:17] Set("SIP/112-00000067", "__MONTH=11") in new stack
    -- Executing [s@sub-record-check:18] Set("SIP/112-00000067", "__YEAR=2014") in new stack
    -- Executing [s@sub-record-check:19] Set("SIP/112-00000067", "__TIMESTR=20141129-075921") in new stack
    -- Executing [s@sub-record-check:20] Set("SIP/112-00000067", "__FROMEXTEN=112") in new stack
    -- Executing [s@sub-record-check:21] Set("SIP/112-00000067", "__CALLFILENAME=out-0909358543-112-20141129-075921-1417222761.103") in new stack
    -- Executing [s@sub-record-check:22] Goto("SIP/112-00000067", "out,1") in new stack
    -- Goto (sub-record-check,out,1)
    -- Executing [out@sub-record-check:1] ExecIf("SIP/112-00000067", "1?Set(__REC_POLICY_MODE=dontcare)") in new stack
    -- Executing [out@sub-record-check:2] GosubIf("SIP/112-00000067", "0?record,1(exten,0909358543,112)") in new stack
    -- Executing [out@sub-record-check:3] Return("SIP/112-00000067", "") in new stack
    -- Executing [0909358543@from-internal:5] Macro("SIP/112-00000067", "dialout-trunk,2,0909358543,,off") in new stack
    -- Executing [s@macro-dialout-trunk:1] Set("SIP/112-00000067", "DIAL_TRUNK=2") in new stack
    -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/112-00000067", "0?sub-pincheck,s,1()") in new stack
    -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/112-00000067", "0?disabletrunk,1") in new stack
    -- Executing [s@macro-dialout-trunk:4] Set("SIP/112-00000067", "DIAL_NUMBER=0909358543") in new stack
    -- Executing [s@macro-dialout-trunk:5] Set("SIP/112-00000067", "DIAL_TRUNK_OPTIONS=tr") in new stack
    -- Executing [s@macro-dialout-trunk:6] Set("SIP/112-00000067", "OUTBOUND_GROUP=OUT_2") in new stack
    -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/112-00000067", "1?nomax") in new stack
    -- Goto (macro-dialout-trunk,s,9)
    -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/112-00000067", "0?skipoutcid") in new stack
    -- Executing [s@macro-dialout-trunk:10] Set("SIP/112-00000067", "DIAL_TRUNK_OPTIONS=") in new stack
    -- Executing [s@macro-dialout-trunk:11] Macro("SIP/112-00000067", "outbound-callerid,2") in new stack
    -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/112-00000067", "0?Set(CALLERPRES()=)") in new stack
    -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/112-00000067", "0?Set(REALCALLERIDNUM=112)") in new stack
    -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/112-00000067", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,6)
    -- Executing [s@macro-outbound-callerid:6] Set("SIP/112-00000067", "USEROUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:7] Set("SIP/112-00000067", "EMERGENCYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:8] Set("SIP/112-00000067", "TRUNKOUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/112-00000067", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,14)
    -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/112-00000067", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/112-00000067", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:16] ExecIf("SIP/112-00000067", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:17] ExecIf("SIP/112-00000067", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
    -- Executing [s@macro-outbound-callerid:18] Set("SIP/112-00000067", "CDR(outbound_cnum)=112") in new stack
    -- Executing [s@macro-outbound-callerid:19] Set("SIP/112-00000067", "CDR(outbound_cnam)=ROOM CS CNC") in new stack
    -- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/112-00000067", "0?sub-flp-2,s,1()") in new stack
    -- Executing [s@macro-dialout-trunk:13] Set("SIP/112-00000067", "OUTNUM=0909358543") in new stack
    -- Executing [s@macro-dialout-trunk:14] Set("SIP/112-00000067", "custom=SIP/out") in new stack
    -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/112-00000067", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))") in new stack
    -- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/112-00000067", "0?Set(DIAL_TRUNK_OPTIONS=M(confirm))") in new stack
    -- Executing [s@macro-dialout-trunk:17] Macro("SIP/112-00000067", "dialout-trunk-predial-hook,") in new stack
    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/112-00000067", "") in new stack
    -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/112-00000067", "0?bypass,1") in new stack
    -- Executing [s@macro-dialout-trunk:19] ExecIf("SIP/112-00000067", "1?Set(CONNECTEDLINE(num,i)=0909358543)") in new stack
    -- Executing [s@macro-dialout-trunk:20] ExecIf("SIP/112-00000067", "1?Set(CONNECTEDLINE(name,i)=CID:112)") in new stack
    -- Executing [s@macro-dialout-trunk:21] GotoIf("SIP/112-00000067", "0?customtrunk") in new stack
    -- Executing [s@macro-dialout-trunk:22] Dial("SIP/112-00000067", "SIP/out/0909358543,300,") in new stack
[2014-11-29 07:59:21] WARNING[14855][C-00000060]: 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)
    -- Executing [s@macro-dialout-trunk:23] NoOp("SIP/112-00000067", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 20") in new stack
    -- Executing [s@macro-dialout-trunk:24] GotoIf("SIP/112-00000067", "0?continue,1:s-CHANUNAVAIL,1") in new stack
    -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
    -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("SIP/112-00000067", "RC=20") in new stack
    -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("SIP/112-00000067", "20,1") in new stack
    -- Goto (macro-dialout-trunk,20,1)
    -- Executing [20@macro-dialout-trunk:1] Goto("SIP/112-00000067", "continue,1") in new stack
    -- Goto (macro-dialout-trunk,continue,1)
    -- Executing [continue@macro-dialout-trunk:1] NoOp("SIP/112-00000067", "TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 20 - failing through to other trunks") in new stack
    -- Executing [continue@macro-dialout-trunk:2] Set("SIP/112-00000067", "CALLERID(number)=112") in new stack
    -- Executing [0909358543@from-internal:6] Macro("SIP/112-00000067", "outisbusy,") in new stack
    -- Executing [s@macro-outisbusy:1] Progress("SIP/112-00000067", "") in new stack
    -- Executing [s@macro-outisbusy:2] GotoIf("SIP/112-00000067", "0?emergency,1") in new stack
    -- Executing [s@macro-outisbusy:3] GotoIf("SIP/112-00000067", "0?intracompany,1") in new stack
    -- Executing [s@macro-outisbusy:4] Playback("SIP/112-00000067", "all-circuits-busy-now&pls-try-call-later, noanswer") in new stack
    -- <SIP/112-00000067> Playing 'all-circuits-busy-now.gsm' (language 'en')
    -- <SIP/112-00000067> Playing 'pls-try-call-later.gsm' (language 'en')
    -- Executing [s@macro-outisbusy:5] Congestion("SIP/112-00000067", "20") in new stack
[2014-11-29 07:59:25] WARNING[14855][C-00000060]: channel.c:4860 ast_prod: Prodding channel 'SIP/112-00000067' failed
  == Spawn extension (macro-outisbusy, s, 5) exited non-zero on 'SIP/112-00000067' in macro 'outisbusy'
  == Spawn extension (from-internal, 0909358543, 6) exited non-zero on 'SIP/112-00000067'
    -- Executing [h@from-internal:1] Hangup("SIP/112-00000067", "") in new stack
  == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/112-00000067'
localhost*CLI>


Statistics : Posted by cafe6 • on Fri Nov 28, 2014 9:23 pm • Replies 4 • Views 295

Asterisk 13 configuration for Outbound trunk

$
0
0
Sorry for the post!
My settings were all correct!
The outbound VOIP provider had an faulty configuration Image

Statistics : Posted by niels14 • on Wed Dec 03, 2014 6:31 am • Replies 1 • Views 74
Viewing all 7460 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>