Re: [asterisk-users] Caller ID has extra digits to strip

2006-09-05 Thread Bart Fisher
Well, currently I do not use them, but I hate to give it up either - nice to be able to ID the call type and it might be useful some day. Now it's a pain to deal with. What you get is the same here from GBX, but with MCI, it the same with ANI II added to ANI Bart Steve Totaro wrote: Do you us

Re: [asterisk-users] Caller ID has extra digits to strip

2006-09-05 Thread Steve Totaro
Do you use the AnI II digits for anything? If not, call the telco and tell them to just send ten digits. When I used to have some T1s with UCN, they sent the ANI II digits in a separate field specifically for that. I could see them in PRI debug on the console. Now with Global Crossing, I ge

Re: [asterisk-users] Caller ID has extra digits to strip

2006-09-05 Thread Bart Fisher
I was hoping someone might have the answer to this: As an update: even though you can modify the Caller ID in extensions.conf for call handling and use CallerID(number) in you script, asterisk does not honor the modified number in CDR and VoiceMail.- I need to fix the number at answer. Bart

Re: [asterisk-users] Caller ID has extra digits to strip

2006-09-02 Thread Tim St. Pierre
You could create a function that uses GotoIf() to detect the extra digits. The line it points to could strip the extra digits. What version of asterisk are you using? (the functions are different pre-1.2.1) On September 2, 2006 18:37, Bart Fisher wrote: > About 70% of the time, my Local DID prov

Re: [asterisk-users] Caller ID has extra digits to strip

2006-09-02 Thread Ira
At 03:37 PM 9/2/2006, you wrote: What can I do to strip these digits from Caller ID before answering the call so CDR and Voice Mail Caller ID announcement show correct number? I probably mis-typed something here, but something like this should do: exten => s,n,gotoif($[length(${CALLERID(number

[asterisk-users] Caller ID has extra digits to strip

2006-09-02 Thread Bart Fisher
About 70% of the time, my Local DID provider sends me ANI II digits (see http://www.nanpa.com/number_resource_info/ani_ii_assignments.html) where there will be an extra 2 digits added to the Caller ID - For example 62714222 where '62' = Cell Phone for example.. The problem is, I have not f