cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
tbrian
New Contributor

Outbound Caller ID on 924e to pass what customer PBX sends to 924e

Jump to solution

I have a 924e with a ISDN customer facing trunk and PSTN facing SIP trunk.  I want to configure Adtran to accept whatever Caller ID customer sends from PBX is this possible?

Thanks

Troy

Labels (2)
0 Kudos
1 Solution

Accepted Solutions
Anonymous
Not applicable

Re: Outbound Caller ID on 924e to pass what customer PBX sends to 924e

Jump to solution

Troy,

Only thing that could be wrong is the password. That is the correct config on how to configure sip registration.

Re-enter this command with the proper password spelled correctly.

voice trunk t01

authentication username "barney_brothers" password ""

check registration if not working enter

debug sip stack messages

then enter:

sip trunk-registration force-register

then check registration and post debug if not up.

-Mark

View solution in original post

0 Kudos
17 Replies
Anonymous
Not applicable

Re: Outbound Caller ID on 924e to pass what customer PBX sends to 924e

Jump to solution

Troy,

Depends on your config. With a basic SIP Trunk config, we don't modify the ANI (Caller ID) by default.

If you want to verify, do a "Show run voice trunk" on our unit and post your results and I can tell you how your unit is configured.

tbrian
New Contributor

Re: Outbound Caller ID on 924e to pass what customer PBX sends to 924e

Jump to solution

voice trunk T01 type sip

  description "Barney Brothers"

  sip-server primary sccvoip.socen.com

  registrar primary sccvoip.socen.com

  outbound-proxy primary sccvoip.socen.com

  codec-list G729-G711 both

  grammar request-uri host-resolve

  authentication username "barney_brothers" password ""

!

voice trunk T02 type isdn

  description "PRI to Customer Phone System"

  resource-selection linear ascending

  connect isdn-group 1

  rtp delay-mode adaptive

  codec-list G729-G711

tbrian
New Contributor

Re: Outbound Caller ID on 924e to pass what customer PBX sends to 924e

Jump to solution

That is the config I have.  According to what I have read my caller id is coming from the below config.  Could this be correct?  The caller id is always 4358675918

voice user 4358675918

  connect sip

  no cos

  first-name "Truck"

  password encrypted "4440ad42a9e19808f0d80d5c2ebcf4063a41"

  sip-identity 4358675918 T01 register auth-name "barney_brothers" password encrypted "3a34499f170e154ce1c81df5cc18d3842cc9"

  sip-authentication password encrypted "3337229fde24f898298cc1e122bfb0cf17ea"

Anonymous
Not applicable

Re: Outbound Caller ID on 924e to pass what customer PBX sends to 924e

Jump to solution

Ok so with your config, there is no outbound caller id manipulation going on.

To verify enter the following commands:

debug isdn l2-formatted

debug sip stack messages

Then place an outbound call

Post debug and I can show you what is taken from ISDN and put into the SIP FROM field.

-Mark

Anonymous
Not applicable

Re: Outbound Caller ID on 924e to pass what customer PBX sends to 924e

Jump to solution

Yes, forgot about voice user. Yes when you have sip-identity set on a voice user, that acts as the user's caller id when placing an outbound call

So in your post, "sip-identity 4358675918 "  the phone number after sip-identity will always be that user's caller ID if not overwritten by the outbound SIP trunk.

This is a great post to tell the order of when caller id can be changed.

Outbound Caller ID priority in AOS Voice products

Notice that sip identity is 4 down from the top.

-Mark

Anonymous
Not applicable

Re: Outbound Caller ID on 924e to pass what customer PBX sends to 924e

Jump to solution

best way to see everything going on is to use these three debugs

debug isdn l2-formatted

debug sip stack messages

debug voice verbose

tbrian
New Contributor

Re: Outbound Caller ID on 924e to pass what customer PBX sends to 924e

Jump to solution

I have read the  Outbound Caller ID priority in AOS Voice products  post.

If I remove the sip-identity command will it break my SIP trunk so it is not registered to my Metaswitch?

I know from the debug commands I am sending 4358675918 as caller id no matter what number is dialed.

My customer is asking to be able to send whatever caller id he sends out of his PBX, the 924e only passes what is in the sip-identity command.

Is this possible or will I have to use the match ani "NXX-NXX-XXXX" substitute command and only pass the caller id that is in that config?

Anonymous
Not applicable

Re: Outbound Caller ID on 924e to pass what customer PBX sends to 924e

Jump to solution

What exactly is the the voice user? I see that it is a type sip?  Is that a soft phone or SIP phone?

If you remove the sip identity command from the voice user, you can add the register to the sip trunk like this:

voice trunk T78 type sip

  register 4358675918 auth-name "barney_brothers" password "blah"

Can you enter the three debug commands i posted earlier and then have the customer place an outbound call from the PBX and then we can see for sure what is going on.

Well based on the limited config i saw, you shouldn't need the match ani command. What we really need to see is what the PBX is actually sending  to us on the PRI. Then we can go from there.

-Mark

tbrian
New Contributor

Re: Outbound Caller ID on 924e to pass what customer PBX sends to 924e

Jump to solution

Mark

Here is my pretty much my entire config

sip

sip udp 5060

no sip tcp

!

!

!

voice feature-mode network

voice flashhook mode transparent

voice forward-mode network

!

!

!

!

!

!

!

!

voice dial-plan 1 local NXX-NXX-XXXX

voice dial-plan 2 long-distance 1-NXX-NXX-XXXX

voice dial-plan 3 local 010

!

!      

!

!

voice codec-list G711

  codec g711ulaw

!

voice codec-list G729-G711

  codec g729

  codec g711ulaw

!

voice codec-list FAX

  codec g711ulaw

!

!

voice ani-list AllVoiceANIs

  ani $

!

!

voice trunk T01 type sip

  description "Barney Brothers"

  sip-server primary sccvoip.socen.com

  registrar primary sccvoip.socen.com

  outbound-proxy primary sccvoip.socen.com

  codec-list G729-G711 both

  grammar request-uri host-resolve

  authentication username "barney_brothers" password ""

!

voice trunk T02 type isdn

  description "PRI to Customer Phone System"

  resource-selection linear ascending

  connect isdn-group 1

  rtp delay-mode adaptive

  codec-list G729-G711

!

!

voice grouped-trunk BARNEY_BROTHERS

  resource-selection circular

  trunk T01

  accept $ cost 0

  accept NXX-NXX-XXXX cost 0

  accept 1-NXX-NXX-XXXX cost 0

  accept 1-800-NXX-XXXX cost 0

  accept 1-888-NXX-XXXX cost 0

  accept 1-877-NXX-XXXX cost 0

  accept 1-866-NXX-XXXX cost 0

  accept 1-855-NXX-XXXX cost 0

  accept 011-$ cost 0

  accept 411 cost 0

  accept 611 cost 0

  accept 911 cost 0

  accept 0-NXX-NXX-XXXX cost 0

  accept 10-10-XXX-$ cost 0

  accept *72 cost 0

  accept *73 cost 0

  accept *63 cost 0

  reject NXX-976-XXXX

  reject 1-900-NXX-XXXX

  reject 1-976-NXX-XXXX

!

!

voice grouped-trunk CUSTOMER_PBX

  trunk T02

  accept $ cost 0

!

!

voice user 0140

  connect sip

  no cos

  password encrypted "181c8d3fd9b54b7bcc7f4b1142c4e4b2371d"

  did "4357080140"

  sip-authentication password encrypted "2c28de02811752912fc8b57565b9b766ed74"

!

!

!

voice user 4358675918

  connect sip

  no cos

  first-name "Truck"

  password encrypted "4440ad42a9e19808f0d80d5c2ebcf4063a41"

  sip-identity 4358675918 T01 register auth-name "barney_brothers" password encrypted "3a34499f170e154ce1c81df5cc18d3842cc9"

  sip-authentication password encrypted "3337229fde24f898298cc1e122bfb0cf17ea"

!

!

!

!

!

!

!

!

!

!

!      

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

ip rtp quality-monitoring

ip rtp quality-monitoring udp

ip rtp quality-monitoring sip

!

line con 0

  login local-userlist

!

line telnet 0 4

  login local-userlist

  no shutdown

  ip access-class SCCADMIN in

line ssh 0 4

  login local-userlist

  no shutdown

  ip access-class SCCADMIN in

!

!

ntp source ethernet 0/1

ntp server 72.12.244.14 prefer

!

!

!

end

barney_bros#sh run

Building configuration...

!

!

! ADTRAN, Inc. OS version R11.12.0.E

! Boot ROM version 14.05.00.SA

! Platform: Total Access 924e (2nd Gen), part number 4242924L1

! Serial number CFG1194222

!

!

hostname "barney_bros"

enable password encrypted 1a1cf50ab375525cf5f14e38c6965bf12cf2

!

!

clock timezone -7-Mountain-Time

!

ip subnet-zero

ip classless

ip routing

ipv6 unicast-routing

!

!

name-server 72.12.244.10 72.12.250.10

!

!      

no auto-config

auto-config authname adtran encrypted password 2721bf4deba3bd798dc1839aa58a7da49d2f

!

event-history on

no logging forwarding

no logging email

!

service password-encryption

!

username "coy" password encrypted "1f122e6f3c56a0b388d44eee285832c6ada1"

username "cogroup" password encrypted "32387449aec9e154456188578bdecbb626b8"

!

!

ip firewall

no ip firewall alg msn

no ip firewall alg mszone

no ip firewall alg h323

!

!

!

!

!      

!

!

!

no dot11ap access-point-control

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

qos map PRI 10

  match precedence 5

  priority unlimited

qos map PRI 20

  match precedence 3

  bandwidth percent 5

!

!

!

!

interface eth 0/1

  description Xconnect to Gigacenter

  ip address  10.0.250.19  255.255.255.0

  ip access-policy PRI

  media-gateway ip primary

  qos-policy out PRI

  no awcp

  no shutdown

!

!

interface eth 0/2

  no ip address

  shutdown

!

!      

!

!

interface t1 0/1

  shutdown

!

interface t1 0/2

  shutdown

!

interface t1 0/3

  description Customer Phone System

  tdm-group 1 timeslots 1-6,24 speed 64

  no shutdown

!

interface t1 0/4

  shutdown

!

!

interface pri 1

  isdn name-delivery setup

  connect t1 0/3 tdm-group 1

  no shutdown

!

!      

interface fxs 0/1

  shutdown

!

interface fxs 0/2

  shutdown

!

interface fxs 0/3

  shutdown

!

interface fxs 0/4

  shutdown

!

interface fxs 0/5

  shutdown

!

interface fxs 0/6

  shutdown

!

interface fxs 0/7

  shutdown

!

interface fxs 0/8

  shutdown

!

interface fxs 0/9

  shutdown

!

interface fxs 0/10

  shutdown

!

interface fxs 0/11

  shutdown

!

interface fxs 0/12

  shutdown

!

interface fxs 0/13

  shutdown

!

interface fxs 0/14

  shutdown

!

interface fxs 0/15

  shutdown

!

interface fxs 0/16

  shutdown

!

interface fxs 0/17

  shutdown

!

interface fxs 0/18

  shutdown

!

interface fxs 0/19

  shutdown

!

interface fxs 0/20

  shutdown

!

interface fxs 0/21

  shutdown

!

interface fxs 0/22

  shutdown

!

interface fxs 0/23

  shutdown

!      

interface fxs 0/24

  shutdown

!

!

interface fxo 0/0

  no shutdown

!

!

isdn-group 1

  connect pri 1

!

isdn-number-template 1 prefix "" subscriber 911

isdn-number-template 2 prefix "" national NXX-NXX-XXXX

isdn-number-template 3 prefix 1 national NXX-NXX-XXXX

isdn-number-template 4 prefix 011 international $

isdn-number-template 5 prefix "" subscriber NXXX

isdn-number-template 6 prefix "" subscriber NXX-XXXX

!

!

!

!

!

!      

ip access-list standard SCCADMIN

  permit 72.12.250.0 0.0.0.255

  permit 72.12.244.0 0.0.0.255

!

ip access-list standard SNMP

  permit host 72.12.250.15

  deny   any

!

!

ip access-list extended SIP

  permit udp 72.12.250.0 0.0.0.255  any eq 5060  

!

!

!

!

ip policy-class PRI

  allow list SCCADMIN self

  allow list SIP self

  allow list SCCADMIN self

  allow list SIP self

!

!

!      

ip route 0.0.0.0 0.0.0.0 10.0.250.1

!

no tftp server

no tftp server overwrite

no http server

http secure-server

snmp agent

no ip ftp server

no ip scp server

no ip sntp server

!

http ip secure-access-class SCCADMIN in

!

!

!

snmp-server view "adminview" 0 included

snmp-server community l1b3rtyv13w RO ip access-class SNMP

snmp-server user root admins v3 auth md5 encrypted 22299a6ad8b041c25cd37b5e916a551b8c23 ip access-class SNMP any-vrf

snmp-server group admins v3 auth read adminview ip access-class SNMP

!

!

!      

!

sip

sip udp 5060

no sip tcp

!

!

!

voice feature-mode network

voice flashhook mode transparent

voice forward-mode network

!

!

!

!

!

!

!

!

voice dial-plan 1 local NXX-NXX-XXXX

voice dial-plan 2 long-distance 1-NXX-NXX-XXXX

voice dial-plan 3 local 010

!

!      

!

!

voice codec-list G711

  codec g711ulaw

!

voice codec-list G729-G711

  codec g729

  codec g711ulaw

!

voice codec-list FAX

  codec g711ulaw

!

!

voice ani-list AllVoiceANIs

  ani $

!

!

voice trunk T01 type sip

  description "Barney Brothers"

  sip-server primary sccvoip.socen.com

  registrar primary sccvoip.socen.com

  outbound-proxy primary sccvoip.socen.com

  codec-list G729-G711 both

  grammar request-uri host-resolve

  authentication username "barney_brothers" password ""

!

voice trunk T02 type isdn

  description "PRI to Customer Phone System"

  resource-selection linear ascending

  connect isdn-group 1

  rtp delay-mode adaptive

  codec-list G729-G711

!

!

voice grouped-trunk BARNEY_BROTHERS

  resource-selection circular

  trunk T01

  accept $ cost 0

  accept NXX-NXX-XXXX cost 0

  accept 1-NXX-NXX-XXXX cost 0

  accept 1-800-NXX-XXXX cost 0

  accept 1-888-NXX-XXXX cost 0

  accept 1-877-NXX-XXXX cost 0

  accept 1-866-NXX-XXXX cost 0

  accept 1-855-NXX-XXXX cost 0

  accept 011-$ cost 0

  accept 411 cost 0

  accept 611 cost 0

  accept 911 cost 0

  accept 0-NXX-NXX-XXXX cost 0

  accept 10-10-XXX-$ cost 0

  accept *72 cost 0

  accept *73 cost 0

  accept *63 cost 0

  reject NXX-976-XXXX

  reject 1-900-NXX-XXXX

  reject 1-976-NXX-XXXX

!

!

voice grouped-trunk CUSTOMER_PBX

  trunk T02

  accept $ cost 0

!

!

voice user 0140

  connect sip

  no cos

  password encrypted "181c8d3fd9b54b7bcc7f4b1142c4e4b2371d"

  did "4357080140"

  sip-authentication password encrypted "2c28de02811752912fc8b57565b9b766ed74"

!

!

!

voice user 4358675918

  connect sip

  no cos

  first-name "Truck"

  password encrypted "4440ad42a9e19808f0d80d5c2ebcf4063a41"

  sip-identity 4358675918 T01 register auth-name "barney_brothers" password encrypted "3a34499f170e154ce1c81df5cc18d3842cc9"

  sip-authentication password encrypted "3337229fde24f898298cc1e122bfb0cf17ea"

!

!

!

!

!

!

!

!

!

!

!      

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

ip rtp quality-monitoring

ip rtp quality-monitoring udp

ip rtp quality-monitoring sip

!

line con 0

  login local-userlist

!

line telnet 0 4

  login local-userlist

  no shutdown

  ip access-class SCCADMIN in

line ssh 0 4

  login local-userlist

  no shutdown

  ip access-class SCCADMIN in

!

!

ntp source ethernet 0/1

ntp server 72.12.244.14 prefer

!

!

!

end

barney_bros#

tbrian
New Contributor

Re: Outbound Caller ID on 924e to pass what customer PBX sends to 924e

Jump to solution

Mark

I just added the voice user 0140 that is a DID number on the ISDN. 

The 4358675918 voice user is the main number on the ISDN trunk.  basically it is a BTN.

Thanks

Troy

Anonymous
Not applicable

Re: Outbound Caller ID on 924e to pass what customer PBX sends to 924e

Jump to solution

this is my recommendation. You should not have the voice users, they are not needed and not normal for operation.

I recommend deleting the voice users and adding the sip registration to the sip trunk and updating "blah" with actual password. Once you do that, please place outbound call and post debug.

no voice user 0140

no voice user 4358675918

voice trunk T01

register 4358675918 auth-name "barney_brothers" password "blah"

Anonymous
Not applicable

Re: Outbound Caller ID on 924e to pass what customer PBX sends to 924e

Jump to solution

just noticed that you already have authentication command on the sip trunk, you can just add this:

voice trunk T01

register 4358675918

tbrian
New Contributor

Re: Outbound Caller ID on 924e to pass what customer PBX sends to 924e

Jump to solution

I will give it a try

Thanks

Troy

tbrian
New Contributor

Re: Outbound Caller ID on 924e to pass what customer PBX sends to 924e

Jump to solution

Mark

When I remove voice user 4358675918 it causes my SIP trunk to lose registration.

below is what I changed in bold.

voice trunk T01 type sip

  description "Barney Brothers"

  sip-server primary sccvoip.socen.com

  registrar primary sccvoip.socen.com

  outbound-proxy primary sccvoip.socen.com

  register 4358675918

  codec-list G729-G711 both

  grammar request-uri host-resolve

  authentication username "barney_brothers" password ""

!

voice trunk T02 type isdn

  description "PRI to Customer Phone System"

  resource-selection linear ascending

  connect isdn-group 1

  rtp delay-mode adaptive

  codec-list G729-G711

Anonymous
Not applicable

Re: Outbound Caller ID on 924e to pass what customer PBX sends to 924e

Jump to solution

Troy,

Only thing that could be wrong is the password. That is the correct config on how to configure sip registration.

Re-enter this command with the proper password spelled correctly.

voice trunk t01

authentication username "barney_brothers" password ""

check registration if not working enter

debug sip stack messages

then enter:

sip trunk-registration force-register

then check registration and post debug if not up.

-Mark

0 Kudos
tbrian
New Contributor

Re: Outbound Caller ID on 924e to pass what customer PBX sends to 924e

Jump to solution

Mark

U DA MAN!

That worked just like you said it would.

I will test with my customer.

Thanks a bunch

Troy

Anonymous
Not applicable

Re: Outbound Caller ID on 924e to pass what customer PBX sends to 924e

Jump to solution

Good to hear Troy!  Let me know how it goes.

-Mark