[cisco-voip] trouble with SIP trunk authentication

Patrick Diener patrick.diener at gmail.com
Fri Jun 20 04:00:38 EDT 2008


what if you try "session target sip-server" on the dial-peer...

use debug ccsip message to verify that REGISTER/INVITEs messages are
sent out and are authenticated properly.

Regards
Patrick

On Fri, Jun 20, 2008 at 5:51 AM, Peter Smale <psmale at fuse.net> wrote:
> I have a CME with a SIP trunk/dial-peer  pointing towards
>
> The service provider VoIP Street.
>
> They need SIP authentication.  Inbound calls worked just fine.
>
> The username and password they gave me just does not seem to  register the
> DN.
>
> Has anyone tried to use the service provider with CME and gotten it to
> work?    They don't seem to know much about Cisco routers which surprises
> me.
>
> Thanks Peter.
>
>
>
>
>
> dial-peer voice 6000 voip
>
>  translation-profile incoming in-trans
>
>  translation-profile outgoing strip-9-add-1415-out
>
>  destination-pattern 9[2-9]......
>
>  session protocol sipv2
>
>  session target ipv4:64.136.X.X
>
>  incoming called-number .
>
>  dtmf-relay h245-alphanumeric
>
>  codec g711ulaw
>
>  no vad
>
>
>
>
>
>
>
> sip-us
>
>  authentication username XXXX password 7 XXXXXXX
>
>  no remote-party-id
>
>  retry invite 2
>
>  retry register 10
>
>  registrar ipv4:64.136.X.X expires 3600
>
>  sip-server ipv4:64.136.X.X
>
>
>
>
>
> Deb when making a call.
>
>
>
> Deb ccsip  message
>
>
>
> San-Fran-GW-C1#
>
> San-Fran-GW-C1#
>
> [syslog at 9 s_sn="3520" s_dc="3465"]: Jun 20 03:35:51.423:
> //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
>
> Sent:
>
> INVITE sip:14153551626 at 64.136.174.24:5060 SIP/2.0
>
> Via: SIP/2.0/UDP 66.124.236.42:5060;branch=z9hG4bK6AC72D
>
> From: <sip:14155783865 at 64.136.174.24>;tag=57370AC-E02
>
> To: <sip:14153551626 at 64.136.174.24>
>
> Date: Fri, 20 Jun 2008 03:35:51 GMT
>
> Call-ID: D098BB3D-3DB011DD-80D9A17D-311DED9C at 66.124.236.42
>
> Supported: 100rel,timer,resource-priority,replaces
>
> Min-SE:  1800
>
> Cisco-Guid: 3458631721-1034949085-2161418621-824044956
>
> User-Agent: Cisco-SIPGateway/IOS-12.x
>
> Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE,
> NOTIFY, INFO, REGISTER
>
> CSeq: 101 INVITE
>
> Max-Forwards: 70
>
> Timestamp: 1213932951
>
> Contact: <sip:14155783865 at 66.124.236.42:5060>
>
> Expires: 180
>
> Allow-Events: telephone-event
>
> Content-Type: application/sdp
>
> Content-Disposition: session;handling=required
>
> Content-Length: 192
>
>
>
> v=0
>
> o=CiscoSystemsSIP-GW-UserAgent 8490 30 IN IP4 66.124.236.42
>
> s=SIP Call
>
> c=IN IP4 66.124.236.42
>
> t=0 0
>
> m=audio 18254 RTP/AVP 0
>
> c=IN IP4 66.124.236.42
>
> a=rtpmap:0 PCMU/8000
>
> a=ptime:20
>
>
>
> [syslog at 9 s_sn="3521" s_dc="3466"]: Jun 20 03:35:51.543:
> //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
>
> Received:
>
> SIP/2.0 100 Trying
>
> Via: SIP/2.0/UDP
> 66.124.236.42:5060;branch=z9hG4bK6AC72D;received=66.124.236.42
>
> From: <sip:14155783865 at 64.136.174.24>;tag=57370AC-E02
>
> To: <sip:14153551626 at 64.136.174.24>
>
> Call-ID: D098BB3D-3DB011DD-80D9A17D-311DED9C at 66.124.236.42
>
> CSeq: 101 INVITE
>
> User-Agent: VoIPStreet
>
> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
>
> Supported: replaces
>
> Contact: <sip:14153551626 at 64.136.174.24>
>
> Content-Length: 0
>
>
>
>
>
>
>
> [syslog at 9 s_sn="3522" s_dc="3467"]: Jun 20 03:35:51.551:
> //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
>
> Received:
>
> SIP/2.0 200 OK
>
> Via: SIP/2.0/UDP
> 66.124.236.42:5060;branch=z9hG4bK6AC72D;received=66.124.236.42
>
> From: <sip:14155783865 at 64.136.174.24>;tag=57370AC-E02
>
> To: <sip:14153551626 at 64.136.174.24>;tag=as400cb154
>
> Call-ID: D098BB3D-3DB011DD-80D9A17D-311DED9C at 66.124.236.42
>
> CSeq: 101 INVITE
>
> User-Agent: VoIPStreet
>
> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
>
> Supported: replaces
>
> Contact: <sip:14153551626 at 64.136.174.24>
>
> Content-Type: application/sdp
>
> Content-Length: 186
>
>
>
> v=0
>
> o=root 12119 12119 IN IP4 64.136.174.24
>
> s=session
>
> c=IN IP4 64.136.174.24
>
> t=0 0
>
> m=audio 14082 RTP/AVP 0
>
> a=rtpmap:0 PCMU/8000
>
> a=silenceSupp:off - - - -
>
> a=ptime:20
>
> a=sendrecv
>
>
>
> [syslog at 9 s_sn="3523" s_dc="3468"]: Jun 20 03:35:51.555:
> //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
>
> Sent:
>
> ACK sip:14153551626 at 64.136.174.24:5060 SIP/2.0
>
> Via: SIP/2.0/UDP 66.124.236.42:5060;branch=z9hG4bK6AD82B
>
> From: <sip:14155783865 at 64.136.174.24>;tag=57370AC-E02
>
> To: <sip:14153551626 at 64.136.174.24>;tag=as400cb154
>
> Date: Fri, 20 Jun 2008 03:35:51 GMT
>
> Call-ID: D098BB3D-3DB011DD-80D9A17D-311DED9C at 66.124.236.42
>
> Max-Forwards: 70
>
> CSeq: 101 ACK
>
> Allow-Events: telephone-event
>
> Content-Length: 0
>
>
>
>
>
>
>
> [syslog at 9 s_sn="3524" s_dc="3469"]: Jun 20 03:35:53.447:
> //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
>
> Received:
>
> BYE sip:14155783865 at 66.124.236.42:5060 SIP/2.0
>
> Via: SIP/2.0/UDP 64.136.174.24:5060;branch=z9hG4bK0b5f68bd;rport
>
> From: <sip:14153551626 at 64.136.174.24>;tag=as400cb154
>
> To: <sip:14155783865 at 64.136.174.24>;tag=57370AC-E02
>
> Call-ID: D098BB3D-3DB011DD-80D9A17D-311DED9C at 66.124.236.42
>
> CSeq: 102 BYE
>
> User-Agent: VoIPStreet
>
> Max-Forwards: 70
>
> Content-Length: 0
>
>
>
>
>
>
>
> [syslog at 9 s_sn="3525" s_dc="3470"]: Jun 20 03:35:53.451:
> //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
>
> Sent:
>
> SIP/2.0 200 OK
>
> Via: SIP/2.0/UDP 64.136.174.24:5060;branch=z9hG4bK0b5f68bd;rport
>
> From: <sip:14153551626 at 64.136.174.24>;tag=as400cb154
>
> To: <sip:14155783865 at 64.136.174.24>;tag=57370AC-E02
>
> Date: Fri, 20 Jun 2008 03:35:53 GMT
>
> Call-ID: D098BB3D-3DB011DD-80D9A17D-311DED9C at 66.124.236.42
>
> Server: Cisco-SIPGateway/IOS-12.x
>
> CSeq: 102 BYE
>
> Reason: Q.850;cause=16
>
> Content-Length: 0
>
>
>
> _______________________________________________
> cisco-voip mailing list
> cisco-voip at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-voip
>
>


More information about the cisco-voip mailing list