Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Cisco Gateway sending call to * without CID Name


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
jmr.richardson at gmai...
Guest





PostPosted: Wed May 28, 2008 11:23 am    Post subject: [asterisk-users] Cisco Gateway sending call to * without CID Reply with quote

Hi All,

I have a Cisco 2600 PRI gateway being hosted on an Asterisk server.
The PRI on the cisco is pointing to a customer legacy PBX, the SIP
VoIP side of the cisco is pointing to an Asterisk server (1.2.X).

In Asterisk, the SIP peer is setup with callerid="some name"<5551212>

In a SIP call from the cisco to asterisk, there is no CID name info in
SIP debug, so Asterisk doesn't seem to inject CID name info for that
SIP Channel on pass through calls. Asterisk does have the CID number
and account number and user info and all other variable associated
with the SIP channel, just no CID name.

When I test with another Asterisk server acting as the PRI gateway,
the CID name is fine.

1. in the cisco, does anyone know what the command is to set a CID
Name for all outbound VoIP calls?

2. is this a bug in Asterisk that will not inject CID name in a
channel if it doesn't have CID name coming in first?

Thanks.

JR
--
JR Richardson
Engineering for the Masses
Back to top
peder at networkoblivi...
Guest





PostPosted: Wed May 28, 2008 12:13 pm    Post subject: [asterisk-users] Cisco Gateway sending call to * without CID Reply with quote

Do a "debug isdn q931" on the cisco and see if you are getting cid name
sent to you over the PRI. What kind of PBX is it? I have an issue with
a connection to an ATT 5ESS (not a PBX exactly) and it sends the name
late, so the Cisco sends a SIP UPDATE with the name once it gets it and
* doesn't know what to do with the SIP UPDATE, so we get no name.

JR Richardson wrote:
Quote:
Hi All,

I have a Cisco 2600 PRI gateway being hosted on an Asterisk server.
The PRI on the cisco is pointing to a customer legacy PBX, the SIP
VoIP side of the cisco is pointing to an Asterisk server (1.2.X).

In Asterisk, the SIP peer is setup with callerid="some name"<5551212>

In a SIP call from the cisco to asterisk, there is no CID name info in
SIP debug, so Asterisk doesn't seem to inject CID name info for that
SIP Channel on pass through calls. Asterisk does have the CID number
and account number and user info and all other variable associated
with the SIP channel, just no CID name.

When I test with another Asterisk server acting as the PRI gateway,
the CID name is fine.

1. in the cisco, does anyone know what the command is to set a CID
Name for all outbound VoIP calls?

2. is this a bug in Asterisk that will not inject CID name in a
channel if it doesn't have CID name coming in first?

Thanks.

JR
Back to top
sean at datawhale.com
Guest





PostPosted: Wed May 28, 2008 2:06 pm    Post subject: [asterisk-users] Cisco Gateway sending call to * without CID Reply with quote

What ISDN commands do you have under your PRI serial interface?

JR Richardson wrote:
Quote:
Hi All,

I have a Cisco 2600 PRI gateway being hosted on an Asterisk server.
The PRI on the cisco is pointing to a customer legacy PBX, the SIP
VoIP side of the cisco is pointing to an Asterisk server (1.2.X).

In Asterisk, the SIP peer is setup with callerid="some name"<5551212>

In a SIP call from the cisco to asterisk, there is no CID name info in
SIP debug, so Asterisk doesn't seem to inject CID name info for that
SIP Channel on pass through calls. Asterisk does have the CID number
and account number and user info and all other variable associated
with the SIP channel, just no CID name.

When I test with another Asterisk server acting as the PRI gateway,
the CID name is fine.

1. in the cisco, does anyone know what the command is to set a CID
Name for all outbound VoIP calls?

2. is this a bug in Asterisk that will not inject CID name in a
channel if it doesn't have CID name coming in first?

Thanks.

JR
Back to top
peder at networkoblivi...
Guest





PostPosted: Wed May 28, 2008 8:29 pm    Post subject: [asterisk-users] Cisco Gateway sending call to * without CID Reply with quote

no ip address
encapsulation hdlc
isdn switch-type primary-ni
isdn incoming-voice voice
isdn supp-service name calling
no cdp enable

Sean Dennis wrote:
Quote:
What ISDN commands do you have under your PRI serial interface?

JR Richardson wrote:
Quote:
Hi All,

I have a Cisco 2600 PRI gateway being hosted on an Asterisk server.
The PRI on the cisco is pointing to a customer legacy PBX, the SIP
VoIP side of the cisco is pointing to an Asterisk server (1.2.X).

In Asterisk, the SIP peer is setup with callerid="some name"<5551212>

In a SIP call from the cisco to asterisk, there is no CID name info in
SIP debug, so Asterisk doesn't seem to inject CID name info for that
SIP Channel on pass through calls. Asterisk does have the CID number
and account number and user info and all other variable associated
with the SIP channel, just no CID name.

When I test with another Asterisk server acting as the PRI gateway,
the CID name is fine.

1. in the cisco, does anyone know what the command is to set a CID
Name for all outbound VoIP calls?

2. is this a bug in Asterisk that will not inject CID name in a
channel if it doesn't have CID name coming in first?

Thanks.

JR



_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
kkielhofner at star2st...
Guest





PostPosted: Thu May 29, 2008 9:58 am    Post subject: [asterisk-users] Cisco Gateway sending call to * without CID Reply with quote

On 5/28/08, JR Richardson <jmr.richardson at gmail.com> wrote:
Quote:
Hi All,

I have a Cisco 2600 PRI gateway being hosted on an Asterisk server.
The PRI on the cisco is pointing to a customer legacy PBX, the SIP
VoIP side of the cisco is pointing to an Asterisk server (1.2.X).

In Asterisk, the SIP peer is setup with callerid="some name"<5551212>

In a SIP call from the cisco to asterisk, there is no CID name info in
SIP debug, so Asterisk doesn't seem to inject CID name info for that
SIP Channel on pass through calls. Asterisk does have the CID number
and account number and user info and all other variable associated
with the SIP channel, just no CID name.

When I test with another Asterisk server acting as the PRI gateway,
the CID name is fine.

1. in the cisco, does anyone know what the command is to set a CID
Name for all outbound VoIP calls?

2. is this a bug in Asterisk that will not inject CID name in a
channel if it doesn't have CID name coming in first?

Thanks.

JR
--
JR Richardson
Engineering for the Masses


Hi JR,

Maybe my blog post will help:

http://blog.krisk.org/2007/07/whats-my-name.html

--
Kristian Kielhofner
NOT sent from my iPhone or Blackberry
Back to top
jmr.richardson at gmai...
Guest





PostPosted: Thu May 29, 2008 2:25 pm    Post subject: [asterisk-users] Cisco Gateway sending call to * without CID Reply with quote

Quote:
Quote:
I have a Cisco 2600 PRI gateway being hosted on an Asterisk server.
The PRI on the cisco is pointing to a customer legacy PBX, the SIP
VoIP side of the cisco is pointing to an Asterisk server (1.2.X).

In Asterisk, the SIP peer is setup with callerid="some name"<5551212>

In a SIP call from the cisco to asterisk, there is no CID name info in
SIP debug, so Asterisk doesn't seem to inject CID name info for that
SIP Channel on pass through calls. Asterisk does have the CID number
and account number and user info and all other variable associated
with the SIP channel, just no CID name.

When I test with another Asterisk server acting as the PRI gateway,
the CID name is fine.

1. in the cisco, does anyone know what the command is to set a CID
Name for all outbound VoIP calls?

2. is this a bug in Asterisk that will not inject CID name in a
channel if it doesn't have CID name coming in first?

Thanks.

JR
--
JR Richardson
Engineering for the Masses


Hi JR,

Maybe my blog post will help:

http://blog.krisk.org/2007/07/whats-my-name.html

--
Kristian Kielhofner

Kris,

Nice write up. I put a wait(1) in Asterisk plus I played around with
'isdn outgoing display-ie' and a few other cisco commands. Still not
seeing the CID name come in on the SIP messaging. I initiate a 'degug
isdn q931' on the cisco gateway and don't see any debug messages so
I'm really thinking the gateway is screwy. That or I'm not getting a
CID from the PBX sending the calls.

--
Thanks.
JR
---------------------
JR Richardson
Engineering for the Masses
Back to top
kkielhofner at star2st...
Guest





PostPosted: Thu May 29, 2008 2:55 pm    Post subject: [asterisk-users] Cisco Gateway sending call to * without CID Reply with quote

On 5/29/08, JR Richardson <jmr.richardson at gmail.com> wrote:
Quote:


Kris,

Nice write up. I put a wait(1) in Asterisk plus I played around with
'isdn outgoing display-ie' and a few other cisco commands. Still not
seeing the CID name come in on the SIP messaging. I initiate a 'degug
isdn q931' on the cisco gateway and don't see any debug messages so
I'm really thinking the gateway is screwy. That or I'm not getting a
CID from the PBX sending the calls.


--

Thanks.
JR
---------------------
JR Richardson
Engineering for the Masses

JR,

Thanks. Although it didn't apply %100 to your situation, there
should be some valuable info there.

The majority of the config here is Cisco. If you use the config
from the post and IOS 12.4, it should work (it does on AS5350XMs, at
least).

It's off-topic, but are you sure you have logging enabled in your
term session? Not seeing any q931 debug messages is odd. Try "term
mon" from your current Cisco session and the last bit of output from
"sh logging". Still no debug messages?

Cisco doesn't log to vttys by default. As far as q931 debug, you
should be getting quite a bit of output even if you don't get Caller
ID name.

Another thing to check - how is the Cisco SIP uac configured for
Caller ID? RPID? PAI?

In Asterisk, remove the callerid= from your sip peer/user/whatever
and do a sip debug. Look for SIP From: Remote-Party-ID and
P-Asserted-Identity: headers from the Cisco. Also look for any UPDATE
or INFO messages after the initial INVITE. They may contain your
name.


--
Kristian Kielhofner
NOT sent from my iPhone or Blackberry
Back to top
adam at plexicomm.net
Guest





PostPosted: Thu May 29, 2008 4:09 pm    Post subject: [asterisk-users] Cisco Gateway sending call to * without CID Reply with quote

So lemme get this straight:

PBX <-----PRI ------> Cisco2600 <--------SIP--------> Asterisk

Any reason not to eliminate the Cisco?

Either way, as a workaround you could add a Set(Callerid(name)=Your
Name) to the asterisk dialplan
Quote:
Hi All,

I have a Cisco 2600 PRI gateway being hosted on an Asterisk server.
The PRI on the cisco is pointing to a customer legacy PBX, the SIP
VoIP side of the cisco is pointing to an Asterisk server (1.2.X).

In Asterisk, the SIP peer is setup with callerid="some name"<5551212>

In a SIP call from the cisco to asterisk, there is no CID name info in
SIP debug, so Asterisk doesn't seem to inject CID name info for that
SIP Channel on pass through calls. Asterisk does have the CID number
and account number and user info and all other variable associated
with the SIP channel, just no CID name.

When I test with another Asterisk server acting as the PRI gateway,
the CID name is fine.

1. in the cisco, does anyone know what the command is to set a CID
Name for all outbound VoIP calls?

2. is this a bug in Asterisk that will not inject CID name in a
channel if it doesn't have CID name coming in first?

Thanks.

JR
Back to top
Alex.Lopez at OpSys.com
Guest





PostPosted: Thu May 29, 2008 4:33 pm    Post subject: [asterisk-users] Cisco Gateway sending call to * without CID Reply with quote

The Cisco gives you some level of flexability like have CallerID name
NOT work!!!

If this is not a production enviorment I would see about setting up the
Asterisk box with a PRI and seeing if the Telco is ACTUALLY sending you
the CID name in the Facility. It is weird that you are not getting it
at the Cisco.

The Wait(1) is only needed if the asterisk box has the PRI on it. As the
SIP invite should have all of the info BEFORE sending it to the Asterisk
box. Kris talked about the Cisco sending it two ways I would tend to
configure it to WAIT for CID Name before placing the SIP call...

Alex


Quote:
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-
bounces at lists.digium.com] On Behalf Of Adam Moffett
Sent: Thursday, May 29, 2008 5:09 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Cisco Gateway sending call to * without
CID
Quote:
Name

So lemme get this straight:

PBX <-----PRI ------> Cisco2600 <--------SIP--------> Asterisk

Any reason not to eliminate the Cisco?

Either way, as a workaround you could add a Set(Callerid(name)=Your
Name) to the asterisk dialplan


Quote:
Hi All,

I have a Cisco 2600 PRI gateway being hosted on an Asterisk server.
The PRI on the cisco is pointing to a customer legacy PBX, the SIP
VoIP side of the cisco is pointing to an Asterisk server (1.2.X).

In Asterisk, the SIP peer is setup with callerid="some
name"<5551212>
Quote:
Quote:

In a SIP call from the cisco to asterisk, there is no CID name info
in
Quote:
Quote:
SIP debug, so Asterisk doesn't seem to inject CID name info for that
SIP Channel on pass through calls. Asterisk does have the CID
number
Quote:
Quote:
and account number and user info and all other variable associated
with the SIP channel, just no CID name.

When I test with another Asterisk server acting as the PRI gateway,
the CID name is fine.

1. in the cisco, does anyone know what the command is to set a CID
Name for all outbound VoIP calls?

2. is this a bug in Asterisk that will not inject CID name in a
channel if it doesn't have CID name coming in first?

Thanks.

JR



_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
sean at datawhale.com
Guest





PostPosted: Thu May 29, 2008 5:14 pm    Post subject: [asterisk-users] Cisco Gateway sending call to * without CID Reply with quote

Here is exactly what we have under our serial interface and we get
callerID from our PBX. We had to play around with the settings and we
probably don't need all of this, but I know this passes the name and
number from HARRIS PBX -----T1----Cisco 3640-----SIP-----Asterisk 1.2 & 1.4
interface Serial3/0:23
no ip address
encapsulation hdlc
isdn switch-type primary-ni
isdn not-end-to-end 64
isdn incoming-voice voice
isdn supp-service name calling
isdn outgoing ie facility
isdn outgoing ie connected-number
no cdp enable



JR Richardson wrote:
Quote:
Hi All,

I have a Cisco 2600 PRI gateway being hosted on an Asterisk server.
The PRI on the cisco is pointing to a customer legacy PBX, the SIP
VoIP side of the cisco is pointing to an Asterisk server (1.2.X).

In Asterisk, the SIP peer is setup with callerid="some name"<5551212>

In a SIP call from the cisco to asterisk, there is no CID name info in
SIP debug, so Asterisk doesn't seem to inject CID name info for that
SIP Channel on pass through calls. Asterisk does have the CID number
and account number and user info and all other variable associated
with the SIP channel, just no CID name.

When I test with another Asterisk server acting as the PRI gateway,
the CID name is fine.

1. in the cisco, does anyone know what the command is to set a CID
Name for all outbound VoIP calls?

2. is this a bug in Asterisk that will not inject CID name in a
channel if it doesn't have CID name coming in first?

Thanks.

JR
Back to top
peder at networkoblivi...
Guest





PostPosted: Thu May 29, 2008 9:19 pm    Post subject: [asterisk-users] Cisco Gateway sending call to * without CID Reply with quote

Like Kristian said, if you are telnet/ssh'd in, then enable the debug
and do "term mon" and it will echo the debug to your screen. As far as
I know, there is no way to tell the Cisco to "wait 1 second" to get the
CNAM. I have two PRI into the same Cisco with two different providers.
One gets CNAM right away, one gets in in a subsequent facility
message. The second one does not show CNAM on internal phones as the
SIP INFO is not processed by * (the first one does). A debug should
show this.

Kristian Kielhofner wrote:
Quote:
On 5/29/08, JR Richardson <jmr.richardson at gmail.com> wrote:
Quote:

Kris,

Nice write up. I put a wait(1) in Asterisk plus I played around with
'isdn outgoing display-ie' and a few other cisco commands. Still not
seeing the CID name come in on the SIP messaging. I initiate a 'degug
isdn q931' on the cisco gateway and don't see any debug messages so
I'm really thinking the gateway is screwy. That or I'm not getting a
CID from the PBX sending the calls.


--

Thanks.
JR
---------------------
JR Richardson
Engineering for the Masses



JR,

Thanks. Although it didn't apply %100 to your situation, there
should be some valuable info there.

The majority of the config here is Cisco. If you use the config
from the post and IOS 12.4, it should work (it does on AS5350XMs, at
least).

It's off-topic, but are you sure you have logging enabled in your
term session? Not seeing any q931 debug messages is odd. Try "term
mon" from your current Cisco session and the last bit of output from
"sh logging". Still no debug messages?

Cisco doesn't log to vttys by default. As far as q931 debug, you
should be getting quite a bit of output even if you don't get Caller
ID name.

Another thing to check - how is the Cisco SIP uac configured for
Caller ID? RPID? PAI?

In Asterisk, remove the callerid= from your sip peer/user/whatever
and do a sip debug. Look for SIP From: Remote-Party-ID and
P-Asserted-Identity: headers from the Cisco. Also look for any UPDATE
or INFO messages after the initial INVITE. They may contain your
name.

Back to top
joakimsen at gmail.com
Guest





PostPosted: Thu May 29, 2008 9:19 pm    Post subject: [asterisk-users] Cisco Gateway sending call to * without CID Reply with quote

You can not send caller ID name through the outgoing calls. You need
to engage the telco and tell them to set up the number-to-name
associations. Then you just send the right number and basically they
set the caller ID name for you (yes I know technically the name isn't
transmitted end-to-end as part of the call flow, your carrier sets it
in their LIDB ... so on and so forth)

For the inbound calls (from PSTN to your Cisco) have you made sure in
your config you have:

isdn supp-service name calling

Ref: http://www.cisco.com/en/US/docs/ios/12_3/sip/configuration/guide/chapter9.html#wp1063971

Wait() will never affect the caller ID on ISDN channels. That
information is transmitted instantaneously as part of the call setup.
On Thu, May 29, 2008 at 3:25 PM, JR Richardson <jmr.richardson at gmail.com> wrote:

Quote:

Nice write up. I put a wait(1) in Asterisk plus I played around with
'isdn outgoing display-ie' and a few other cisco commands. Still not
seeing the CID name come in on the SIP messaging. I initiate a 'degug
isdn q931' on the cisco gateway and don't see any debug messages so
I'm really thinking the gateway is screwy. That or I'm not getting a
CID from the PBX sending the calls.

--
Thanks.
JR
---------------------
JR Richardson
Engineering for the Masses

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
jmr.richardson at gmai...
Guest





PostPosted: Fri May 30, 2008 4:47 pm    Post subject: [asterisk-users] Cisco Gateway sending call to * without CID Reply with quote

Quote:
You can not send caller ID name through the outgoing calls. You need
to engage the telco and tell them to set up the number-to-name
associations. Then you just send the right number and basically they
set the caller ID name for you (yes I know technically the name isn't
transmitted end-to-end as part of the call flow, your carrier sets it
in their LIDB ... so on and so forth)

For the inbound calls (from PSTN to your Cisco) have you made sure in
your config you have:

isdn supp-service name calling

Ref: http://www.cisco.com/en/US/docs/ios/12_3/sip/configuration/guide/chapter9.html#wp1063971


Just so we are all on the same page, here is my setup:

legacyPBX> PRI <Cisco2600GW> SIP <Asterisk> SIP <PSTN

I was able to debug isdn on the GW, there is no CID name coming from
the PBX to the GW on the PRI. I do see the CID Name from asterisk to
the GW to the PRI.

I tried the commands:
!
voice service voip
signaling forward unconditional
!

in conjunction with:
!
interface Serial1/0:23
no ip address
encapsulation hdlc
isdn switch-type primary-ni
isdn protocol-emulate network
isdn incoming-voice voice
isdn supp-service name calling *************
isdn outgoing ie facility
no isdn outgoing display-ie
isdn outgoing ie connected-number
no cdp enable
!

But that broke outbound calls, I got this on the asterisk CLI:

WARNING[13430]: chan_sip.c:3517 process_sdp: Insufficient information
for SDP (m = '', c = '')

So I disabled 'signaling forward unconditional'

I read the Cisco reference and it looks like that what is needed to
fix this, but it doesn't.

I think I'll pick up testing again next week, do some more reading
cisco IOS over the weekend, like I have nothing better to do.

Also I will get with the PBX vendor and see if they can send me any name info.

Thanks all for your valuable input, I really appriciate the effort.

WIAT! HOLD THE PHONE!

Just got it working, while I was composing this, I was also in the
gateway poking around and found under the sip-ua where to set the
outbound CID name:

!
sip-ua
nat symmetric role active
nat symmetric check-media-src
calling-info pstn-to-sip from name set Name ************************
!

Now the CID Name is coming into asterisk in the first SIP invite. I
realize this is only good in this setup because it's only 1 customer
so I can set the name statically and not be concerned about what, if
anything, they send to me on the PRI. If this were a PSTN GW, I would
still be screwed I think.

I'm putting this one to bed. Have a good weekend.

--
Thanks.
JR
---------------------
JR Richardson
Engineering for the Masses
Back to top
joakimsen at gmail.com
Guest





PostPosted: Fri May 30, 2008 10:20 pm    Post subject: [asterisk-users] Cisco Gateway sending call to * without CID Reply with quote

On Fri, May 30, 2008 at 5:47 PM, JR Richardson <jmr.richardson at gmail.com> wrote:

Quote:
Just so we are all on the same page, here is my setup:

legacyPBX> PRI <Cisco2600GW> SIP <Asterisk> SIP <PSTN

I was able to debug isdn on the GW, there is no CID name coming from
the PBX to the GW on the PRI. I do see the CID Name from asterisk to
the GW to the PRI.

Then the issue is the PBX.

Quote:
Now the CID Name is coming into asterisk in the first SIP invite. I
realize this is only good in this setup because it's only 1 customer
so I can set the name statically and not be concerned about what, if
anything, they send to me on the PRI. If this were a PSTN GW, I would
still be screwed I think.

If the provider is sending the name info I think you would be fine.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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

VoiceMeUp - Corporate & Wholesale VoIP Services