sean darcy
2012-Jun-20  20:21 UTC
[asterisk-users] 10.5.0: channel name inserted as callerid number ??
I'm trying to set the callerid on a SIP call:
   same=n,Set(CALLERID(all)="test"<2023214321>)
   same=n,Dial(SIP/home_outgoing/150)
-- Executing [2024541111 at from-test-sip:3]
Set("SIP/sip-test-00000019",
"CALLERID(all)="test"<2023214321>") in new stack
-- Executing [2024541111 at from-test-sip:4]
Dial("SIP/sip-test-00000019",
"SIP/home_outgoing/150") in new stack
[home_outgoing]
type=friend
transport=tcp
secret=<>
fromuser=office_incoming
host=dynamic
disallow=all
allow=ulaw
But the answering box inserts the channel name as the callerid number, 
though the callerid name is correct:
[from_home]
exten => 150,1,NoOp(${CALLERID(all)})
-- Executing [150 at from_home:1] NoOp("SIP/office_incoming-00000043",
""test" <office_incoming>") in new stack
[office_incoming]
type=user
transport=tcp
context=from_home
dtmfmode=rfc2833
disallow=all
allow=ulaw
Puzzled. Any help appreciated.
sean
Warren Selby
2012-Jun-20  20:26 UTC
[asterisk-users] 10.5.0: channel name inserted as callerid number ??
On Wed, Jun 20, 2012 at 3:21 PM, sean darcy <seandarcy2 at gmail.com> wrote:> [home_outgoing] > type=friend > transport=tcp > secret=<> > fromuser=office_incoming > host=dynamic > disallow=all > allow=ulaw >It's because you're using "fromuser" as your username setting. This will overwrite your CallerID settings. Instead try using "defaultuser". -- Thanks, --Warren Selby, dCAP http://www.SelbyTech.com <http://www.selbytech.com> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120620/9da5674b/attachment.htm>