[asterisk-bugs] [Asterisk 0018973]: Followme not giving the callerid
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue Mar 15 18:08:46 CDT 2011
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=18973
======================================================================
Reported By: hamlet505a
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 18973
Category: Applications/app_followme
Reproducibility: always
Severity: minor
Priority: normal
Status: new
Asterisk Version: 1.8.3
JIRA:
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2011-03-14 18:07 CDT
Last Modified: 2011-03-15 18:08 CDT
======================================================================
Summary: Followme not giving the callerid
Description:
I have tested this on 1.8.2 and 1.8.3 Asterisk. I have recently upgraded
from 1.4 to 1.8. I have copied the configurations from 1.4 to 1.8. I have
changed the configs slightly as to account for some syntax. But this was a
working configuration on Asterisk 1.4 as it successfully passed the
callerid through followme.
Here is the code followed by a simple trace without followme that
successfully shows the callerid using Asterisk 1.8:
exten => 2970,1,NoOp(${CALLERID(name)})
exten => 2970,2,set(CALLERID(num)=${prefix}${CALLERID(num)})
exten => 2970,3,Dial(SIP/${icell}@cme,15,t)
== Using SIP RTP CoS mark 5
-- Executing [2970 at incoming-mobile-extensions:1]
NoOp("SIP/4831-00000029", "4831") in new stack
-- Executing [2970 at incoming-mobile-extensions:2]
Set("SIP/4831-00000029", "CALLERID(num)=prefix4831") in new stack
-- Executing [2970 at incoming-mobile-extensions:3]
Dial("SIP/4831-00000029", "SIP/xxxxxxxxxx at cme,15,t") in new stack
== Using SIP RTP CoS mark 5
-- Called xxxxxxxxxx at cme
-- SIP/cme-0000002a is making progress passing it to
SIP/4831-00000029
-- SIP/cme-0000002a is making progress passing it to
SIP/4831-00000029
== Spawn extension (incoming-mobile-extensions, 2970, 3) exited non-zero
on 'SIP/4831-00000029'
Above, icell=xxxxxxxxxx a ten digit phone number (blocked it out). CME is
Cisco call manager express. Prefix is the 1st 6 digits and CallerID(num)
is a 4 digit extension. The above worked.
Now we add followme in:
exten => 2970,1,NoOp(${CALLERID(name)})
exten => 2970,2,set(CALLERID(num)=${prefix}${CALLERID(num)})
exten => 2970,3,Goto(2970-followme,s,1)
[2970-followme]
exten => s,1,FollowMe(2970)
exten => s,n,VoiceMail(2970}@internal)
exten => s,n,Wait(2)
exten => s,n,Hangup()
== Using SIP RTP CoS mark 5
-- Executing [2970 at incoming-mobile-extensions:1]
NoOp("SIP/4831-00000037", "4831") in new stack
-- Executing [2970 at incoming-mobile-extensions:2]
Set("SIP/4831-00000037", "CALLERID(num)=prefix4831") in new stack
-- Executing [2970 at incoming-mobile-extensions:3]
Goto("SIP/4831-00000037", "2970-followme,s,1") in new stack
-- Goto (2970-followme,s,1)
-- Executing [s at 2970-followme:1] FollowMe("SIP/4831-00000037", "2970")
in new stack
-- <SIP/4831-00000037> Playing 'followme/pls-hold-while-try.ulaw'
(language 'en')
-- Music class default requested but no musiconhold loaded.
-- calling xxxxxxxxxx at outgoing
-- Executing [xxxxxxxxxx at outgoing:1]
Dial("Local/xxxxxxxxxx at outgoing-ace0;2", "SIP/xxxxxxxxxx at cme") in new
stack
== Using SIP RTP CoS mark 5
-- Called xxxxxxxxxx at cme
-- SIP/cme-00000038 is making progress passing it to
Local/xxxxxxxxxx at outgoing-ace0;2
-- Local/xxxxxxxxxx at outgoing-ace0;1 is making progress passing it to
SIP/4831-00000037
-- SIP/cme-00000038 is making progress passing it to
Local/xxxxxxxxxx at outgoing-ace0;2
-- Local/xxxxxxxxxx at outgoing-ace0;1 is making progress passing it to
SIP/4831-00000037
== Spawn extension (outgoing, xxxxxxxxxx, 1) exited non-zero on
'Local/xxxxxxxxxxx at outgoing-ace0;2'
Of course, same as above, prefix is the 1st 6 digits. xxxxxxxxxx is the
same as icell. The caller id is not passed to the mobile phone.
--------------------------------------------------
I just performed a sip debug. I see that the "from" line is anonymous
when followme is used. Without followme, the caller ID is correct in the
from line of SIP.
======================================================================
----------------------------------------------------------------------
(0132946) hamlet505a (reporter) - 2011-03-15 18:08
https://issues.asterisk.org/view.php?id=18973#c132946
----------------------------------------------------------------------
More clarification: On Asterisk 1.4, the followme phone number (mobile)
was able to see the original Caller ID. On Asterisk 1.8, followme does not
seem to pass the Caller ID. The call comes up as "Unavailable". Using
a straight up dial command successfully passes the caller ID to the mobile
phone.
Installed from Yum repository for Centos 5.5.
Issue History
Date Modified Username Field Change
======================================================================
2011-03-15 18:08 hamlet505a Note Added: 0132946
======================================================================
More information about the asterisk-bugs
mailing list