Whenever I try to make a call from MicroSIP to Zoiper, the server automatically disconnects. I am testing this on my local PC, and my configurations are as follows.
[tcp_transport]
type=transport ; Must be of type ‘transport’
protocol=tcp
bind=0.0.0.0
tos=cs3
cos=3
allow_reload=false
[udp_transport]
type=transport ; Must be of type ‘transport’
protocol=udp
bind=0.0.0.0
tos=cs3
cos=3
allow_reload=false
[Feb 19 10:39:31] NOTICE[4141]: res_pjsip_session.c:4030 new_invite: 168: Call (TCP:192.168.18.225:51921) to extension ‘607’ rejected because extension not found in context ‘internal’.
when i make call from 608 from my device to another it provide me this error
i update the dialplan look like this
[external]
exten => 167,1,Dial(PJSIP/167)
[internal]
exten => 168,2,Dial(PJSIP/168)
[tcp_transport]
type=transport ; Must be of type ‘transport’
protocol=tcp
bind=0.0.0.0
tos=cs3
cos=3
allow_reload=false
[udp_transport]
type=transport ; Must be of type ‘transport’
protocol=udp
bind=0.0.0.0
tos=cs3
cos=3
allow_reload=false
Thank you, the problem has been solved, but I want to ask one more thing. I’m making a call with the same IP address. If I want to make a call from one IP address to another, how is it possible?
[tcp_transport]
type=transport ; Must be of type ‘transport’
protocol=tcp
bind=0.0.0.0
tos=cs3
cos=3
allow_reload=false
[udp_transport]
type=transport ; Must be of type ‘transport’
protocol=udp
bind=0.0.0.0
tos=cs3
cos=3
allow_reload=false
I want to make the IP address dynamic, so that a call can be made from one extension to another, regardless of the IP address. For example, if extension 1 is connected to an IP address, suppose 123.456.51, and the second extension is connected to another IP address, suppose 145.543.68, I want to be able to make a call between them. Currently, the call is only possible if both extensions have the same IP address. How can this be made possible?