Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
Lincoln wrote:Dear,
I have an INGROUP, when it receive a callerid beginning with '1', vicidial removes it and send like callerid without it, example, 119XXXXXXX is send like 19XXXXXXX.
I noted this problem don't occurs with others digits, i. e., [2-9]9XXXXXXX.
I think this is controlled by some configuration parameter, but i can't find it. Can you help me?
Thanks in advaced.
Lincoln.
Lincoln wrote:note: the option Clean CID Number is empty.
Lincoln wrote:Because the call comes from a cell phone, in case the ' 1 ' is a part of area code it would be ' 11 ' and we have no 10 digit phone numbers with this area code.
And the call goes through another system integrated with vicidial where can I view the full number
I from Brazil.
[trunkinbound]
exten => _X.,1,NoOp(X|${EXTEN}|CID${CALLERID(NUM)}|SIPID${SIPCALLID}|SIPDO${SIPDOMAIN}|SIPUA${SIPUSERAGENT}|SIPURI${SIPURI}|CODEC${SIP_CODEC}|SIPURIO${SIP_URI_OPTIONS}|AU${RTPAUDIOQOS}|VI${RTPVIDEOQOS}|H${HINT})
proper wrote:Lincoln, phone_number field in vicidial_list table is limited to 10 characters. ...
phone_number varchar(18) utf8_unicode_ci
williamconley wrote:proper wrote:Lincoln, phone_number field in vicidial_list table is limited to 10 characters. ...
Um ... nope.
- Code: Select all
phone_number varchar(18) utf8_unicode_ci
UPDATE vicidial_list SET phone_number = TRIM(LEADING '1' FROM phone_number)
UPDATE vicidial_list SET phone_number = TRIM(LEADING '1' FROM phone_number) WHERE CHAR_LENGTH(phone_number)>'10'
proper wrote:UPDATE vicidial_list SET phone_number = TRIM(LEADING '1' FROM phone_number) WHERE list_id IN ('100','200') LIMIT 200
Hope it helps - good luck
williamconley wrote:proper wrote:UPDATE vicidial_list SET phone_number = TRIM(LEADING '1' FROM phone_number) WHERE list_id IN ('100','200') LIMIT 200
Hope it helps - good luck
Um ... LOL ... but he's NOT in the US, and it appears his area codes could start with 1. Which means he would be killing part of the area code in some situations. Probably not the goal. Not everyone dials in the US.
[trunkinbound]
; DID call routing process
; use this one instead of the one below if you are having delay issues,
; and match to number of received digits
; exten => _XXXXXXXXXX,n,AGI(agi-DID_route.agi)
; For even more speed, you can put in the real DIDs instead of XXXXXXXXXX
; (remove the _ in that case)
exten => _X.,1,NoOp(X,${EXTEN},${CALLERID(NUM)})
exten => _X.,n,AGI(agi-DID_route.agi)
; Catch all even with unexpected first digits (will show in CLI for troubleshooting)
exten => _!,1,Noop(!,${EXTEN},${CALLERID(NUM)})
exten => _!,n,AGI(agi-DID_route.agi)
exten => s,1,NoOp(${EXTEN},${CALLERID(NUM)})
exten => s,n,AGI(agi-DID_route.agi)
; removal of Leading Plus Sign from the the phone
exten => _+X!,1,Noop(Stripping + from start of number, for annoying carriers who insist)
exten => _+X!,n,Goto(trunkinbound,${EXTEN:1},1)
; removal of Leading 1 from the the phone (US numbers only, for annoying carriers who insist)
exten => _1!,1,Noop(Stripping 1 from start of number)
exten => _1!,n,Goto(trunkinbound,${EXTEN:1},1)
; FastAGI for VICIDIAL/astGUIclient call logging
exten => h,1,AGI(agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME}-----${HANGUPCAUSE(${HANGUPCAUSE_KEYS()},tech)}))
williamconley wrote:"and nothing"? Did the server shut off? what happened? Show some asterisk CLI with what actually happened and what you would like to have happen and perhaps someone can assist.
Are you simply trying to remove the +, 1, +1 prefixes if/when present? Or something more?
- Code: Select all
[trunkinbound]
; DID call routing process
; use this one instead of the one below if you are having delay issues,
; and match to number of received digits
; exten => _XXXXXXXXXX,n,AGI(agi-DID_route.agi)
; For even more speed, you can put in the real DIDs instead of XXXXXXXXXX
; (remove the _ in that case)
exten => _X.,1,NoOp(X,${EXTEN},${CALLERID(NUM)})
exten => _X.,n,AGI(agi-DID_route.agi)
; Catch all even with unexpected first digits (will show in CLI for troubleshooting)
exten => _!,1,Noop(!,${EXTEN},${CALLERID(NUM)})
exten => _!,n,AGI(agi-DID_route.agi)
exten => s,1,NoOp(${EXTEN},${CALLERID(NUM)})
exten => s,n,AGI(agi-DID_route.agi)
; removal of Leading Plus Sign from the the phone
exten => _+X!,1,Noop(Stripping + from start of number, for annoying carriers who insist)
exten => _+X!,n,Goto(trunkinbound,${EXTEN:1},1)
; removal of Leading 1 from the the phone (US numbers only, for annoying carriers who insist)
exten => _1!,1,Noop(Stripping 1 from start of number)
exten => _1!,n,Goto(trunkinbound,${EXTEN:1},1)
; FastAGI for VICIDIAL/astGUIclient call logging
exten => h,1,AGI(agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME}-----${HANGUPCAUSE(${HANGUPCAUSE_KEYS()},tech)}))
Users browsing this forum: No registered users and 43 guests