[cisco-voip] Unable to register multiple SIP DIDs to provider on CCME/CUBE

Jonathan Charles jonvoip at gmail.com
Fri Sep 9 09:02:33 EDT 2011


We have a CCME and we have multiple DIDs registered to a provider.

Only the first DID will register (the one that matches the global SIP
username in sip-ua); every other DID is trying to register with its own DID
as its username, how do we force all DIDs to register using the globally set
user-ID...

So, from the config below, 2125554198  registers and works fine,
the 2125557344 tries to register with its own DID, and fails (gets a not
found), The TO and CONTACT header should be the same as the SIP user name.
Our REGISTER below is using FROM/CONTACT of the DID instead of the SIP
Username...






*Mar 25 11:26:01.143: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:

Sent:

REGISTER sip: <sip:trk2.siptpna.com:5060>sip.provider.com<sip:2396907347 at trk2.siptpna.com>
:5060 <sip:trk2.siptpna.com:5060> SIP/2.0

Via: SIP/2.0/UDP 10.100.100.250:5060;branch=z9hG4bK1D2E1FE4

From: <sip:2125557344@
<sip:2396907347 at trk2.siptpna.com>sip.provider.com<sip:2396907347 at trk2.siptpna.com>
> <sip:2396907347 at trk2.siptpna.com>;tag=7DF62C1D-213E

To: <sip:2125557344 at sip.provider.com> <sip:2396907347 at trk2.siptpna.com>

Date: Mon, 25 Mar 2002 11:26:01 GMT

Call-ID: A97309CE-3F1811D6-8160FD08-B34EF935

User-Agent: Cisco-SIPGateway/IOS-12.x

Max-Forwards: 70

Timestamp: 1017055561

CSeq: 5 REGISTER

Contact: <sip:2396907347 at 10.100.100.250:5060><sip:2396907347 at 10.100.100.250:5060>

Expires:  3600

Content-Length: 0







TSSIPGw#

*Mar 25 11:26:01.191: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:

Received:

SIP/2.0 404 Not Found

Via: SIP/2.0/UDP 10.100.100.250:5060;branch=z9hG4bK1D2E1FE4

From: <sip:2125557344@
<sip:2396907347 at trk2.siptpna.com>sip.provider.com<sip:2396907347 at trk2.siptpna.com>
> <sip:2396907347 at trk2.siptpna.com>;tag=7DF62C1D-213E

To: <sip:2125557344@
<sip:2396907347 at trk2.siptpna.com>sip.provider.com<sip:2396907347 at trk2.siptpna.com>
> <sip:2396907347 at trk2.siptpna.com>;tag=ea08455b62

Call-ID: A97309CE-3F1811D6-8160FD08-B34EF935

CSeq: 5 REGISTER

Content-Length: 0



The relevant config portions are:


voice service voip
 allow-connections h323 to h323
 allow-connections h323 to sip
 allow-connections sip to h323
 allow-connections sip to sip
 no supplementary-service sip moved-temporarily
 no supplementary-service sip refer
 fax protocol pass-through g711ulaw
 h323
 modem passthrough nse payload-type 101 codec g711ulaw
 sip
  bind control source-interface FastEthernet0/0
  bind media source-interface FastEthernet0/0
  asserted-id pai
  registrar server
!
dial-peer voice 100 voip
 destination-pattern 2125554198$
 session target ipv4:10.100.100.254
 dtmf-relay h245-alphanumeric
 codec g711ulaw
 no vad
!
dial-peer voice 200 voip
 session protocol sipv2
 session target sip-server
 incoming called-number 2125554198$
 dtmf-relay rtp-nte
 codec g711ulaw
 no vad
!
dial-peer voice 102 voip
 destination-pattern 2125557344$
 session target ipv4:10.100.100.254
 dtmf-relay h245-alphanumeric
 codec g711ulaw
 no vad
!
dial-peer voice 201 voip
 session protocol sipv2
 session target sip-server
 incoming called-number 2125557344$
 dtmf-relay rtp-nte
 codec g711ulaw
 no vad
!
sip-ua
 authentication username 2125554198 password <removed>
 no remote-party-id
 registrar dns:sip.provider.com expires 3600
 sip-server dns:sip.provider.com:5060
 presence enable
!
!
telephony-service
 max-ephones 30
 max-dn 10
 ip source-address 10.100.100.250 port 2000
 max-conferences 4 gain -6
 transfer-system full-consul
 create cnf-files version-stamp Jan 01 2002 00:00:00
!
!
ephone-dn  1  dual-line
 number 2125554198
 preference 10
!

ephone-dn  2  dual-line
 number 2125557344
 preference 10
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20110909/1aebd6cd/attachment.html>


More information about the cisco-voip mailing list