Page 1 of 1

Change Call UID ?

PostPosted: Mon Dec 28, 2015 6:37 am
by boiken
Hello everybody !

I having a problem with 1 of my SIP providers (Providers).
Im dividing them (te provider) like this 1.The Big One and 2.The Reseller (the one that i get SIP account from)
The Reseller have assigned me a CALLERID and thier servers.

They say (The Reseller) when i send calls to them (The Big One) the CallerID appear smth like V22812062800......
Only some of the calls appear like this,and the others apper with the CallerID that they assinged me (The Reseller)

And they say this is a problem for them because some calls fails .

I have tried setting a exten => _X.,1,Set(CALLERID(num)=0254152525) but this doesnt change anything

What can i do to change this V22812062800...... to a static number

Thanks

Re: Change Call UID ?

PostPosted: Mon Dec 28, 2015 11:32 am
by williamconley
There is a difference between caller id Number and caller id Name.

Vicidial uses the callerid Name field for a unique identifier which can not be altered (will break Vicidial). Vicidial sets the callerid number according to the configuration in Vicidial (can be altered via the Campaign caller id or the phone caller id).

First you need to find out if they are talking about the caller id name or number.

If the problem is setting the number, use the Vicidial managers manual to configure the number. If the problem is the name, you may need to use the loopback call method. Not sure if this is in the free version of the manual or not, but the dialplan in extensions.conf is:
<pre>
; This is a loopback dialaround to allow for hearing of ringing for 3way calls
exten => _881NXXNXXXXXX,1,Answer()
exten => _881NXXNXXXXXX,n,Dial(${TRUNKloop}/9${EXTEN:2},,To)
exten => _881NXXNXXXXXX,n,Hangup()
</pre>
Of course, you could just change the carrier. There are thousands of them. If yours can't handle callerid name appropriately (by ignoring it, which is what ALL carriers are expected to do outside canada), they should not have your business. Just sayin' ... 8-)

Re: Change Call UID ?

PostPosted: Tue Dec 29, 2015 3:24 am
by boiken
Doing these changes on the dialplan ,helped me solve this (problem for my provider :P)

exten => _10[1-9]X!,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _10[1-9]X!,2,Set(CALLERID(num)=096081894189)
exten => _10[1-9]X!,3,Set(CALLERID(name)=${CALLERID(num)})
exten => _10[1-9]X!,4,Dial(SIP/alpha/0039${EXTEN:1},,tToR)
exten => _10[1-9]X!,5,Hangup



viewtopic.php?f=4&t=33263 this solution works for me !