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

setting caller id

$
0
0
Caller ID on a sip.conf device entry will override any caller ID coming from that device.

Statistics : Posted by rebootln • on Mon Feb 09, 2015 1:04 pm • Replies 5 • Views 216

setting caller id

$
0
0
i am now using xlite to test this

sip.conf sample

[SipUserName]
callerid=JohnDoe <100> is set in the sip.conf the ${CALLERID(num)} returns 100

but if the caller id is left empty the ${CALLERID(num)} returns SipUserName

when i set it in xlite - it does not overwrite value for ${CALLERID(num)} .

Statistics : Posted by rebootln • on Mon Feb 09, 2015 1:04 pm • Replies 5 • Views 216

setting caller id

$
0
0
Hey guys

i am writing an application that dials out via asterisk sip

i am having problem setting an outbound caller id from my application via sip headers

seems that no matter what i do the asterisk doesn't seem to grab the caller id info from the header - and forwards the SIp username as the caller id ( i left the caller id blank in the sip.conf for this user

Can you please direct me how to form the sip header properly so the asterisk grabs the caller name and caller number from the header

Thank you

Statistics : Posted by rebootln • on Mon Feb 09, 2015 1:04 pm • Replies 5 • Views 216

setting caller id

$
0
0
Asterisk will take the caller ID from the From header by default. That should not be a problem for phones. It can be a problem on the outbound side, as some ITSPs insist on the From header including the account name. However, responsible ITSPs will vet caller IDs anyway, to make sure you own the number being presented.

If you enable trustrpid, it will use any Remote-Party-ID or P-Asserted-Identity headers, if present. You may need force presentation allowed status.

Statistics : Posted by rebootln • on Mon Feb 09, 2015 1:04 pm • Replies 5 • Views 216

setting caller id

$
0
0
Right - but if it isn't set - it shows the sip login name as the number

Statistics : Posted by rebootln • on Mon Feb 09, 2015 1:04 pm • Replies 5 • Views 216

setting caller id

$
0
0
i would expect that if i dont' set it in sip.conf i woudl be able to set it in say x-lite - but for some reason the ${CALLERID(num)} does not retreive it

Statistics : Posted by rebootln • on Mon Feb 09, 2015 1:04 pm • Replies 5 • Views 216

Asterisk Gui: music on hold don't go

$
0
0
Hi
i have a problem with music on hold because i try to upload from the page in asterisk gui but it not upload file.
So i upload music direct from shell or with an ftp software.

If i try to call my number i see this message on the cli:


Connected to Asterisk 11.16.0 currently running on centralino (pid = 1517)
== Using SIP RTP CoS mark 5
-- Executing [s@DID_trunk_2:1] Goto("SIP/trunk_2-00000006", "queues,6500,1") in new stack
-- Goto (queues,6500,1)
-- Executing [6500@queues:1] Queue("SIP/trunk_2-00000006", "6500") in new stack
-- Started music on hold, class 'Attesa', on SIP/trunk_2-00000006
== Using SIP RTP CoS mark 5
-- SIP/106-00000007 connected line has changed. Saving it until answer for SIP/trunk_2-00000006
[Feb 11 17:21:18] WARNING[3191][C-00000017]: format_wav.c:102 check_header_fmt: Not in mono 2
[Feb 11 17:21:18] WARNING[3191][C-00000017]: file.c:399 fn_wrapper: Unable to open format wav
[Feb 11 17:21:18] WARNING[3191][C-00000017]: res_musiconhold.c:339 ast_moh_files_next: Unable to open file '/var/lib/asterisk/moh/guimohdir_Attesa/jubel_mono_2': No such file or directory
-- Stopped music on hold on SIP/trunk_2-00000006
== Spawn extension (queues, 6500, 1) exited non-zero on 'SIP/trunk_2-00000006'
centralino*CLI>

I don't undestand why asterisk don't see file jubel_mono_2 and i don't undestand other 2 warnings
Directory and file have asterisk group and asterisk owner.

Someone can help me?

Statistics : Posted by dirweb • on Wed Feb 11, 2015 10:22 am • Replies 0 • Views 20

Information about ASTERISK

$
0
0
Good afternoon to everyone :

My name is Pablo, I'm new in this site and I'm very interested to know about this community.
I'm the CEO of a company and I would like to know if there is any way to do the following things:

1. Establish communications by cellphone application (that should be private). I want to know if there is any possibility to make it encrypted for voice and video conference.

2. Is there any possibility of limiting access to the application with the IMEI of the cellphones ?

Well, I will be waiting for your posts !
Thanks in advance.

Statistics : Posted by paraya • on Wed Feb 11, 2015 11:28 am • Replies 0 • Views 14

Couldn't execute statment: SQL logic error or missing databa

$
0
0
Hi,

Below is my environment:

OS: Cent OS 7.0 (64-Bit)
Asterisk version: 11.x
Database: My SQL

My SIP users are in the database. I am connected to data base from Asterisk through ODBC. Everything is working fine. But, I am getting the below message on Asterisk CLI:

db.c:332 ast_db_put: Couldn't execute statment: SQL logic error or missing database

I checked in /etc/asterisk/asterisk.conf file and the folder of "astdbdir" is "/var/lib/asterisk" and the "/var/lib/asterisk" is existed. When I check this foler, "astdb.sqlite3" file is existed.

How to avoid in getting this message? I tried in internet. But, I didn't get any possible solution. Can any body tell me the solution to solve this issue?

Thanks in advance.
Mouli

Statistics : Posted by crazymoonboy • on Wed Feb 11, 2015 11:42 am • Replies 0 • Views 15

Couldn't execute statment: SQL logic error or missing databa

$
0
0
I've not used Asterisk non-root, but I would question the wisdom of:

- Setting a password on any daemon account. I would have thought it should have been no login allowed;
- Setting anything under /usr/lib to be owned by anyone except root or bin.

Normally I would have said that anything under /etc/ should be owned by a core system account, but there are cases where Asterisk can legitimately update files there.

Statistics : Posted by crazymoonboy • on Wed Feb 11, 2015 11:42 am • Replies 5 • Views 159

Couldn't execute statment: SQL logic error or missing databa

$
0
0
Hi,

Thank you for your reply.

Asterisk is running with "astuser" and I have done the below steps:

# adduser astuser --password 'password'
# chown astuser. /var/run/asterisk
# chown -R astuser. /etc/asterisk
# chown -R astuser. /var/{lib,log,spool}/asterisk
# chown -R astuser. /usr/lib64/asterisk

Is there anything else that I need to do? Or Do I need to modify anything in the above steps?

Please suggest.

Thanks in advance.
Mouli.

Statistics : Posted by crazymoonboy • on Wed Feb 11, 2015 11:42 am • Replies 5 • Views 159

Couldn't execute statment: SQL logic error or missing databa

$
0
0
Check which user is running the Asterisk-process.
Check wheter this user has read/write permissions to /var/lib/asterisk/astdb.sqlite3

The issue You're facing is independent from MySQL or ODBC as it is related to Asterisk's internal sqlite3-based database.

Statistics : Posted by crazymoonboy • on Wed Feb 11, 2015 11:42 am • Replies 5 • Views 159

Asterisk Queue Call Disconnetion Issue

$
0
0
303 extension is registered.

Name/username Host Dyn Forcerport
303/303 (Unspecified) D N A 0 UNKNOWN

Statistics : Posted by dipti • on Wed Feb 11, 2015 12:53 pm • Replies 4 • Views 111

Asterisk Queue Call Disconnetion Issue

$
0
0
You seem to be using some UI to manage call flow in Asterisk.
Your logs show call going into Queue 604 and trying to dial 303 which is probably not available. Do you have 303 registered with your system?
What is the output of
asterisk -rx "sip show peers"?

--Satish Barot

Statistics : Posted by dipti • on Wed Feb 11, 2015 12:53 pm • Replies 4 • Views 111

Asterisk Queue Call Disconnetion Issue

$
0
0
Thanks for suggestion.But i am not able to attach log file.So i am pasting part of my log file here.

eg 999999444 is client's number.
1150 is queue used for web call back.8000 is my inbound route

[INSERT INTO cel (eventtype,eventtime,userdeftype,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,peeraccount,uniqueid,linkedid,userfield,peer) VALUES ('CHAN_START',{ ts '2015-02-11 20:17:12' },'','','9999999444','','','','8000','from-pstn','DAHDI/i1/9999999444-2126','','',3,'','','1423666032.200765','1423666032.200765','','')]

-- Accepting call from '9999999444' to '8000' on channel 0/19, span 1

-- Executing [8000@from-pstn:1] Set("DAHDI/i1/9999999444-2126", "__FROM_DID=8000") in new stack

-- Executing [8000@from-pstn:2] Gosub("DAHDI/i1/9999999444-2126", "app-blacklist-check,s,1") in new stack

-- Executing [s@app-blacklist-check:1] GotoIf("DAHDI/i1/9999999444-2126", "0?blacklisted") in new stack

-- Executing [s@app-blacklist-check:2] Set("DAHDI/i1/9999999444-2126", "CALLED_BLACKLIST=1") in new stack

-- Executing [s@app-blacklist-check:3] Return("DAHDI/i1/9999999444-2126", "") in new stack
-- Executing [8000@from-pstn:3] ExecIf("DAHDI/i1/9999999444-2126", "1 ?Set(CALLERID(name)=9999999444)") in new stack
-- Executing [8000@from-pstn:4] Set("DAHDI/i1/9999999444-2126", "__CALLINGPRES_SV=allowed") in new stack
-- Executing [8000@from-pstn:5] Set("DAHDI/i1/9999999444-2126", "CALLERPRES()=allowed_not_screened") in new stack
-- Executing [8000@from-pstn:6] Goto("DAHDI/i1/9999999444-2126", "ivr-5,s,1") in new stack
-- Goto (ivr-5,s,1)
-- Executing [s@ivr-5:1] Set("DAHDI/i1/9999999444-2126", "MSG=custom/Welcome4") in new stack
-- Executing [s@ivr-5:2] Set("DAHDI/i1/9999999444-2126", "LOOPCOUNT=0") in new stack
-- Executing [s@ivr-5:3] Set("DAHDI/i1/9999999444-2126", "__DIR-CONTEXT=") in new stack
-- Executing [s@ivr-5:4] Set("DAHDI/i1/9999999444-2126", "_IVR_CONTEXT_ivr-5=") in new stack
-- Executing [s@ivr-5:5] Set("DAHDI/i1/9999999444-2126", "_IVR_CONTEXT=ivr-5") in new stack
-- Executing [s@ivr-5:6] GotoIf("DAHDI/i1/9999999444-2126", "0?begin") in new stack
-- Executing [s@ivr-5:7] Answer("DAHDI/i1/9999999444-2126", "") in new stack
> [INSERT INTO cel (eventtype,eventtime,userdeftype,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,peeraccount,uniqueid,linkedid,userfield,peer) VALUES ('ANSWER',{ ts '2015-02-11 20:17:12' },'','9999999444','9999999444','9999999444','','8000','s','ivr-5','DAHDI/i1/9999999444-2126','Answer','',3,'','','1423666032.200765','1423666032.200765','','')]

-- Executing [s@ivr-5:8] Wait("DAHDI/i1/9999999444-2126", "1") in new stack

-- Executing [s@ivr-5:9] Set("DAHDI/i1/9999999444-2126", "TIMEOUT(digit)=3") in new stack
-- Digit timeout set to 3.000
-- Executing [s@ivr-5:10] Set("DAHDI/i1/9999999444-2126", "TIMEOUT(response)=5") in new stack

-- Response timeout set to 5.000

-- Executing [s@ivr-5:11] Set("DAHDI/i1/9999999444-2126", "__IVR_RETVM=") in new stack

-- Executing [s@ivr-5:12] ExecIf("DAHDI/i1/9999999444-2126", "1?Background(custom/Welcome4)") in new stack

-- <DAHDI/i1/9999999444-2126> Playing 'custom/Welcome4.slin' (language 'en')

== CDR updated on DAHDI/i1/9999999444-2126
-- Executing [3@ivr-5:1] Macro("DAHDI/i1/9999999444-2126", "blkvm-clr,") in new stack

-- Executing [s@macro-blkvm-clr:1] Set("DAHDI/i1/9999999444-2126", "SHARED(BLKVM,)=") in new stack
-- Executing [s@macro-blkvm-clr:2] Set("DAHDI/i1/9999999444-2126", "GOSUB_RETVAL=") in new stack
-- Executing [s@macro-blkvm-clr:3] MacroExit("DAHDI/i1/9999999444-2126", "") in new stack
-- Executing [3@ivr-5:2] Set("DAHDI/i1/9999999444-2126", "__NODEST=") in new stack
-- Executing [3@ivr-5:3] Goto("DAHDI/i1/9999999444-2126", "ext-queues,604,1") in new stack
-- Goto (ext-queues,604,1)
-- Executing [604@ext-queues:1] Macro("DAHDI/i1/9999999444-2126", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("DAHDI/i1/9999999444-2126", "AMPUSER=9999999444") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("DAHDI/i1/9999999444-2126", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("DAHDI/i1/9999999444-2126", "1?Set(REALCALLERIDNUM=9999999444)") in new stack
-- Executing [s@macro-user-callerid:4] Set("DAHDI/i1/9999999444-2126", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:5] Set("DAHDI/i1/9999999444-2126", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("DAHDI/i1/9999999444-2126", "1?report") in new stack
-- Goto (macro-user-callerid,s,11)
-- Executing [s@macro-user-callerid:11] GotoIf("DAHDI/i1/9999999444-2126", "0?continue") in new stack
-- Executing [s@macro-user-callerid:12] Set("DAHDI/i1/9999999444-2126", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:13] GotoIf("DAHDI/i1/9999999444-2126", "1?continue") in new stack
-- Goto (macro-user-callerid,s,24)
-- Executing [s@macro-user-callerid:24] Set("DAHDI/i1/9999999444-2126", "CALLERID(number)=9999999444") in new stack
-- Executing [s@macro-user-callerid:25] Set("DAHDI/i1/9999999444-2126", "CALLERID(name)=9999999444") in new stack
-- Executing [s@macro-user-callerid:26] Set("DAHDI/i1/9999999444-2126", "CHANNEL(language)=en") in new stack
-- Executing [604@ext-queues:2] Answer("DAHDI/i1/9999999444-2126", "") in new stack
-- Executing [604@ext-queues:3] Macro("DAHDI/i1/9999999444-2126", "blkvm-set,reset") in new stack
-- Executing [s@macro-blkvm-set:1] ExecIf("DAHDI/i1/9999999444-2126", "1?Set(__BLKVM_CHANNEL=DAHDI/i1/9999999444-2126)") in new stack
-- Executing [s@macro-blkvm-set:2] Set("DAHDI/i1/9999999444-2126", "SHARED(BLKVM,DAHDI/i1/9999999444-2126)=TRUE") in new stack
-- Executing [s@macro-blkvm-set:3] Set("DAHDI/i1/9999999444-2126", "GOSUB_RETVAL=TRUE") in new stack
-- Executing [s@macro-blkvm-set:4] MacroExit("DAHDI/i1/9999999444-2126", "") in new stack
-- Executing [604@ext-queues:4] ExecIf("DAHDI/i1/9999999444-2126", "1?Set(_DIAL_OPTIONS=trM(auto-blkvm))") in new stack
-- Executing [604@ext-queues:5] Set("DAHDI/i1/9999999444-2126", "__NODEST=604") in new stack
-- Executing [604@ext-queues:6] Set("DAHDI/i1/9999999444-2126", "MONITOR_FILENAME=/var/spool/asterisk/monitor/q604-20150211-201727-1423666032.200765") in new stack
-- Executing [604@ext-queues:7] Set("DAHDI/i1/9999999444-2126", "__CWIGNORE=TRUE") in new stack
-- Executing [604@ext-queues:8] Queue("DAHDI/i1/9999999444-2126", "604,t,,") in new stack
> [INSERT INTO cel (eventtype,eventtime,userdeftype,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,peeraccount,uniqueid,linkedid,userfield,peer) VALUES ('ANSWER',{ ts '2015-02-11 20:17:27' },'','9999999444','9999999444','9999999444','','8000','604','ext-queues','DAHDI/i1/9999999444-2126','Answer','',3,'','','1423666032.200765','1423666032.200765','','')]
> [INSERT INTO cel (eventtype,eventtime,userdeftype,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,peeraccount,uniqueid,linkedid,userfield,peer) VALUES ('APP_START',{ ts '2015-02-11 20:17:27' },'','9999999444','9999999444','9999999444','','8000','604','ext-queues','DAHDI/i1/9999999444-2126','Queue','604,t,,',3,'','','1423666032.200765','1423666032.200765','','')]


-- Started music on hold, class 'default', on DAHDI/i1/9999999444-2126
-- Executing [s@macro-user-callerid:1] Set("Local/303@from-queue-0001570d;2", "AMPUSER=9999999444") in new stack


-- Executing [s@macro-user-callerid:2] GotoIf("Local/303@from-queue-0001570d;2", "1?report") in new stack


-- Goto (macro-user-callerid,s,11)


-- Executing [s@macro-user-callerid:11] GotoIf("Local/303@from-queue-0001570d;2", "0?continue") in new stack


-- Executing [s@macro-user-callerid:12] Set("Local/303@from-queue-0001570d;2", "__TTL=63") in new stack


-- Executing [s@macro-user-callerid:13] GotoIf("Local/303@from-queue-0001570d;2", "1?continue") in new stack


-- Goto (macro-user-callerid,s,24)


-- Executing [s@macro-user-callerid:24] Set("Local/303@from-queue-0001570d;2", "CALLERID(number)=9999999444") in new stack


-- Executing [s@macro-user-callerid:25] Set("Local/303@from-queue-0001570d;2", "CALLERID(name)=9999999444") in new stack


-- Executing [s@macro-user-callerid:26] Set("Local/303@from-queue-0001570d;2", "CHANNEL(language)=en") in new stack


-- Executing [s@macro-exten-vm:2] Set("Local/303@from-queue-0001570d;2", "RingGroupMethod=none") in new stack


-- Executing [s@macro-exten-vm:3] Set("Local/303@from-queue-0001570d;2", "__EXTTOCALL=303") in new stack


-- Executing [s@macro-exten-vm:4] Set("Local/303@from-queue-0001570d;2", "__PICKUPMARK=303") in new stack


-- Executing [s@macro-exten-vm:5] Set("Local/303@from-queue-0001570d;2", "RT=""") in new stack


-- Executing [s@macro-exten-vm:6] Macro("Local/303@from-queue-0001570d;2", "record-enable,303,IN") in new stack


-- Executing [s@macro-record-enable:1] GotoIf("Local/303@from-queue-0001570d;2", "1?check") in new stack


-- Goto (macro-record-enable,s,4)


-- Executing [s@macro-record-enable:4] ExecIf("Local/303@from-queue-0001570d;2", "0?MacroExit()") in new stack


-- Executing [s@macro-record-enable:5] GotoIf("Local/303@from-queue-0001570d;2", "0?Group:OUT") in new stack


-- Goto (macro-record-enable,s,14)


-- Executing [s@macro-record-enable:14] GotoIf("Local/303@from-queue-0001570d;2", "1?IN") in new stack


-- Goto (macro-record-enable,s,18)


-- Executing [s@macro-record-enable:18] ExecIf("Local/303@from-queue-0001570d;2", "0?MacroExit()") in new stack


-- Executing [s@macro-record-enable:19] Set("Local/303@from-queue-0001570d;2", "CALLFILENAME=20150211-201727-1423666047.200767") in new stack


-- Executing [s@macro-record-enable:20] MixMonitor("Local/303@from-queue-0001570d;2", "20150211-201727-1423666047.200767.wav,,") in new stack


-- Executing [s@macro-record-enable:21] MacroExit("Local/303@from-queue-0001570d;2", "") in new stack


-- Executing [s@macro-exten-vm:7] Macro("Local/303@from-queue-0001570d;2", "dial-one,"",trM(auto-blkvm),303") in new stack


-- Executing [s@macro-dial-one:1] Set("Local/303@from-queue-0001570d;2", "DEXTEN=303") in new stack


-- Executing [s@macro-dial-one:2] Set("Local/303@from-queue-0001570d;2", "DIALSTATUS_CW=") in new stack


-- Executing [s@macro-dial-one:3] GosubIf("Local/303@from-queue-0001570d;2", "0?screen,1") in new stack


-- Executing [s@macro-dial-one:4] GosubIf("Local/303@from-queue-0001570d;2", "0?cf,1") in new stack


-- Executing [s@macro-dial-one:5] GotoIf("Local/303@from-queue-0001570d;2", "1?skip1") in new stack


-- Goto (macro-dial-one,s,8)


-- Executing [s@macro-dial-one:8] GotoIf("Local/303@from-queue-0001570d;2", "0?nodial") in new stack


-- Executing [s@macro-dial-one:9] GotoIf("Local/303@from-queue-0001570d;2", "0?continue") in new stack


-- Executing [s@macro-dial-one:10] Set("Local/303@from-queue-0001570d;2", "EXTHASCW=") in new stack


-- Executing [s@macro-dial-one:11] GotoIf("Local/303@from-queue-0001570d;2", "1?next1:cwinusebusy") in new stack


-- Goto (macro-dial-one,s,12)


-- Executing [s@macro-dial-one:12] GotoIf("Local/303@from-queue-0001570d;2", "0?docfu:skip3") in new stack


-- Goto (macro-dial-one,s,16)


-- Executing [s@macro-dial-one:16] GotoIf("Local/303@from-queue-0001570d;2", "1?next2:continue") in new stack


-- Goto (macro-dial-one,s,17)


-- Executing [s@macro-dial-one:17] GotoIf("Local/303@from-queue-0001570d;2", "1?continue") in new stack


-- Goto (macro-dial-one,s,25)


-- Executing [s@macro-dial-one:25] GotoIf("Local/303@from-queue-0001570d;2", "0?nodial") in new stack


-- Executing [s@macro-dial-one:26] GosubIf("Local/303@from-queue-0001570d;2", "1?dstring,1:dlocal,1") in new stack


-- Executing [dstring@macro-dial-one:1] Set("Local/303@from-queue-0001570d;2", "DSTRING=") in new stack


-- Executing [dstring@macro-dial-one:2] Set("Local/303@from-queue-0001570d;2", "DEVICES=303") in new stack


-- Executing [dstring@macro-dial-one:3] ExecIf("Local/303@from-queue-0001570d;2", "0?Return()") in new stack


-- Executing [dstring@macro-dial-one:4] ExecIf("Local/303@from-queue-0001570d;2", "0?Set(DEVICES=03)") in new stack


-- Executing [dstring@macro-dial-one:5] Set("Local/303@from-queue-0001570d;2", "LOOPCNT=1") in new stack


-- Executing [dstring@macro-dial-one:6] Set("Local/303@from-queue-0001570d;2", "ITER=1") in new stack


-- Executing [dstring@macro-dial-one:7] Set("Local/303@from-queue-0001570d;2", "THISDIAL=SIP/303") in new stack


-- Executing [dstring@macro-dial-one:8] GosubIf("Local/303@from-queue-0001570d;2", "1?zap2dahdi,1") in new stack


-- Executing [zap2dahdi@macro-dial-one:1] ExecIf("Local/303@from-queue-0001570d;2", "0?Return()") in new stack


-- Executing [zap2dahdi@macro-dial-one:2] Set("Local/303@from-queue-0001570d;2", "NEWDIAL=") in new stack


-- Executing [zap2dahdi@macro-dial-one:3] Set("Local/303@from-queue-0001570d;2", "LOOPCNT2=1") in new stack


-- Executing [zap2dahdi@macro-dial-one:4] Set("Local/303@from-queue-0001570d;2", "ITER2=1") in new stack


-- Executing [zap2dahdi@macro-dial-one:5] Set("Local/303@from-queue-0001570d;2", "THISPART2=SIP/303") in new stack


== Begin MixMonitor Recording Local/303@from-queue-0001570d;2


-- Executing [zap2dahdi@macro-dial-one:6] ExecIf("Local/303@from-queue-0001570d;2", "0?Set(THISPART2=DAHDI/303)") in new stack


-- Executing [zap2dahdi@macro-dial-one:7] Set("Local/303@from-queue-0001570d;2", "NEWDIAL=SIP/303&") in new stack


-- Executing [zap2dahdi@macro-dial-one:8] Set("Local/303@from-queue-0001570d;2", "ITER2=2") in new stack


-- Executing [zap2dahdi@macro-dial-one:9] GotoIf("Local/303@from-queue-0001570d;2", "0?begin2") in new stack


-- Executing [zap2dahdi@macro-dial-one:10] Set("Local/303@from-queue-0001570d;2", "THISDIAL=SIP/303") in new stack


-- Executing [zap2dahdi@macro-dial-one:11] Return("Local/303@from-queue-0001570d;2", "") in new stack


-- Executing [dstring@macro-dial-one:9] Set("Local/303@from-queue-0001570d;2", "DSTRING=SIP/303&") in new stack


-- Executing [dstring@macro-dial-one:10] Set("Local/303@from-queue-0001570d;2", "ITER=2") in new stack


-- Executing [dstring@macro-dial-one:11] GotoIf("Local/303@from-queue-0001570d;2", "0?begin") in new stack


-- Executing [dstring@macro-dial-one:12] Set("Local/303@from-queue-0001570d;2", "DSTRING=SIP/303") in new stack


-- Executing [dstring@macro-dial-one:13] Return("Local/303@from-queue-0001570d;2", "") in new stack


-- Executing [s@macro-dial-one:27] GotoIf("Local/303@from-queue-0001570d;2", "0?nodial") in new stack


-- Executing [s@macro-dial-one:28] GotoIf("Local/303@from-queue-0001570d;2", "1?skiptrace") in new stack


-- Goto (macro-dial-one,s,30)


-- Executing [s@macro-dial-one:30] Set("Local/303@from-queue-0001570d;2", "D_OPTIONS=trM(auto-blkvm)") in new stack


-- Executing [s@macro-dial-one:31] ExecIf("Local/303@from-queue-0001570d;2", "0?SIPAddHeader(Alert-Info: )") in new stack


-- Executing [s@macro-dial-one:32] ExecIf("Local/303@from-queue-0001570d;2", "0?SIPAddHeader()") in new stack


-- Executing [s@macro-dial-one:33] ExecIf("Local/303@from-queue-0001570d;2", "0?Set(CHANNEL(musicclass)=)") in new stack


-- Executing [s@macro-dial-one:34] GosubIf("Local/303@from-queue-0001570d;2", "0?qwait,1") in new stack


-- Executing [s@macro-dial-one:35] Set("Local/303@from-queue-0001570d;2", "__CWIGNORE=TRUE") in new stack


-- Executing [s@macro-dial-one:36] Set("Local/303@from-queue-0001570d;2", "__KEEPCID=TRUE") in new stack


-- Executing [s@macro-dial-one:37] GotoIf("Local/303@from-queue-0001570d;2", "0?usegoto,1") in new stack


-- Executing [s@macro-dial-one:38] GotoIf("Local/303@from-queue-0001570d;2", "0?godial") in new stack


-- Executing [s@macro-dial-one:39] Set("Local/303@from-queue-0001570d;2", "CONNECTEDLINE(name,i)=DEALING 3") in new stack


-- Executing [s@macro-dial-one:40] Set("Local/303@from-queue-0001570d;2", "CONNECTEDLINE(num)=303") in new stack


-- Executing [s@macro-dial-one:41] Set("Local/303@from-queue-0001570d;2", "D_OPTIONS=trM(auto-blkvm)I") in new stack


-- Executing [s@macro-dial-one:42] Dial("Local/303@from-queue-0001570d;2", "SIP/303,"",trM(auto-blkvm)I") in new stack


> [INSERT INTO cel (eventtype,eventtime,userdeftype,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,peeraccount,uniqueid,linkedid,userfield,peer) VALUES ('APP_START',{ ts '2015-02-11 20:17:27' },'','9999999444','9999999444','9999999444','','','s','macro-dial-one','Local/303@from-queue-0001570d;2','Dial','SIP/303,"",trM(auto-blkvm)I',3,'','','1423666047.200767','1423666032.200765','','')]


[Feb 11 20:17:27] WARNING[12000]: app_dial.c:2345 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)


> [INSERT INTO cel (eventtype,eventtime,userdeftype,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,peeraccount,uniqueid,linkedid,userfield,peer) VALUES ('APP_END',{ ts '2015-02-11 20:17:27' },'','9999999444','9999999444','9999999444','','','s','macro-dial-one','Local/303@from-queue-0001570d;2','Dial','SIP/303,"",trM(auto-blkvm)I',3,'','','1423666047.200767','1423666032.200765','','')]


-- Executing [s@macro-dial-one:43] ExecIf("Local/303@from-queue-0001570d;2", "0?Set(DIALSTATUS=)") in new stack

Statistics : Posted by dipti • on Wed Feb 11, 2015 12:53 pm • Replies 4 • Views 111

Asterisk Queue Call Disconnetion Issue

$
0
0
You need to post the relevant dialplan part here and some denug information describing Your problem for an example call (set at least core set verbose 5 in CLI).
Otherwise noone will be able to assist You.

Statistics : Posted by dipti • on Wed Feb 11, 2015 12:53 pm • Replies 4 • Views 111

Asterisk Queue Call Disconnetion Issue

$
0
0
Hi,

I am using asterisk for calling purpose. When some one calls on our board line number, ivr plays with
dial 1 for sale, 2 for support & 3 for call and trade options

When client selects any of the option,call disconnected automatically.

I am using queue for same.[I am not facing this issue with ring group.]

How can i resolve this issue ?

Thanks,
Dipti

Statistics : Posted by dipti • on Wed Feb 11, 2015 12:53 pm • Replies 4 • Views 111

Asterisk HMR Rules

$
0
0
Hello, I'm working with a customer that has to interact with our system in a very specific way, and our Acme SBCs are set up to expect traffic in a very specific way, which is causing some issues with the way we would like to present outbound caller ID from their device.

The scenario I'm looking to find a solution to should work like this:

Asterisk box received inbound call from 111-222-3333.
Asterisk box forwards call out to 999-888-7777.
We need the Asterisk box to present caller the caller ID of "111-222-3333" on that call rather than the number registered to this trunk. In order to do that within the context of how our SBCs are set up we need this information to be provided in the P-Asserted-Identity header.

From what I've been able to gather thus far this is probably a two part resolution, the first part is to use CUT to remove the information from the "From" header of the call that is being presented. When calls come into us, at the moment, they are being presented with the "From" header shown as such:

From: "1112223333" <sip:user@domain>;tag=as4ba66c63

I have looked around and have not been able to find a way to use the CUT function on just that specific chunk of the From header that is shown in bold/quotation marks above.

From there the rest of it seems pretty straight forward, I would just have to take that information and use "SipAddHeader(P-Asserted-Identity: <sip:${whateverfunctionitisthatiputhere}>)


Does anyone have any idea what direction I could go to make this work the way that we want it to work?

Statistics : Posted by bdearman • on Thu Feb 12, 2015 12:30 pm • Replies 0 • Views 12

AsteriskNow, TDM400P22, and a newbie

$
0
0
Hi there,

Did you configured Dahdi channels with your card?

If you want to configure only VM you just need to create VMbox on you asterisk and redirect the calls to you VM.


Sohaib Khan

Statistics : Posted by rolltiderusty • on Fri Aug 22, 2014 5:12 pm • Replies 4 • Views 577

AsteriskNow, TDM400P22, and a newbie

$
0
0
Hi All,

I've been reading through the posts and cannot find what I am looking for. A few weeks ago I read a post that showed detailed step by step instructions for a super simple connection of AsteriskNow to a POTS line. I ordered the card, and cannot find the post. Would someone please direct me in the correct direction?

I do not need to do any voip. I added the card to my existing default AsteriskNow install of version 1.8.28.2. Nothing has been changed since the install of the OS except the physical install of the TDM400P22.

The AsteriskNow server does come up, I can login in to it from a remote computer. So out of the box it is in pretty good shape.

What is the minimum I have to do to make it answer my phone and behave like an answering machine? It does not need to do any calling or call forwarding at this time. I don't need sip phones or any of that stuff yet either. I just want Asterisk to be my answering machine.

Thank You,

Rusty

Statistics : Posted by rolltiderusty • on Fri Aug 22, 2014 5:12 pm • Replies 4 • Views 577
Viewing all 7460 articles
Browse latest View live


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