Jain sip registration successful but the client is unreachable in asterisk -


i have issue related jain sip , asterisk. using jain sip registration asterisk , can receive valid response (200 ok) asterisk when register request sent out. problem facing when check sip accounts in asterisk server (version 11) account status unreachable see host , alc port. remains unreachable.

the command using sip show peers

update: register request using jain sip:

register sip:634@10.0.0.***:5060 sip/2.0 call-id: 2a4edd77a04edcf91a183fb5e6390ed4@10.0.7.162 cseq: 1 register from: <sip:634@10.0.0.***:5060>;tag=1536045124 to: <sip:6034@10.0.0.***:5060> via: sip/2.0/udp 10.0.7.***:6060;branch=z9hg4bk-393136-32de53e08f3695b7a99325e95a230fa0 max-forwards: 70 contact: <sip:634@10.0.7.***:6060> content-length: 0 

after authentication receive ok response:

sip/2.0 200 ok via: sip/2.0/udp 10.0.7.***:6060;branch=z9hg4bk-393136-a334443342b349bd19bad069fd993a24;received=10.0.7.***;rport=6060 from: <sip:634@10.0.0.***:5060>;tag=1536045124 to: <sip:634@10.0.0.***:5060>;tag=as30c38f55 call-id: 2a4edd77a04edcf91a183fb5e6390ed4@10.0.7.*** cseq: 3 register server: asterisk pbx 11.14.2 allow: invite,ack,cancel,options,bye,refer,subscribe,notify,info,publish,message supported: replaces,timer expires: 120 contact: <sip:634@10.0.7.***:6060>;expires=120 date: tue, 19 may 2015 14:25:04 gmt content-length: 0 

as list peers in asterisk see sip account registered status unreachable.

634/john.smith       10.0.7.***                               d  yes        yes            6060     unreachable 

at moment using sip ml sip registration server , working fine. here request sipml. believe has same jain sip request.

register request (working) using sipml

register sip:10.0.0.*** sip/2.0 via: sip/2.0/ws df7jal23ls0d.invalid;branch=z9hg4bkaghrtv71dw2wniemlhxupfxn5uut9vwb;rport from: <sip:634@10.0.0.***>;tag=v4etua1iu8gthey5zvdo to: <sip:634@10.0.0.***> contact: "undefined"<sip:634@df7jal23ls0d.invalid;rtcweb-breaker=no;transport=ws>;expires=100;click2call=yes call-id: 7e07cea7-3ee6-ce43-c463-7398e2a01e86 cseq: 49416 register content-length: 0 route: <sip:10.0.0.***:5060;lr;sipml5-outbound;transport=udp> max-forwards: 70 authorization: digest username="634",realm="asterisk",nonce="4c006498",uri="sip:10.0.0.***",response="467b2cc9e1f94b1c24fc5257692a2eb9",algorithm=md5 user-agent: im-client/oma1.0 sipml5-v1.0.0.0 supported: path 

(note: ip addresses hidden asterisks!)

thank you! l


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -