×

Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

Configure CUCME with halonet.pl via sip

Answered Question
Aug 24th, 2012
User Badges:

Hello

I'm trying to configure 1760 (12.4(15)T9) to work with VoIP provider halonet.pl.


My configuration:


voice service voip

allow-connections sip to sip


sip-ua

credentials username my_user_name password my_pass realm sip.halonet.pl

authentication username my_user_name password 7 my_pass realm sip.halonet.pl

no remote-party-id

registrar dns:sip.halonet.pl expires 3600

sip-server dns:sip.halonet.pl


dial-peer voice 1 voip

destination-pattern 85.......

session protocol sipv2

session target sip-server

dtmf-relay sip-notify rtp-nte

codec g711ulaw


ephone-dn  1

number 858xxx118



#show sip-ua register status

Line                              peer        expires(sec)  registered

================================  ==========  ============  ==========

858xxx118                 20001       106                   no         

my_user_name                 -1          2513                  yes


In debug i can find:

Received:

SIP/2.0 403 Forbidden auth ID

Via: SIP/2.0/UDP 192.168.10.213:5060;branch=z9hG4bK2C1B87;rport=53444

From: <sip:[email protected]>;tag=A864F3-1EB7

To: <sip:[email protected]>;tag=1d3390139ec15ca1b76af9d6acd06dfd.235e

Call-ID: [email protected]

CSeq: 102 INVITE

Content-Length: 0



How can I connect line my_user_name with dial-peer?

Is it possible to change

From: <sip:[email protected]>;

to

From: <sip:[email protected]>; ?

Correct Answer by Ayodeji Okanlawon about 4 years 11 months ago

No, the only way to do them is via sip profiles...



Please rate all useful posts


"'Nature is too thin a screen, the glory of the omnipresent God bursts through it everywhere"-Ralph Waldo Emerson

Correct Answer by Ayodeji Okanlawon about 4 years 12 months ago

That is going to be tough because I am not sure if the IOS you are running supports sip profiles. This is the only I know you can do this...If it does then here is the config you need



voice class sip-profiles 1

request INVITE sip-header From modify "[email protected]>" "[email protected]"


Then apply the profile at the dial-peer routing calls to your SIP provider


eg..


dial-peer voice 1 voip

voice-class sip profile 1


Please rate all useful posts


"'Nature is too thin a screen, the glory of the omnipresent God bursts through it everywhere"-Ralph Waldo Emerson

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
Ayodeji Okanlawon Fri, 08/24/2012 - 05:57
User Badges:
  • Super Bronze, 10000 points or more
  • Cisco Designated VIP,

    2017 IP Telephony

This is possible but I doubt this is where your issue is. I suggest you speak to your provider and find out what format they want you to present your CLI to them. It is possible that the number you are sending out is not part of the DDI block given to you  in their system


Please rate all useful posts


"'Nature is too thin a screen, the glory of the omnipresent God bursts through it everywhere"-Ralph Waldo Emerson

Tomasz Bres Fri, 08/24/2012 - 06:41
User Badges:

Message form VoIP Provider:

change phone_number to user_name


Service Provider is able to assist with basic VoIP Gateways with GUI. CUCME is to complicated for them.

Correct Answer
Ayodeji Okanlawon Fri, 08/24/2012 - 06:48
User Badges:
  • Super Bronze, 10000 points or more
  • Cisco Designated VIP,

    2017 IP Telephony

That is going to be tough because I am not sure if the IOS you are running supports sip profiles. This is the only I know you can do this...If it does then here is the config you need



voice class sip-profiles 1

request INVITE sip-header From modify "[email protected]>" "[email protected]"


Then apply the profile at the dial-peer routing calls to your SIP provider


eg..


dial-peer voice 1 voip

voice-class sip profile 1


Please rate all useful posts


"'Nature is too thin a screen, the glory of the omnipresent God bursts through it everywhere"-Ralph Waldo Emerson

Tomasz Bres Mon, 08/27/2012 - 05:35
User Badges:

my IOS does not support

voice class sip-profiles command.


Is there any other way to change INVITE sip-header?

Correct Answer
Ayodeji Okanlawon Mon, 08/27/2012 - 05:39
User Badges:
  • Super Bronze, 10000 points or more
  • Cisco Designated VIP,

    2017 IP Telephony

No, the only way to do them is via sip profiles...



Please rate all useful posts


"'Nature is too thin a screen, the glory of the omnipresent God bursts through it everywhere"-Ralph Waldo Emerson

Actions

This Discussion

Related Content