JR Richardson
2008-May-28 16:23 UTC
[asterisk-users] Cisco Gateway sending call to * without CID Name
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
Peder @ NetworkOblivion
2008-May-28 17:13 UTC
[asterisk-users] Cisco Gateway sending call to * without CID Name
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:> 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
Sean Dennis
2008-May-28 19:06 UTC
[asterisk-users] Cisco Gateway sending call to * without CID Name
What ISDN commands do you have under your PRI serial interface? JR Richardson wrote:> 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 >
Kristian Kielhofner
2008-May-29 14:58 UTC
[asterisk-users] Cisco Gateway sending call to * without CID Name
On 5/28/08, JR Richardson <jmr.richardson at gmail.com> wrote:> 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
JR Richardson
2008-May-29 19:25 UTC
[asterisk-users] Cisco Gateway sending call to * without CID Name
> > 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 KielhofnerKris, 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
Adam Moffett
2008-May-29 21:09 UTC
[asterisk-users] Cisco Gateway sending call to * without CID 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> 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 >
Sean Dennis
2008-May-29 22:14 UTC
[asterisk-users] Cisco Gateway sending call to * without CID Name
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:> 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
2008-May-30 21:47 UTC
[asterisk-users] Cisco Gateway sending call to * without CID Name
> 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