Page 1 of 1

Can't get the caller id to work

PostPosted: Sat Feb 25, 2012 8:37 pm
by sofcall
Hi all.
I can't get the caller id to work in my installation.
i tried every possible number combinasion from(003317896114/+33178961140 /33178961140 and 0178961140)
my voip provider allow the following format +33178961140.

and from my voip account using the webbrowser i can easily change the number to what ever number i want.

tried many dialplans too.Actually i m using the following:
exten => _0ZXXXXXXX.,1,Set(CALLERID(number)=0033178961140)
exten => _0ZXXXXXXX.,n,AGI(agi://127.0.0.1:4577/call_log)
exten => _0ZXXXXXXX.,n,Dial(${TRUNK}/00212${EXTEN:1},,tToR)
exten => _0ZXXXXXXX.,n,Hangup


exten => _00212XXXXX.,1,Set(CALLERID(number)=0033178961140)
exten => _00212ZXXXX.,n,AGI(agi://127.0.0.1:4577/call_log)
exten => _00212ZXXXX.,n,Dial(${TRUNK}/${EXTEN},,tToR)
exten => _00212ZXXXX.,n,Hangup

**********************************
[siptrunk]
disallow=all
allow=ulaw
allow=alaw
allow=gsm
type=friend
secret=password.
username=login
host=77.72.xx.xx
fromuser=login
dtmfmode=rfc2833
context=from-trunk
insecure=very
nat=yes
****************************the cli when making a manual dial

Executing [8600051@default:1] MeetMe("SIP/200-0000001c", "8600051|F") in new stack
[Feb 26 02:43:42] == Parsing '/etc/asterisk/meetme.conf': [Feb 26 02:43:42] Found
[Feb 26 02:43:42] == Parsing '/etc/asterisk/meetme-vicidial.conf': [Feb 26 02:43:42] Found
[Feb 26 02:43:42] -- Created MeetMe conference 1023 for conference '8600051'
[Feb 26 02:43:42] == Manager 'sendcron' logged off from 127.0.0.1
[Feb 26 02:43:42] -- <SIP/200-0000001c> Playing 'conf-onlyperson' (language 'en')
[Feb 26 02:43:44] == Parsing '/etc/asterisk/manager.conf': [Feb 26 02:43:44] Found
[Feb 26 02:43:44] == Manager 'sendcron' logged on from 127.0.0.1
[Feb 26 02:43:44] -- Executing [8600051@default:1] MeetMe("Local/8600051@default-939f,2", "8600051|F") in new stack
[Feb 26 02:43:44] > Channel Local/8600051@default-939f,1 was answered.
[Feb 26 02:43:44] -- Executing [0663731970@default:1] Set("Local/8600051@default-939f,1", "CALLERID(number)=+33178961140") in new stack
[Feb 26 02:43:44] -- Executing [0663731970@default:2] AGI("Local/8600051@default-939f,1", "agi://127.0.0.1:4577/call_log") in new stack
[Feb 26 02:43:44] == Manager 'sendcron' logged off from 127.0.0.1
[Feb 26 02:43:44] -- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Feb 26 02:43:44] -- Executing [0663731970@default:3] Dial("Local/8600051@default-939f,1", "SIP/siptrunk/00212663731970||tToR") in new stack
[Feb 26 02:43:44] -- Called siptrunk/00212663731970
[Feb 26 02:43:44] -- SIP/siptrunk-0000001d is making progress passing it to Local/8600051@default-939f,1
[Feb 26 02:43:45] == Parsing '/etc/asterisk/manager.conf': [Feb 26 02:43:45] Found
[Feb 26 02:43:45] == Manager 'sendcron' logged on from 127.0.0.1
[Feb 26 02:43:45] -- Executing [58600051@default:1] MeetMe("Local/58600051@default-46fa,2", "8600051|Fmq") in new stack
[Feb 26 02:43:45] > Channel Local/58600051@default-46fa,1 was answered.
[Feb 26 02:43:45] -- Executing [8309@default:1] Answer("Local/58600051@default-46fa,1", "") in new stack
[Feb 26 02:43:45] -- Executing [8309@default:2] Monitor("Local/58600051@default-46fa,1", "wav|MOROCCO_120226024344_0663731970") in new stack
[Feb 26 02:43:45] -- Executing [8309@default:3] Wait("Local/58600051@default-46fa,1", "2400") in new stack
[Feb 26 02:43:45] == Manager 'sendcron' logged off from 127.0.0.1
[Feb 26 02:44:02] == Parsing '/etc/asterisk/manager.conf': [Feb 26 02:44:02] Found
[Feb 26 02:44:02] == Manager 'sendcron' logged on from 127.0.0.1
[Feb 26 02:44:02] == Spawn extension (default, 8600051, 1) exited non-zero on 'Local/8600051@default-939f,2'
[Feb 26 02:44:02] -- Executing [h@default:1] DeadAGI("Local/8600051@default-939f,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
[Feb 26 02:44:02] -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
[Feb 26 02:44:02] == Spawn extension (default, 0663731970, 3) exited non-zero on 'Local/8600051@default-939f,1'
[Feb 26 02:44:02] -- Executing [h@default:1] DeadAGI("Local/8600051@default-939f,1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0-----CANCEL----------") in new stack
[Feb 26 02:44:02] -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
[Feb 26 02:44:02] == Manager 'sendcron' logged off from 127.0.0.1
[Feb 26 02:44:02] == Parsing '/etc/asterisk/manager.conf': [Feb 26 02:44:02] Found
[Feb 26 02:44:02] == Manager 'sendcron' logged on from 127.0.0.1
[Feb 26 02:44:02] == Parsing '/etc/asterisk/manager.conf': [Feb 26 02:44:02] Found
[Feb 26 02:44:02] == Manager 'sendcron' logged on from 127.0.0.1
[Feb 26 02:44:02] == Parsing '/etc/asterisk/manager.conf': [Feb 26 02:44:02] Found
[Feb 26 02:44:02] == Manager 'sendcron' logged on from 127.0.0.1
[Feb 26 02:44:02] == Spawn extension (default, 58600051, 1) exited non-zero on 'Local/58600051@default-46fa,2'
[Feb 26 02:44:02] -- Executing [h@default:1] DeadAGI("Local/58600051@default-46fa,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
[Feb 26 02:44:02] -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
[Feb 26 02:44:02] == Spawn extension (default, 8309, 3) exited non-zero on 'Local/58600051@default-46fa,1'
[Feb 26 02:44:02] -- Executing [h@default:1] DeadAGI("Local/58600051@default-46fa,1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
[Feb 26 02:44:02] == Manager 'sendcron' logged off from 127.0.0.1
[Feb 26 02:44:02] -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
[Feb 26 02:44:02] == Manager 'sendcron' logged off from 127.0.0.1
[Feb 26 02:44:04] == Parsing '/etc/asterisk/manager.conf': [Feb 26 02:44:04] Found
[Feb 26 02:44:04] == Manager 'sendcron' logged on from 127.0.0.1
[Feb 26 02:44:04] == Spawn extension (default, 8600051, 1) exited non-zero on 'SIP/200-0000001c'
[Feb 26 02:44:04] -- Executing [h@default:1] DeadAGI("SIP/200-0000001c", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16---------------") in new stack
[Feb 26 02:44:04] == Manager 'sendcron' logged off from 127.0.0.1
[Feb 26 02:44:04] -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
[Feb 26 02:44:04] == Parsing '/etc/asterisk/manager.conf': [Feb 26 02:44:04] Found
[Feb 26 02:44:04] == Manager 'sendcron' logged on from 127.0.0.1
[Feb 26 02:44:04] -- Executing [55558600051@default:1] MeetMeAdmin("Local/55558600051@default-37c7,2", "8600051|K") in new stack
[Feb 26 02:44:04] WARNING[11442]: app_meetme.c:3134 admin_exec: Conference number '8600051' not found!

















Thank you

Callerid

PostPosted: Mon Feb 27, 2012 3:59 am
by striker
try

CALLERID(num) instead of CALLERID(number)

PostPosted: Mon Feb 27, 2012 4:40 pm
by sofcall
thank you for your reply.
I also tried that before but without any good result.

any help any tip.

thank you

PostPosted: Mon Feb 27, 2012 8:59 pm
by gardo
CallerID settings should be pretty straight forward. Normally, you just enter it in the campaign settings. If it doesn't work you need to get in touch with your carrier. They might be overriding your caller ID or they don't do caller ID pass thru.

PostPosted: Tue Feb 28, 2012 3:22 pm
by sofcall
thank you for your reply.

I ve just sent them an email and waiting for an answer.

thank you again.

PostPosted: Thu Mar 01, 2012 6:05 am
by sofcall
Well you are right GARDO.

I just tried another voip provider and it works great.
thank you again

Re: Can't get the caller id to work

PostPosted: Sun Apr 07, 2013 2:08 am
by shisdew
hi folks!

This had worked for me ,

Code: Select all
exten => _X.,1,Set(CALLERID(num)=09606202004)
exten => _X.,n,AGI(agi://127.0.0.1:4577/call_log)
exten => _X.,n,Dial(${agni}/${EXTEN:1},,tToR)
exten => _X.,n,Hangup()


hope you would find it working!

I tried it in :
Asterisk 1.4.39.1-vici RPM by demian@goautodial.com built by root @ go-desktop on a i686 running Linux on 2011-05-05 16:30:51 UTC

Linux go.goautodial.org 2.6.18-238.9.1.el5.goPAE #1 SMP Thu Apr 28 05:24:24 EDT 2011 i686 i686 i386 GNU/Linux


Cheers!