Please, find the two requested files.  BTW..Looking at the sipxbridge, I found 
stun server configuration, but the itsp doesn't use stun server.

Thanks again for your help.



----- Original Message ----
From: M. Ranganathan <[email protected]>
To: roman gelfand <[email protected]>
Cc: [email protected]
Sent: Monday, May 25, 2009 10:43:41 PM
Subject: Re: [sipx-users] Unable to register with ITSP

On Mon, May 25, 2009 at 8:47 PM, roman gelfand <[email protected]> wrote:
>
> I am not able to register with itsp from sipxbridge.  However, I am able to 
> register with x-lite softphone.  Both clients are behind cisco pix 501 
> firewall.
>
> I am not sure if it means anything, but it appears that,
> 1.  itsp's authorization proxy server listens on port 5080.
> 2. sipx's registration is not sending authentication info.
>
> I ran wireshark on both sessions.  Below are the results.


Hello!

You need an ITSP account defined with domain callcentric.com. You will
need to define your user name and password in it. When the 407 is
received, sipxbridge should be re-attempting to REGISTER and providing
the credentials in a Proxy-Authorization header. Clearly this is not
happening so something seems amiss. Set sipxbridge log level to DEBUG,
try to REGISTER and send me /var/log/sipxpbx/sipxbridge.log AND
/etc/sipxpbx/sipxbridge.xml  (with passwords removed).

If the ITSP Registrar is listening at a port other than 5060, then go
to the advanced section of the ITSP configuration and set up your ITSP
Registrar address there.  You appear to have configured this
correctly.


Ranga



>
> sipx registration attept
> ---------------------------------
>
> REGISTER sip:callcentric.com SIP/2.0
> Call-ID: [email protected]
> CSeq: 1 REGISTER
> From: <sip:[email protected]>;tag=6953473535577566697
> To: <sip:[email protected]>
> Via: SIP/2.0/UDP 
> XX.XX.XXX.254:5080;branch=z9hG4bK966d5efb6c46d8dd14f065e42291390c
> Max-Forwards: 70
> User-Agent: sipXecs/4.0.0 sipXecs/sipxbridge (Linux)
> Allow: INVITE,BYE,ACK,CANCEL,OPTIONS,PRACK
> Supported: 100rel
> Contact: <sip:[email protected]:5080;transport=udp>
> Expires: 600
> Content-Length: 0
>
> SIP/2.0 407 Proxy Authentication Required
> v: SIP/2.0/UDP 
> XX.XX.XXX.254:5080;branch=z9hG4bK966d5efb6c46d8dd14f065e42291390c
> f: <sip:[email protected]>;tag=6953473535577566697
> t: <sip:[email protected]>
> i: [email protected]
> CSeq: 1 REGISTER
> Proxy-Authenticate: Digest realm="callcentric.com", 
> domain="sip:callcentric.com", nonce="fa82a1f6af7ebda3a8f7fd6df1263e02", 
> opaque="", stale=TRUE, algorithm=MD5
> l: 0
>
>
> x-lite registration attempt
> ------------------------------------
>
>
> REGISTER sip:callcentric.com SIP/2.0
> Via: SIP/2.0/UDP 
> 192.168.7.101:38242;branch=z9hG4bK-d8754z-ab1aaa3d29543f47-1---d8754z-;rport
> Max-Forwards: 70
> Contact: <sip:[email protected]:19951;rinstance=80dfac3e578af6c3>
> To: "1777XXXXXXX"<sip:[email protected]>
> From: "1777XXXXXXX"<sip:[email protected]>;tag=81486e2d
> Call-ID: MjE3ZWVkODcyNzRiZDNmYTgwMDMxNWJjZjBiZTczNTY.
> CSeq: 4 REGISTER
> Expires: 3600
> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, 
> INFO
> Proxy-Authorization: Digest 
> username="1777XXXXXXX",realm="callcentric.com",nonce="2e42801acd5e359980a7422b8da74f56",uri="sip:callcentric.com",response="ce0644d6327016d9477013570dae940f",algorithm=MD5,opaque=""
> User-Agent: X-Lite release 1103d stamp 53117
> Content-Length: 0
>
> SIP/2.0 200 Ok
> v: SIP/2.0/UDP 
> 192.168.7.101:38242;branch=z9hG4bK-d8754z-ab1aaa3d29543f47-1---d8754z-;rport=19951;received=XX.XX.XXX.254
> f: "1777XXXXXXX" <sip:[email protected]>;tag=81486e2d
> t: "1777XXXXXXX" <sip:[email protected]>
> i: MjE3ZWVkODcyNzRiZDNmYTgwMDMxNWJjZjBiZTczNTY.
> CSeq: 4 REGISTER
> m: <sip:[email protected]:19951;rinstance=80dfac3e578af6c3>;expires=62
> l: 0
> _______________________________________________
> sipx-users mailing list
> [email protected]
> List Archive: http://list.sipfoundry.org/archive/sipx-users
> Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-users
>



-- 
M. Ranganathan

Attachment: sipxbridge.log
Description: Binary data

<?xml version="1.0" ?>
<sipxbridge-config xmlns="http://www.sipfoundry.org/sipX/schema/xml/sipxbridge-00-00";>

  <bridge-configuration>
    <global-address>XX.XX.XXX.254</global-address>
    <external-address>192.168.3.76</external-address>
    <external-port>5080</external-port>
    <local-address>192.168.3.76</local-address>
    <local-port>5090</local-port>
    <sipx-proxy-domain>masmidcomm.com</sipx-proxy-domain>
    <sipx-supervisor-host>sip.masmidcomm.com</sipx-supervisor-host>
    <sipx-supervisor-xml-rpc-port>8092</sipx-supervisor-xml-rpc-port>
    <stun-server-address>stun01.sipphone.com</stun-server-address>
    <sip-keepalive-seconds>20</sip-keepalive-seconds>
    <sip-session-timer-interval-seconds>1800</sip-session-timer-interval-seconds>
    <media-keepalive-seconds>1</media-keepalive-seconds>
    <xml-rpc-port>8088</xml-rpc-port>
    <music-on-hold-support-enabled>false</music-on-hold-support-enabled>
    <music-on-hold-address>~~mh~</music-on-hold-address>
    <music-on-hold-delay-miliseconds>500</music-on-hold-delay-miliseconds>
    <music-on-hold-supported-codecs>PCMU,PCMA</music-on-hold-supported-codecs>
    <route-inbound-calls-to-extension>dunya</route-inbound-calls-to-extension>
    <log-level>DEBUG</log-level>
    <log-directory>/var/log/sipxpbx/</log-directory>
    <location-id>1</location-id>
  </bridge-configuration>

  <itsp-account>
    <itsp-proxy-domain>callcentric.com</itsp-proxy-domain>
    <user-name>1777XXXXXXX</user-name>
    <password>******</password>
    <itsp-proxy-address>callcentric.com</itsp-proxy-address>
    <itsp-proxy-listening-port>0</itsp-proxy-listening-port>
    <itsp-transport>UDP</itsp-transport>
    <use-global-addressing>true</use-global-addressing>
    <strip-private-headers>false</strip-private-headers>
    <default-asserted-identity>true</default-asserted-identity>
    <register-on-initialization>true</register-on-initialization>
    <registration-interval>600</registration-interval>
    <sip-keepalive-method>CR-LF</sip-keepalive-method>
    <rtp-keepalive-method>NONE</rtp-keepalive-method>
  </itsp-account>

</sipxbridge-config>
_______________________________________________
sipx-users mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-users
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-users

Reply via email to