08-24-2012 05:35 AM - edited 03-16-2019 12:51 PM
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>; ?
Solved! Go to Solution.
08-24-2012 06:48 AM
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
08-27-2012 05:39 AM
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
08-24-2012 05:57 AM
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
08-24-2012 06:41 AM
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.
08-24-2012 06:48 AM
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
08-27-2012 05:35 AM
my IOS does not support
voice class sip-profiles command.
Is there any other way to change INVITE sip-header?
08-27-2012 05:39 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide