cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
926
Views
0
Helpful
5
Replies

Configure CUCME with halonet.pl via sip

Tomasz Bres
Level 1
Level 1

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:858xxx118@sip.halonet.pl>;tag=A864F3-1EB7

To: <sip:857xxx545@sip.halonet.pl>;tag=1d3390139ec15ca1b76af9d6acd06dfd.235e

Call-ID: 5FF4B400-ED1D11E1-805CB3FB-690B9454@192.168.10.213

CSeq: 102 INVITE

Content-Length: 0

How can I connect line my_user_name with dial-peer?

Is it possible to change

From: <sip:858xxx118@sip.halonet.pl>;

to

From: <sip:my_user_name@sip.halonet.pl>; ?

2 Accepted Solutions

Accepted Solutions

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 "<.>*@sip.halonet.pl>" "<>username@sip.halonet.pl"

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

Please rate all useful posts

View solution in original post

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

Please rate all useful posts

View solution in original post

5 Replies 5

Ayodeji Okanlawon
VIP Alumni
VIP Alumni

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

Please rate all useful posts

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.

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 "<.>*@sip.halonet.pl>" "<>username@sip.halonet.pl"

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

Please rate all useful posts

my IOS does not support

voice class sip-profiles command.

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

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

Please rate all useful posts
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: