Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add event tag params error like "@" #237

Open
2 tasks done
nikohpng opened this issue Dec 1, 2023 · 0 comments
Open
2 tasks done

Add event tag params error like "@" #237

nikohpng opened this issue Dec 1, 2023 · 0 comments

Comments

@nikohpng
Copy link

nikohpng commented Dec 1, 2023

Description

I have some problem when i support params in event tag. like this

event_id: dialog; [email protected]; from-tag=700b4f90be1402a360bbbd9e-1f29b3c1

I have test it, when I remove "@“,everything is ok.
Any one can give me some suggestion.

Log

2023-12-01 10:08:51.443468 92.53% [ERR] sofia_glue.c:3185 req_uri: sip:[email protected]:16500;transport=udp
2023-12-01 10:08:51.443468 92.53% [ERR] sofia_glue.c:3186 from_id: <sip:[email protected]:16520>
2023-12-01 10:08:51.443468 92.53% [ERR] sofia_glue.c:3187 to_id: <sip:[email protected]:16500>
tport.c:3286 tport_tsend() tport_tsend(0x7f41d0004500) tpn = UDP/192.168.1.66:16500
2023-12-01 10:08:51.443468 92.53% [ERR] sofia_glue.c:3188 contact_str: sip:[email protected]:16520;transport=udp
2023-12-01 10:08:51.443468 92.53% [ERR] sofia_glue.c:3189 user_via: SIP/2.0/udp 192.168.1.66:16520;rport
tport.c:4075 tport_resolve() tport_resolve addrinfo = 192.168.1.66:16500
2023-12-01 10:08:51.443468 92.53% [ERR] sofia_glue.c:3190 route_uri: sip:192.168.1.66:16500
tport.c:4709 tport_by_addrinfo() tport_by_addrinfo(0x7f41d0004500): not found by name UDP/192.168.1.66:16500
2023-12-01 10:08:51.443468 92.53% [ERR] sofia_glue.c:3191 event_id: kpml; [email protected]; from-tag=700b4f90be1402a360bbbd9e-1f29b3c1
nua_common.c:108 nh_create_handle() nua: nh_create_handle: entering
nua.c:341 nua_handle_bind() nua: nua_handle_bind: entering
nua.c:703 nua_subscribe() nua: nua_subscribe: entering
nua_stack.c:559 nua_signal() nua(0x7f41b0005f50): sent signal r_subscribe
tport.c:3623 tport_vsend() tport_vsend(0x7f41d0004500): 334 bytes of 334 to udp/192.168.1.66:16500
tport.c:3521 tport_send_msg() tport_vsend returned 334
2023-12-01 10:08:51.443468 92.53% [DEBUG] mod_sofia.c:169 (sofia/csbc/[email protected]) State Change CS_ROUTING -> CS_PARK
2023-12-01 10:08:51.443468 92.53% [DEBUG] mod_sofia.c:179 sofia/csbc/[email protected] SOFIA ROUTING
send 334 bytes to udp/[192.168.1.66]:16500 at 10:08:51.448855:
------------------------------------------------------------------------
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.1.66:16500;branch=z9hG4bKf46b.97354c3.0
From: "1014" <sip:[email protected]>;tag=700b4f90be1402a360bbbd9e-1f29b3c1
To: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 101 INVITE
User-Agent: PBX
Content-Length: 0

2023-12-01 10:08:51.443468 92.53% [DEBUG] switch_core_state_machine.c:640 (sofia/csbc/[email protected]) State ROUTING going to sleep
nta.c:6868 incoming_reply() nta: sent 100 Trying for INVITE (101)
2023-12-01 10:08:51.443468 92.53% [DEBUG] switch_core_state_machine.c:581 (sofia/csbc/[email protected]) Running State Change CS_PARK (Cur 1 Tot 1)
nua_stack.c:599 nua_stack_signal() nua(0x7f41b0005f50): recv signal r_subscribe
nua_params.c:484 nua_stack_set_params() nua: nua_stack_set_params: entering
soa.c:280 soa_clone() soa_clone(static::0x7f41d0001930, 0x7f41d0001130, 0x7f41b0005f50) called
soa.c:403 soa_set_params() soa_set_params(static::0x7f41d00307a0, ...) called
soa.c:403 soa_set_params() soa_set_params(static::0x7f41d00307a0, ...) called
2023-12-01 10:08:51.443468 92.53% [DEBUG] switch_core_state_machine.c:656 (sofia/csbc/[email protected]) State PARK
2023-12-01 10:08:51.443468 92.53% [DEBUG] switch_core_state_machine.c:403 sofia/csbc/[email protected] Standard PARK
nua_stack.c:301 nua_stack_event() nua(0x7f41b0005f50): event r_subscribe 900 Internal error at nua_client.c:552
nua_stack.c:389 nua_application_event() nua: nua_application_event: entering
nua.c:1164 nua_handle_unref_user() nua nua_handle_unref_user(0x7f41b0005f50): entering
nua.c:365 nua_handle_magic() nua: nua_handle_magic: entering
nua.c:365 nua_handle_magic() nua: nua_handle_magic: entering
nua_stack.c:559 nua_signal() nua(0x7f41b0005f50): sent signal r_handle_unref
nua.c:1157 nua_unref_user() nua: nua_unref_user: entering
nua.c:1164 nua_handle_unref_user() nua nua_handle_unref_user(0x7f41b0005f50): entering
nua_stack.c:599 nua_stack_signal() nua(0x7f41b0005f50): recv signal r_handle_unref
nua_stack.c:559 nua_signal() nua(0x7f41b0005f50): sent signal r_handle_unref
nua_stack.c:559 nua_signal() nua((nil)): sent signal r_unref
nua.c:1157 nua_unref_user() nua: nua_unref_user: entering
nua_stack.c:599 nua_stack_signal() nua((nil)): recv signal r_unref
nua_stack.c:599 nua_stack_signal() nua(0x7f41b0005f50): recv signal r_handle_unref
nua_stack.c:599 nua_stack_signal() nua((nil)): recv signal r_unref
nua_stack.c:559 nua_signal() nua((nil)): sent signal r_unref
nta.c:1308 agent_timer() nta: timer set next to 19987 ms
tport.c:2770 tport_wakeup_pri() tport_wakeup_pri(0x7f41d0004500): events IN
tport.c:2893 tport_recv_event() tport_recv_event(0x7f41d0004500)
tport.c:3234 tport_recv_iovec() tport_recv_iovec(0x7f41d0004500) msg 0x7f41d0030c30 from (udp/192.168.1.66:16520) has 473 bytes, veclen = 1
recv 473 bytes from udp/[192.168.1.66]:16500 at 10:08:56.214369:

Env

  • sofia-sip-1.13.7
  • freeswitch-1.10.7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant