[asterisk-bugs] [JIRA] (ASTERISK-27003) chan_sip doesn't send CONNECTEDLINE info over sip trunk

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Wed May 17 09:08:57 CDT 2017


     [ https://issues.asterisk.org/jira/browse/ASTERISK-27003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard Mudgett updated ASTERISK-27003:
---------------------------------------

    Description: 
I need to translate CONNECTEDLINE info from one asterisk to another and then to ISDN.

Here is how asterisks are connected in my test environment:
{noformat}
asterisk(192.168.22.19)---IP link--ast-lud(192.168.72.254)--ISDN PRI----PBX.
{noformat}

As PBX user I place call to ast-lud to following dial-plan
{noformat}
exten => 5085,1,Dial(SIP/6000 at asterisk)
;exten => 5085,1,Dial(OOH323/6000)
exten => 5085,n,Hangup
{noformat}
asterisk on ast-lud:
{noformat}
[asterisk]
type=friend
host=192.168.22.19             
insecure=port,invite
nat=no                         
canreinvite=yes        
disallow=all
;allow=all             
allow=alaw             
allow=ulaw
;allow=g729
dtmfmode=rfc2833
context=asterisk
trustrpid = yes
sendrpid = yes
{noformat}
on asterisk:
{noformat}
[ast-lud]
type=friend
host=192.168.72.254             
insecure=port,invite
nat=no                          
canreinvite=yes         
disallow=all
;allow=all                    
allow=alaw                      
allow=ulaw
;allow=g729
dtmfmode=rfc2833
context=h323
trustrpid = yes
sendrpid = yes
{noformat}
And then dialplan is:
{noformat}
exten => 6000,1,Set(CHANNEL(language)=ru)
exten => 6000,n,Set(CONNECTEDLINE(name,i)=Conf. 6000)
exten => 6000,n,Set(CONNECTEDLINE(pres)=allowed)
exten => 6000,n,Answer
exten => 6000,n,Meetme(6000,TL(10800000:60000))
exten => 6000,n,Hangup
{noformat}
But, as I can see from debug CONNECTEDLINE info is not even sent by asterisk- 
I'll upload debug logs.

If I use ooh323 to connect asterisks, then I see Conf. 6000 on my phone..

  was:
I need to translate CONNECTEDLINE info from one asterisk to another and then to ISDN.

Here is how asterisks are connected in my test environment:

asterisk(192.168.22.19)---IP link--ast-lud(192.168.72.254)--ISDN PRI----PBX.

As PBX user I place call to ast-lud to following dial-plan

exten => 5085,1,Dial(SIP/6000 at asterisk)
;exten => 5085,1,Dial(OOH323/6000)
exten => 5085,n,Hangup

asterisk on ast-lud:
[asterisk]
type=friend
host=192.168.22.19             
insecure=port,invite
nat=no                         
canreinvite=yes        
disallow=all
;allow=all             
allow=alaw             
allow=ulaw
;allow=g729
dtmfmode=rfc2833
context=asterisk
trustrpid = yes
sendrpid = yes

on asterisk:
[ast-lud]
type=friend
host=192.168.72.254             
insecure=port,invite
nat=no                          
canreinvite=yes         
disallow=all
;allow=all                    
allow=alaw                      
allow=ulaw
;allow=g729
dtmfmode=rfc2833
context=h323
trustrpid = yes
sendrpid = yes

And then dialplan is:
exten => 6000,1,Set(CHANNEL(language)=ru)
exten => 6000,n,Set(CONNECTEDLINE(name,i)=Conf. 6000)
exten => 6000,n,Set(CONNECTEDLINE(pres)=allowed)
exten => 6000,n,Answer
exten => 6000,n,Meetme(6000,TL(10800000:60000))
exten => 6000,n,Hangup

But, as I can see from debug CONNECTEDLINE info is not even sent by asterisk- 
I'll upload debug logs.

If I use ooh323 to connect asterisks, then I see Conf. 6000 on my phone..


> chan_sip doesn't send CONNECTEDLINE info over sip trunk
> -------------------------------------------------------
>
>                 Key: ASTERISK-27003
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27003
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/General
>    Affects Versions: 13.13.1
>         Environment: Centos 6 x86-64
>            Reporter: Dmitry Melekhov
>            Severity: Minor
>         Attachments: myDebugLog-asterisk, myDebugLog-ast-lud
>
>
> I need to translate CONNECTEDLINE info from one asterisk to another and then to ISDN.
> Here is how asterisks are connected in my test environment:
> {noformat}
> asterisk(192.168.22.19)---IP link--ast-lud(192.168.72.254)--ISDN PRI----PBX.
> {noformat}
> As PBX user I place call to ast-lud to following dial-plan
> {noformat}
> exten => 5085,1,Dial(SIP/6000 at asterisk)
> ;exten => 5085,1,Dial(OOH323/6000)
> exten => 5085,n,Hangup
> {noformat}
> asterisk on ast-lud:
> {noformat}
> [asterisk]
> type=friend
> host=192.168.22.19             
> insecure=port,invite
> nat=no                         
> canreinvite=yes        
> disallow=all
> ;allow=all             
> allow=alaw             
> allow=ulaw
> ;allow=g729
> dtmfmode=rfc2833
> context=asterisk
> trustrpid = yes
> sendrpid = yes
> {noformat}
> on asterisk:
> {noformat}
> [ast-lud]
> type=friend
> host=192.168.72.254             
> insecure=port,invite
> nat=no                          
> canreinvite=yes         
> disallow=all
> ;allow=all                    
> allow=alaw                      
> allow=ulaw
> ;allow=g729
> dtmfmode=rfc2833
> context=h323
> trustrpid = yes
> sendrpid = yes
> {noformat}
> And then dialplan is:
> {noformat}
> exten => 6000,1,Set(CHANNEL(language)=ru)
> exten => 6000,n,Set(CONNECTEDLINE(name,i)=Conf. 6000)
> exten => 6000,n,Set(CONNECTEDLINE(pres)=allowed)
> exten => 6000,n,Answer
> exten => 6000,n,Meetme(6000,TL(10800000:60000))
> exten => 6000,n,Hangup
> {noformat}
> But, as I can see from debug CONNECTEDLINE info is not even sent by asterisk- 
> I'll upload debug logs.
> If I use ooh323 to connect asterisks, then I see Conf. 6000 on my phone..



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list