Hey guys , need some help here
I have an indoor station => IP 192.168.0.71
I have an proxy configured to register on indoor station (opensips PBX) with ip 192.168.0.17 port 5060
I have an asteriks with inboud trunk on same host that register on that PBX ip 192.168.0.17 port 5050
i have a softphone client where i receive the call 0.168
SO on incoming call flow go grom 0.71 => 0.17:5060 => to inbound trunk on asteriks running on 0.17:5050
all is working fine…
except the decline or hangup doesnt work, any idea what i can do?
here you see the flow on hangup
The BYE is ok from softphone to asterisk:
Then BYE is ok from asteriks to opensips, but nothing happens, no hangup is done, the call is still open
Same flow for decline, but here i see a 503 service not avaible from asterisk to opensips
what could be wrong? dont think its an issue with opensips
If i leave out asterisk , and register my softphone as a trunk for inbound from opensips, then i can do decline and hangup … if i move asteriks between , then i have the issue…
trunk setup:
[mytrunk]
type=registration
outbound_auth=mytrunk
server_uri=sip:192.168.0.17
client_uri=sip:10000000005@192.168.0.17
retry_interval=30
[mytrunk]
type=auth
auth_type=userpass
password=XXX
username=10000000005
[mytrunk]
type=aor
contact=sip:192.168.0.17:5060
;qualify_frequency=300
[mytrunk]
type=endpoint
context=default
disallow=all
allow=ulaw,alaw
allow=h264
outbound_auth=mytrunk
aors=mytrunk
[mytrunk]
type=identify
endpoint=mytrunk
match=192.168.0.17
and a verry easy dialplan to test:
exten => s,1,Set(DIALGROUP(mygroup,add)=PJSIP/6001)
exten => s,n,Dial(${DIALGROUP(mygroup)},60)