Re: [asterisk-users] callerid overwrite

2014-01-30 Thread motty cruz
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.c...@gmail.com wrote:

 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 and...@telesip.net wrote:

  On 1/28/14, 1:55 PM, motty cruz wrote:

  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 = _91NXXNXX,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)

  exten = _91NXXNXX,2,Dial(SIP/att/${EXTEN:1},80)
 exten = _9NXX,1,Set(CALLERID(num)=mycompanyinc)
 exten = _9NXX,2,Dial(SIP/att/${EXTEN:1},80)

  any ideas? as this happens random,





 --
 Technical Supporthttp://www.cellroute.net


 --
 _
 -- 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

Re: [asterisk-users] callerid overwrite

2014-01-30 Thread Justin Hester
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;

exten = _9NXX,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.c...@gmail.com wrote:

 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.c...@gmail.com wrote:

 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 and...@telesip.net wrote:

  On 1/28/14, 1:55 PM, motty cruz wrote:

  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 = _91NXXNXX,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)

  exten = _91NXXNXX,2,Dial(SIP/att/${EXTEN:1},80)
 exten = _9NXX,1,Set(CALLERID(num)=mycompanyinc)
 exten = _9NXX,2,Dial(SIP/att/${EXTEN:1},80)

  any ideas? as this happens random,





 --
 Technical Supporthttp://www.cellroute.net


 --
 _
 -- 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

-- 
_
-- 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

[asterisk-users] callerid overwrite

2014-01-28 Thread motty cruz
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 = _91NXXNXX,1,Set(CALLERID(num)=mycompanyinc)
exten = _91NXXNXX,2,Dial(SIP/att/${EXTEN:1},80)
exten = _9NXX,1,Set(CALLERID(num)=mycompanyinc)
exten = _9NXX,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

Re: [asterisk-users] callerid overwrite

2014-01-28 Thread Andres

On 1/28/14, 1:55 PM, motty cruz wrote:

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 = _91NXXNXX,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)

exten = _91NXXNXX,2,Dial(SIP/att/${EXTEN:1},80)
exten = _9NXX,1,Set(CALLERID(num)=mycompanyinc)
exten = _9NXX,2,Dial(SIP/att/${EXTEN:1},80)

any ideas? as this happens random,






--
Technical Support
http://www.cellroute.net

-- 
_
-- 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

Re: [asterisk-users] callerid overwrite

2014-01-28 Thread Chad Wallace
On Tue, 28 Jan 2014 10:55:58 -0800
motty cruz motty.c...@gmail.com wrote:

 this is what i have in extensions.conf
 [outbound]
 exten = _91NXXNXX,1,Set(CALLERID(num)=mycompanyinc)
 exten = _91NXXNXX,2,Dial(SIP/att/${EXTEN:1},80)
 exten = _9NXX,1,Set(CALLERID(num)=mycompanyinc)
 exten = _9NXX,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 = _91NXXNXX,1,Set(CALLERID(all)=mycompanyinc123-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


Re: [asterisk-users] callerid overwrite

2014-01-28 Thread motty cruz
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 and...@telesip.net wrote:

  On 1/28/14, 1:55 PM, motty cruz wrote:

  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 = _91NXXNXX,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)

  exten = _91NXXNXX,2,Dial(SIP/att/${EXTEN:1},80)
 exten = _9NXX,1,Set(CALLERID(num)=mycompanyinc)
 exten = _9NXX,2,Dial(SIP/att/${EXTEN:1},80)

  any ideas? as this happens random,





 --
 Technical Supporthttp://www.cellroute.net


 --
 _
 -- 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