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

pre_answer() not send 183 with SDP #2611

Open
embabi-712 opened this issue Sep 29, 2024 · 2 comments
Open

pre_answer() not send 183 with SDP #2611

embabi-712 opened this issue Sep 29, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@embabi-712
Copy link

Describe the bug
i am trying to send early media stream for unallocated numbers before hangup the call but
pre_answer() not send 183 with SDP , it send 183 without sdp and i cannot hear the media on caller side

To Reproduce
Steps to reproduce the behavior:

  1. Using this example configuration...
    !-- Unallocated Number Handling -->
  1. Dial any unallocated number , no rtp played

Expected behavior
183 SDP should be sent , then rtp played

Package version or git hash

  • Version [e.g. 1.10.4]

Trace logs

freeswitch | EXECUTE [depth=0] sofia/internal/[email protected] set(dialed_number=555666)
freeswitch | EXECUTE [depth=0] sofia/internal/[email protected] set(cf_target=)
freeswitch | EXECUTE [depth=0] sofia/internal/[email protected] set(raw_offset=+1200)
freeswitch | EXECUTE [depth=0] sofia/internal/[email protected] set(gmt_offset=GMT+12:00)
freeswitch | EXECUTE [depth=0] sofia/internal/[email protected] set(early_sdp=true)
freeswitch | EXECUTE [depth=0] sofia/internal/[email protected] pre_answer()
freeswitch | 2024-09-29 18:00:53.918999 99.93% [INFO] mod_dptools.c:1476 Sending early media
freeswitch | 2024-09-29 18:00:53.918999 99.93% [NOTICE] mod_sofia.c:2610 Pre-Answer sofia/internal/[email protected]!
freeswitch | 2024-09-29 18:00:53.918999 99.93% [NOTICE] sofia_media.c:90 Pre-Answer sofia/internal/[email protected]!
freeswitch | 2024-09-29 18:00:53.918999 99.93% [ERR] switch_ivr.c:1820 Can't re-establsh media on sofia/internal/[email protected]
freeswitch | EXECUTE [depth=0] sofia/internal/[email protected] playback(/etc/freeswitch/recording_custom/ivr-invalid_number_format_183.wav)
freeswitch | EXECUTE [depth=0] sofia/internal/[email protected] sleep(6000)
freeswitch | EXECUTE [depth=0] sofia/internal/[email protected] hangup(UNALLOCATED_NUMBER)
freeswitch | 2024-09-29 18:01:02.079000 99.93% [NOTICE] mod_dptools.c:1374 Hangup sofia/internal/[email protected] [CS_EXECUTE] [UNALLOCATED_NUMBER]

@embabi-712 embabi-712 added the bug Something isn't working label Sep 29, 2024
@suiyuemanbu
Copy link

because you set CF_PROXY_MODE.

@embabi-712
Copy link
Author

@suiyuemanbu

what CF_PROXY_MODE ? , How can i change ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants