VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
motty.cruz at gmail.com Guest
|
Posted: Tue Jan 28, 2014 1:55 pm Post subject: [asterisk-users] callerid overwrite |
|
|
Hi all,
I'm having issues with overwrite caller id, when I call someone my caller id should be "mycompanyinc" but instead my id shows up as my extension number 101.
this is what i have in sip.conf
[101]
type=friend
context=sipphones
call-limit=99
callerid="iuser 101"
disallow=all
allow=ulaw
allow=alaw
username=101
secret=Passwd
dtmfmode=rfc2833
host=dynamic
mailbox=101@default
nat=yes
canreinvite=no
this is what i have in extensions.conf
[outbound]
exten => _91NXXNXXXXXX,1,Set(CALLERID(num)=mycompanyinc)
exten => _91NXXNXXXXXX,2,Dial(SIP/att/${EXTEN:1},80)
exten => _9NXXXXXX,1,Set(CALLERID(num)=mycompanyinc)
exten => _9NXXXXXX,2,Dial(SIP/att/${EXTEN:1},80)
any ideas? as this happens random, |
|
Back to top |
|
|
andres at telesip.net Guest
|
Posted: Tue Jan 28, 2014 2:22 pm Post subject: [asterisk-users] callerid overwrite |
|
|
On 1/28/14, 1:55 PM, motty cruz wrote:
Quote: | Hi all,
I'm having issues with overwrite caller id, when I call someone my caller id should be "mycompanyinc" but instead my id shows up as my extension number 101.
this is what i have in sip.conf
[101]
type=friend
context=sipphones
call-limit=99
callerid="iuser 101"
disallow=all
allow=ulaw
allow=alaw
username=101
secret=Passwd
dtmfmode=rfc2833
host=dynamic
mailbox=101@default
nat=yes
canreinvite=no
this is what i have in extensions.conf
[outbound]
exten => _91NXXNXXXXXX,1,Set(CALLERID(num)=mycompanyinc)
| This is how we have it and it works fine on Asterisk 1.8:
Set(CALLERID(number)=insert your number here)
Quote: | exten => _91NXXNXXXXXX,2,Dial(SIP/att/${EXTEN:1},80)
exten => _9NXXXXXX,1,Set(CALLERID(num)=mycompanyinc)
exten => _9NXXXXXX,2,Dial(SIP/att/${EXTEN:1},80)
any ideas? as this happens random,
--
Technical Support
http://www.cellroute.net |
|
|
Back to top |
|
|
cwallace at lodgingcom... Guest
|
Posted: Tue Jan 28, 2014 4:04 pm Post subject: [asterisk-users] callerid overwrite |
|
|
On Tue, 28 Jan 2014 10:55:58 -0800
motty cruz <motty.cruz@gmail.com> wrote:
Quote: | this is what i have in extensions.conf
[outbound]
exten => _91NXXNXXXXXX,1,Set(CALLERID(num)=mycompanyinc)
exten => _91NXXNXXXXXX,2,Dial(SIP/att/${EXTEN:1},80)
exten => _9NXXXXXX,1,Set(CALLERID(num)=mycompanyinc)
exten => _9NXXXXXX,2,Dial(SIP/att/${EXTEN:1},80)
any ideas? as this happens random,
|
You're setting CALLERID(num) to a name. Use CALLERID(name) instead.
Additionally, you might want to set CALLERID(num) to your DID.
You can do both name and number at the same time by using
CALLERID(all), something like this:
exten => _91NXXNXXXXXX,1,Set(CALLERID(all)="mycompanyinc"<123-456-7890>)
--
C. Chad Wallace, B.Sc.
The Lodging Company
http://www.lodgingcompany.com/
OpenPGP Public Key ID: 0x262208A0
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
motty.cruz at gmail.com Guest
|
Posted: Tue Jan 28, 2014 4:05 pm Post subject: [asterisk-users] callerid overwrite |
|
|
Thank you for your reply, I updated extensions.conf file to reflect your suggestion, I will monitor Asterisk for any more issues,
Thanks,
On Tue, Jan 28, 2014 at 11:23 AM, Andres <andres@telesip.net (andres@telesip.net)> wrote:
Quote: | On 1/28/14, 1:55 PM, motty cruz wrote:
Quote: | Hi all,
I'm having issues with overwrite caller id, when I call someone my caller id should be "mycompanyinc" but instead my id shows up as my extension number 101.
this is what i have in sip.conf
[101]
type=friend
context=sipphones
call-limit=99
callerid="iuser 101"
disallow=all
allow=ulaw
allow=alaw
username=101
secret=Passwd
dtmfmode=rfc2833
host=dynamic
mailbox=101@default
nat=yes
canreinvite=no
this is what i have in extensions.conf
[outbound]
exten => _91NXXNXXXXXX,1,Set(CALLERID(num)=mycompanyinc)
|
This is how we have it and it works fine on Asterisk 1.8:
Set(CALLERID(number)=insert your number here)
Quote: | exten => _91NXXNXXXXXX,2,Dial(SIP/att/${EXTEN:1},80)
exten => _9NXXXXXX,1,Set(CALLERID(num)=mycompanyinc)
exten => _9NXXXXXX,2,Dial(SIP/att/${EXTEN:1},80)
any ideas? as this happens random,
|
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
|
|
|
Back to top |
|
|
motty.cruz at gmail.com Guest
|
Posted: Thu Jan 30, 2014 6:29 pm Post subject: [asterisk-users] callerid overwrite |
|
|
look like the issue continues, I am unable to overwrite callerid from sip.conf in extensions.conf,
In sip.conf under
[general]
trustrpid = no < should i change it to yes?
Thanks
On Tue, Jan 28, 2014 at 1:06 PM, motty cruz <motty.cruz@gmail.com (motty.cruz@gmail.com)> wrote:
Quote: | Thank you for your reply, I updated extensions.conf file to reflect your suggestion, I will monitor Asterisk for any more issues,
Thanks,
On Tue, Jan 28, 2014 at 11:23 AM, Andres <andres@telesip.net (andres@telesip.net)> wrote:
Quote: | On 1/28/14, 1:55 PM, motty cruz wrote:
Quote: | Hi all,
I'm having issues with overwrite caller id, when I call someone my caller id should be "mycompanyinc" but instead my id shows up as my extension number 101.
this is what i have in sip.conf
[101]
type=friend
context=sipphones
call-limit=99
callerid="iuser 101"
disallow=all
allow=ulaw
allow=alaw
username=101
secret=Passwd
dtmfmode=rfc2833
host=dynamic
mailbox=101@default
nat=yes
canreinvite=no
this is what i have in extensions.conf
[outbound]
exten => _91NXXNXXXXXX,1,Set(CALLERID(num)=mycompanyinc)
|
This is how we have it and it works fine on Asterisk 1.8:
Set(CALLERID(number)=insert your number here)
Quote: | exten => _91NXXNXXXXXX,2,Dial(SIP/att/${EXTEN:1},80)
exten => _9NXXXXXX,1,Set(CALLERID(num)=mycompanyinc)
exten => _9NXXXXXX,2,Dial(SIP/att/${EXTEN:1},80)
any ideas? as this happens random,
|
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
|
|
|
|
Back to top |
|
|
jhester at digium.com Guest
|
Posted: Thu Jan 30, 2014 11:57 pm Post subject: [asterisk-users] callerid overwrite |
|
|
Howdy,
Before changing any configuration I would highly recommend reading through the entry in the sample file. Trust remote party ID may be set to 'no' for a very good reason on your PBX, please take care to understand why it should be changed before doing so.
Before digging into that though, what does the CLI tell you if you do a NoOp() after having Set() the Caller ID function [1]?
[1] Something like;
Quote: | exten => _9NXXXXXX,1,Set(CALLERID(name)=mycompanyinc)
same => n,NoOp(The caller ID has been set to ${CALLERID(name)})
same => n,Dial(SIP/att/${EXTEN:1},80)
| Hope this helps.
Justin Hester
Digium, Inc. · Technical Trainer
445 Jan Davis Drive NW · Huntsville, AL 35806 · USA
ph: +1 256 428 6238
Check us out at: http://digium.com · http://asterisk.org
On Thu, Jan 30, 2014 at 5:29 PM, motty cruz <motty.cruz@gmail.com (motty.cruz@gmail.com)> wrote:
Quote: | look like the issue continues, I am unable to overwrite callerid from sip.conf in extensions.conf,
In sip.conf under
[general]
trustrpid = no < should i change it to yes?
Thanks
On Tue, Jan 28, 2014 at 1:06 PM, motty cruz <motty.cruz@gmail.com (motty.cruz@gmail.com)> wrote:
Quote: | Thank you for your reply, I updated extensions.conf file to reflect your suggestion, I will monitor Asterisk for any more issues,
Thanks,
On Tue, Jan 28, 2014 at 11:23 AM, Andres <andres@telesip.net (andres@telesip.net)> wrote:
Quote: | On 1/28/14, 1:55 PM, motty cruz wrote:
Quote: | Hi all,
I'm having issues with overwrite caller id, when I call someone my caller id should be "mycompanyinc" but instead my id shows up as my extension number 101.
this is what i have in sip.conf
[101]
type=friend
context=sipphones
call-limit=99
callerid="iuser 101"
disallow=all
allow=ulaw
allow=alaw
username=101
secret=Passwd
dtmfmode=rfc2833
host=dynamic
mailbox=101@default
nat=yes
canreinvite=no
this is what i have in extensions.conf
[outbound]
exten => _91NXXNXXXXXX,1,Set(CALLERID(num)=mycompanyinc)
|
This is how we have it and it works fine on Asterisk 1.8:
Set(CALLERID(number)=insert your number here)
Quote: | exten => _91NXXNXXXXXX,2,Dial(SIP/att/${EXTEN:1},80)
exten => _9NXXXXXX,1,Set(CALLERID(num)=mycompanyinc)
exten => _9NXXXXXX,2,Dial(SIP/att/${EXTEN:1},80)
any ideas? as this happens random,
|
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
|
|
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
|
|
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|