magnussolution / magnusbilling7

MagnusBilling is a fast, secure, efficient, high availability, VOIP Billing.
https://www.magnusbilling.org
GNU Lesser General Public License v3.0
174 stars 106 forks source link

Did number extension s #546

Open xceedconnections opened 2 years ago

xceedconnections commented 2 years ago

hello I configured did in magnus, everything is working fine, i am gettings calls on softphone,

But when i register magnus sip user to vicidial, vicidial shows registered in cli, but not getting calls

Getting erroR

handle_request_invite: Call from '18884207999' to extension 's' rejected because extension not found.

Can someone please resolve this issue,, extension S error

Thanks.

xceedconnections commented 2 years ago

I haved check, we can receive calls on eyebeam xlite, But whej we put sip details to vicidial or elastix, It doesnt work, cli says extension 's' rejected because extension not found

notyourthing commented 2 years ago

Please check if you are using valid context in carrier settings. the context should be context=trunkinbound if not it could lead to default context on which inbound calls wouldn't work.

xceedconnections commented 2 years ago

Magnus billing sip context is billing

Vicidial carrier trunk has context mentioned as trunkinbound.

Call is hitting magnus billing from did provider, Also i am able to recive calls on eyebeam if i register magnus sip directly

But when i register same sip in vicidial it comes as an error mentioned above

On Sun, 17 Oct 2021, 3:23 am Not Your Thing (NYT), @.***> wrote:

Please check if you are using valid context in carrier settings. the context should be context=trunkinbound if not it could lead to default context on which inbound calls wouldn't work.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/magnussolution/magnusbilling7/issues/546#issuecomment-945015188, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASQGQTWMEIIHC5B3GSAEDD3UHH3ONANCNFSM5GC7MH6A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

xceedconnections commented 2 years ago

Here is the vicidial carrier and its registered.

[xceed] disallow=all allow=ulaw allow=G729 allow=alaw type=friend context=trunkinbound dtmfmode=rfc2833 qualify=yes insecure=port,invite nat=yes host=Serveripmemtionedhere port=5060

On Sun, 17 Oct 2021, 3:30 am Xceed Connections, @.***> wrote:

Magnus billing sip context is billing

Vicidial carrier trunk has context mentioned as trunkinbound.

Call is hitting magnus billing from did provider, Also i am able to recive calls on eyebeam if i register magnus sip directly

But when i register same sip in vicidial it comes as an error mentioned above

On Sun, 17 Oct 2021, 3:23 am Not Your Thing (NYT), < @.***> wrote:

Please check if you are using valid context in carrier settings. the context should be context=trunkinbound if not it could lead to default context on which inbound calls wouldn't work.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/magnussolution/magnusbilling7/issues/546#issuecomment-945015188, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASQGQTWMEIIHC5B3GSAEDD3UHH3ONANCNFSM5GC7MH6A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

notyourthing commented 2 years ago

Hi Just tried it worked for me. My config for ViciDial is as below.

disallow=all allow=ulaw host=IP_HERE context=trunkinbound type=friend qualify=1000 dtmfmode=rfc2833 canreinvite=no port=5060

I'm not using any registration string as I'm forward call to IP directly

xceedconnections commented 2 years ago

I haved tried this, Still same

On Sun, 17 Oct 2021, 4:09 am Xceed Connections, @.***> wrote:

okay ill try this in my vicidial

On Sun, 17 Oct 2021, 3:39 am Not Your Thing (NYT), < @.***> wrote:

Hi Just tried it worked for me. My config for ViciDial is as below.

disallow=all allow=ulaw host=IP_HERE context=trunkinbound type=friend qualify=1000 dtmfmode=rfc2833 canreinvite=no port=5060

I'm not using any registration string as I'm forward call to IP directly

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/magnussolution/magnusbilling7/issues/546#issuecomment-945016590, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASQGQTXWEMU35U6VQADW7WLUHH5KJANCNFSM5GC7MH6A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

xceedconnections commented 2 years ago

Sharing some pictures and errors i am getting on magnus and vicidial while trying to receive calls from did

MAGNUS CLI ERROR REPORT

== Using SIP RTP CoS mark 5

0x7fafc804cc50 -- Strict RTP learning after remote address set to: 64.185.231.146:40372 -- Executing [14697807030@billing:1] AGI("SIP/TICAST-00000024", ""/var/www/html/mbilling/resources/asterisk/mbilling.php"") in new stack -- Launched AGI Script /var/www/html/mbilling/resources/asterisk/mbilling.php "/var/www/html/mbilling/resources/asterisk/mbilling.php": Is a DID call "/var/www/html/mbilling/resources/asterisk/mbilling.php": Not found prefix to DID 14697807030 "/var/www/html/mbilling/resources/asterisk/mbilling.php": DID 14697807030 "/var/www/html/mbilling/resources/asterisk/mbilling.php": try blocked "/var/www/html/mbilling/resources/asterisk/mbilling.php": voip_call 1 "/var/www/html/mbilling/resources/asterisk/mbilling.php": Mode = did "/var/www/html/mbilling/resources/asterisk/mbilling.php": DID call friend: IS LOCAL !!! "/var/www/html/mbilling/resources/asterisk/mbilling.php": Call to user xceed -- AGI Script Executing Application: (DIAL) Options: (SIP/xceed,60,TtiL(3600000:61000:30000)) Limit Data for this call: timelimit = 3600000 ms (3600.000 s) play_warning = 61000 ms (61.000 s) play_to_caller = yes play_to_callee = no warning_freq = 30000 ms (30.000 s) start_sound = warning_sound = timeleft end_sound = == Using SIP RTP CoS mark 5 -- Called SIP/xceed == Everyone is busy/congested at this time (1:0/0/1) "/var/www/html/mbilling/resources/asterisk/mbilling.php": Friend -> followme=1 : ANSWEREDTIME=-DIALSTATUS=CHANUNAVAIL -- <SIP/TICAST-00000024>AGI Script /var/www/html/mbilling/resources/asterisk/mbilling.php completed, returning 0 -- Executing [14697807030@billing:2] Hangup("SIP/TICAST-00000024", "") in new stack == Spawn extension (billing, 14697807030, 2) exited non-zero on 'SIP/TICAST-00000024' -- Executing [h@billing:1] Hangup("SIP/TICAST-00000024", "") in new stack == Spawn extension (billing, h, 1) exited non-zero on 'SIP/TICAST-00000024' did*CLI>

VICIDIAL CLI ERROR

[Oct 18 15:00:15] == Using SIP RTP CoS mark 5 [Oct 18 15:00:15] > 0x7f48dc0cb3c0 -- Strict RTP learning after remote address set to: 65.108.93.24:10902 [Oct 18 15:00:15] NOTICE[2782][C-000001f0]: chan_sip.c:26515 handle_request_invite: Call from 'xceed' (65.108.93.24:5060) to extension 's' rejected because extension not found in context 'trunkinbound'.